function movedivs(){
var x=document.body.clientWidth;
var y=document.body.clientHeight;
var y2=document.all["cnttbl"].clientHeight;
var y3=document.all["cnttbl"].clientTop;
var y4=document.body.scrollHeight;
var hdc=(document.all["cnttbl"].clientHeight+document.all["bttb2"].clientHeight);
var docch=document.all["tptbl"].clientHeight;
var cntch=document.all["cnttbl"].clientHeight;
var doccw=document.all["tptbl"].clientWidth;
var cntcw=document.all["cnttbl"].clientWidth;
var bttch=document.all["bttbl"].clientHeight;
if(screen.availWidth<1200){
if((ld_corr==0) && (screen.width==1152)){ld_corr=-36;}
if(docch>hdc){
document.all["iDivLeft"].style.left=(((doccw-cntcw)/2)-122)+ld_corr;
document.all["iDivLeft"].style.top=((docch-hdc)/2)+(cntch-176);
document.all["iDivLeft"].style.height=bttch+177+((docch-hdc)/2);
document.all["iDivRight"].style.left=((doccw-cntcw)+785-((doccw-cntcw)/2));
document.all["iDivRight"].style.top=((docch-hdc)/2)-151;
document.all["iDivRight"].style.width=(doccw-785)-((doccw-cntcw)/2);
}else{
document.all["iDivLeft"].style.left=(((doccw-cntcw)/2)-122)+ld_corr;
document.all["iDivLeft"].style.top=((docch-hdc)/2)+(cntch-176);
document.all["iDivLeft"].style.height=bttch+177+((docch-hdc)/2);
document.all["iDivRight"].style.left=((doccw-cntcw)+785-((doccw-cntcw)/2));
document.all["iDivRight"].style.top=((docch-hdc)/2)-150;
document.all["iDivRight"].style.width=(doccw-785)-((doccw-cntcw)/2);
}
}else{

document.all["tttbl"].style.height="75px";
document.all["tttbl"].style.background="#FFF";show("tttbl");
if((ld_corr==0) && (screen.width==1152)){ld_corr=-32;}
document.all["iDivLeft"].style.left=((((doccw-cntcw)/2)-122)+ld_corr);
document.all["iDivLeft"].style.top=((docch-hdc)/2)+(cntch-176)+75;/*134*/
document.all["iDivRight"].style.left=((doccw-cntcw)+785-((doccw-cntcw)/2));
document.all["iDivRight"].style.top=((docch-hdc)/2)-151+75;
document.all["iDivRight"].style.width=(doccw-785)-((doccw-cntcw)/2);
}
//if(screen.width==1152){window.alert("Doccw: "+doccw+" CntCw: "+cntcw+" Div.left: "+document.all["iDivLeft"].style.left);
/*end_func*/
/*defaultStatus="LD.left:"+document.all["iDivLeft"].style.left+" top:"+document.all["iDivLeft"].style.top+" | RD.left:"+document.all["iDivRight"].style.left+" top:"+document.all["iDivRight"].style.top+" | .sys doc.W:"+doccw+" cnt.W:"+cntcw+" doc.H:"+docch+" cnt.H:"+cntch+" btbl.H:"+bttch+" hdc:"+hdc;*/
/*document.all["tttbl"].style.display="block";*/
show("iDivLeft");show("iDivRight");
}
function show(el){document.all[el].style.display="block";}
function hide(el){document.all[el].style.display="none";}
function showhide(el){if(document.all[el].style.display=="block"){hide(el)}else{show(el);}}
function hideOther(el,el2){var ac=document.getElementsByName('brndall');/*getElementsByName*/
window.alert(ac);for(var i=0; i<ac.length; i++){ac(i).style.display="none";}show(el);}
function naveclr(es,el){
if(document.all[es].style.display=="block"){hide(es);document.all[el].style.fontWeight="bold";
document.all[el].style.color="#af0000";}else{show(es);
document.all[el].style.fontWeight="normal";document.all[el].style.color="black";}}
function hidedivs(){hide("iDivLeft");hide("iDivRight");}
function manager(el){window.open("/?m=managers&id="+el,"photo","left=10,top=10,width=200,height=50,scrollbars=0,toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=0");}
