function openDiv(el,num){
var i;
for (i=1;i<num;i++){
 el1='div'+i;el1=eval(el1);
 if (i==el && el1.style.display=='none'){
 el1.style.display='block';
 }
 else {el1.style.display='none';}
}
}

function openSrch(sr,nm){
var x;
for (x=1;x<nm;x++){
 sr1='srch'+x;sr1=eval(sr1);
 if (x==sr && sr1.style.display=='none'){
 sr1.style.display='block';
 }
 else {sr1.style.display='none';}
}
}

function openWin(ref){var dt = window.open(ref,'BAG',"toolbar=no,scrollbars=no,menubar=no,width=250,height=110");}

function win(file,win,width,height)
{window.open(file,win,'width='+width+',height='+height+',top=0,left=0,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no'); }
