function wrx_zoom(WHCH,SRC,WID,HEI,LFT){ if(document.body.clientHeight && document.body.clientHeight>0){ ScrolledTo=document.body.scrollTop BodyHeight=document.body.clientHeight BodyWidth=document.body.clientWidth } if(document.documentElement.clientHeight && document.documentElement.clientHeight>0){ ScrolledTo=document.documentElement.scrollTop BodyHeight=document.documentElement.clientHeight BodyWidth=document.documentElement.clientWidth } if(WHCH=="IMG"){WHCH="wrx_img"} wrx_unvis(); document.getElementById(WHCH).style.top=((BodyHeight-HEI)/2)+ScrolledTo+"px" if(LFT==0 || LFT==undefined){LFT=BodyWidth} document.getElementById(WHCH).style.left=(LFT-WID)/2+"px"; document.getElementById(WHCH).style.width=WID+"px" if(HEI>0){document.getElementById(WHCH).style.height=HEI+"px"} document.getElementById(WHCH).src=SRC document.getElementById(WHCH).style.border="1px solid black" document.getElementById(WHCH).style.display=""; } active_wrx_note="" function wrx_note(nt,LFT){ if(document.body.clientHeight && document.body.clientHeight>0){ ScrolledTo=document.body.scrollTop BodyHeight=document.body.clientHeight BodyWidth=document.body.clientWidth } if(document.documentElement.clientHeight && document.documentElement.clientHeight>0){ ScrolledTo=document.documentElement.scrollTop BodyHeight=document.documentElement.clientHeight BodyWidth=document.documentElement.clientWidth } if(LFT==0 || LFT==undefined){LFT=BodyWidth} if(document.getElementById(nt).style.display==""){ document.getElementById(nt).style.display="none" wrx_revis() }else{ if(active_wrx_note != ""){document.getElementById(active_wrx_note).style.display="none"} wrx_unvis() document.getElementById(nt).style.position="absolute" document.getElementById(nt).style.left=(LFT-parseInt(document.getElementById(nt).style.width))/2 document.getElementById(nt).style.top=((BodyHeight-parseInt(document.getElementById(nt).style.height))/2)+ScrolledTo document.getElementById(nt).style.display="" active_wrx_note=nt } } function wrx_unvis(){ var sels = document.getElementsByTagName("select"); for(var i=0;i < sels.length;++i) { sels[i].style.visibility="hidden"; } } function wrx_revis(){ var sels = document.getElementsByTagName("select"); for(var i=0;i < sels.length;++i) { sels[i].style.visibility="visible"; } document.getElementById("wrx_img").src="http://www.macsbait.com/editwrx/ikons/spacer.gif" } wrx_zoom_js=1;