var gN=null;addLoadHook(fj,30);addResizeHook(fk,20);function fj(){var vB=gB.values();var vA;for(vA=0;vA<vB.length;vA++){if(vB[vA].mBC &&!vB[vA].mBC()){setTimeout("fj()",200);return false;}}nextHook();return true;};function fk(){var vB=gB.values();var vA;for(vA=0;vA<vB.length;vA++){if(ns){vB[vA].nBQ=false;vB[vA].mBB();}}return true;};function finishContentsUpdate(){if(gN &&(ns || mz || kq)){gN.mBA();}};RelativeLayer.prototype.setSource=function(aA){if(op){unsupportedBrowser();}else{if(this.css){this.nBO=aA;this.mBB();}else{this.mL("this.setSource(\""+aA+"\")");}}};RelativeLayer.prototype.mBC=function(){var vA=true;if(this.nBO && this.nBO!=""){vA=this.nBQ;}return vA;};RelativeLayer.prototype.mBB=function(){if(this.nBO && this.nBO!=""){if(gN){setTimeout("getRelativeLayer('"+this.getId()+"').mBB();",200);}else{this.fireEvent("beforeload");gN=this;this.nBQ=false;if(op){}else if(mz){this.mBD();if(document.getElementById(this.getId()+"Target")){document.getElementById(this.getId()+"Target").src=this.nBO;}}else if(kq){this.mBE(this.nBO);}else if(ns){this.css.load(this.nBO,this.calculateAvailableWidth());}else if(ie){this.mBD();if(document.frames(this.getId()+"Target")&& document.frames(this.getId()+"Target").location.href!=this.nBO){this.nBP=-1;document.frames(this.getId()+"Target").location.href=this.nBO;setTimeout("fl('"+this.getId()+"')",200);}}}}};RelativeLayer.prototype.mBA=function(){if(op){}else if(mz){if(!this.nBQ){this.nBQ=true;this.nl.innerHTML=document.getElementById(this.getId()+"Target").contentDocument.firstChild.innerHTML;this.mT();this.mS();this.mR();this.mg();}}else if(kq){if(!this.nBQ){this.nBQ=true;var vA=document.getElementById(this.getId()+"Target").contentDocument.firstChild.innerHTML;if(vA.indexOf("<BODY>")==0){vA=vA.substring("<BODY>".length);}this.nl.innerHTML=vA;this.mT();this.mS();this.mR();this.mg();}}else if(ns){this.mT();this.mS();this.mR();this.mg();if(this.m7){this.m7();}}else if(ie){if(this.nBP==-1){this.nBP=this.nl.scrollHeight;this.css.width=this.calculateAvailableWidth()+"px";}else{this.mT();this.mS();this.mR();this.mg();}}gN=null;this.nBQ=true;this.fireEvent("load");};RelativeLayer.prototype.mBE=function(aA){if(kq){var vB=document.getElementById(this.getId()+"TargetDiv");var vC;var vA;vC=document.createElement("IFRAME");vC.id=this.getId()+"Target";vC.src=aA;vC.width="300px";vC.height="100px";vA=document.createElement("DIV");vA.id=this.getId()+"TargetDiv";vA.style.visibility="hidden";vA.style.position="absolute";vA.style.top="-1000px";vA.style.left="-1000px";vA.appendChild(vC);if(!vB){document.body.appendChild(vA);}else{document.body.replaceChild(vB,vA);}}};RelativeLayer.prototype.mBD=function(){if(mz){var vC=document.getElementById(this.getId()+"Target");if(!vC){vC=document.createElement("IFRAME");vC.id=this.getId()+"Target";vC.src="";vC.width="300px";vC.height="100px";var vB=document.createElement("DIV");vB.style.visibility="hidden";vB.style.position="absolute";vB.style.top="-1000px";vB.style.left="-1000px";vB.appendChild(vC);document.body.appendChild(vB);}else{vC.src="";vC.innerHTML="";}}else if(ie){var vA=new RegExp(this.getId()+"Target","g");var vC=String(document.body.innerHTML).match(vA);if(vC==null){if(gM=="mac"){document.body.insertAdjacentHTML("beforeEnd",'<IFRAME STYLE="visibility: hidden;display: none;" NAME="'+this.getId()+'Target" SRC=""></IFRAME>');}else{document.body.insertAdjacentHTML("beforeEnd",'<IFRAME STYLE="visibility: hidden;" NAME="'+this.getId()+'Target" SRC=""></IFRAME>');}}else{document.frames(this.getId()+"Target").location.href="";document.frames(this.getId()+"Target").document.body.innerHTML="<P>&nbsp;</P>";}}};function fl(aA){if(document.frames(aA+"Target").document.readyState=='complete' && document.frames(aA+"Target").document.all.length>1){if(String(document.frames(aA+"Target").document.body)){if(!String(document.frames(aA+"Target").document.body.innerHTML).match(/\<P\>\&nbsp\;\<\/P\>/)){document.all(aA).innerHTML=document.frames(aA+"Target").document.body.innerHTML;document.all(aA).style.na.mBA();return;}}}setTimeout("fl('"+aA+"')",200);};