function popup(f,d,a,e){var c="width="+d+",height="+a+",toolbar=no,location=no,status=no,menubar=no,scrollbars="+e+",resizable=yes,top="+(screen.height-a)/2+",left="+(screen.width-d)/2;var b=window.open(f,"window",c);b.focus()}function showObj(a){if(document.getElementById&&document.getElementById(a)){document.getElementById(a).style.visibility="visible"}}function hideObj(a){if(document.getElementById&&document.getElementById(a)){document.getElementById(a).style.visibility="hidden"}}var curDivId=0;function displayDetail(a,b){hideObj("mainmenu");hideObj("bgLrgbox");hideObj("sectitle");hideObj("sectitle");showObj("detailImage");showObj("detailImageCap"+a);curDivId=a;var c=document.getElementById("sectitle");c.style.display="none";document.detailImg.src=b}function hideDetail(){hideObj("detailImage");hideObj("detailImageCap"+curDivId);showObj("mainmenu");showObj("bgLrgbox");showObj("sectitle");var a=document.getElementById("sectitle");a.style.display="block";document.detailImg.src=""};