if(typeof olInfo=="undefined"||typeof olInfo.meets=="undefined"||!olInfo.meets(4.1))alert("overLIB 4.10 or later is required for the HideForm Plugin.");else{function generatePopUp(a){if(!olIe4||olOp||!olIe55||typeof o3_shadow!="undefined"&&o3_shadow||typeof o3_bubble!="undefined"&&o3_bubble)return;var b,c,d,e=0;b=parseInt(o3_width);c=over.offsetHeight;d=backDropSource(b,c,e++);d+='<div style="position: absolute; top: 0; left: 0; width: '+b+"px; z-index: "+e+';">'+a+"</div>";layerWrite(d)}function backDropSource(a,b,c){return'<iframe frameborder="0" scrolling="no" src="javascript:false;" width="'+a+'" height="'+b+'" style="z-index: '+c+'; filter:alpha(opacity=0,style=0);"></iframe>'}function hideSelectBox(){if(olNs4||olOp||olIe55)return;var a,b,c,d,e,f,g,h,i,j;if(olIe4)j=0;else{j=navigator.userAgent.match(/Gecko\/(\d{8})/i);if(!j)return;j=parseInt(j[1])}if(j<20030624){a=parseInt(over.style.left);b=parseInt(over.style.top);c=o3_width;d=o3_aboveheight?parseInt(o3_aboveheight):over.offsetHeight;i=olIe4?o3_frame.document.all.tags("SELECT"):o3_frame.document.getElementsByTagName("SELECT");for(var k=0;k<i.length;k++){if(!olIe4&&i[k].size<2)continue;e=pageLocation(i[k],"Left");g=pageLocation(i[k],"Top");f=i[k].offsetWidth;h=i[k].offsetHeight;if(a+c<e||a>e+f||b+d<g||b>g+h)continue;i[k].isHidden=1;i[k].style.visibility="hidden"}}}function showSelectBox(){if(olNs4||olOp||olIe55)return;var a,b;if(olIe4)b=0;else{b=navigator.userAgent.match(/Gecko\/(\d{8})/i);if(!b)return;b=parseInt(b[1])}if(b<20030624){a=olIe4?o3_frame.document.all.tags("SELECT"):o3_frame.document.getElementsByTagName("SELECT");for(var c=0;c<a.length;c++){if(typeof a[c].isHidden!="undefined"&&a[c].isHidden){a[c].isHidden=0;a[c].style.visibility="visible"}}}}function pageLocation(a,b){var c=0;while(a.offsetParent){c+=a["offset"+b];a=a.offsetParent}c+=a["offset"+b];return c}if(!(olNs4||olOp||olIe55||navigator.userAgent.indexOf("Netscape6")!=-1)){var MMStr=olMouseMove.toString();var strRe=/(if\s*\(o3_allowmove\s*==\s*1.*\)\s*)/;var f=MMStr.match(strRe);if(f){var ls=MMStr.search(strRe);ls+=f[1].length;var le=MMStr.substring(ls).search(/[;|}]\n/);MMStr=MMStr.substring(0,ls)+' { runHook("placeLayer",FREPLACE); if(olHideForm) hideSelectBox(); '+MMStr.substring(ls+(le!=-1?le+3:0));document.writeln('<script type="text/javascript">\n<!--\n'+MMStr+"\n//-->\n</"+"script>")}f=capExtent.onmousemove.toString().match(/function[ ]+(\w*)\(/);if(f&&f[1]!="anonymous")capExtent.onmousemove=olMouseMove}registerHook("createPopup",generatePopUp,FAFTER);registerHook("hideObject",showSelectBox,FAFTER);olHideForm=1}
