﻿function WindowManager(wO){ this.wo=new Array(); wY+=1000; this.wy=wY; }WindowManager.prototype.sHD= function (){for (var i=0; i<this.wo.length; i++)this.wo[i].sAH(); };WindowManager.prototype.addWindow= function (wI){if (wI.wi==null){wI.wi=this ; var wA= false; for (var i=0; i<this.wo.length; i++)if (this.wo[i].wO==wI.wO){ this.wo[i]=wI; wA= true; }if (!wA)this.wo.push(wI); var wa=document.getElementById("h_"+wI.wO+"_zIndex"); if (wa!=null){if (wa.value!="")wI.setzIndex(parseInt(wa.value)); else {wI.setzIndex(this.wy+this.wo.length*10); wa.value=wI.getzIndex(); }}else {wI.setzIndex(this.wy+this.wo.length*10); }}} ; WindowManager.prototype.wE= function (wI){if (wI.getzIndex()==this.wy+this.wo.length*10)return; var we=-1; for (var i=0; i<this.wo.length; i++)if (this.wo[i].wO==wI.wO)we=i; if (we==-1)return; wU=wI.getzIndex(); for (var i=0; i<this.wo.length; i++)if (this.wo[i].getzIndex()>wU){ this.wo[i].setzIndex(this.wo[i].getzIndex()-10); var wa=document.getElementById("h_"+this.wo[i].wO+"_zIndex"); if (wa!=null)wa.value=this.wo[i].getzIndex(); }wI.setzIndex(this.wy+this.wo.length*10); var wa=document.getElementById("h_"+wI.wO+"_zIndex"); if (wa!=null)wa.value=wI.getzIndex(); } ; WindowManager.prototype.getActiveWindow= function (){var wu=0; for (var i=1; i<this.wo.length; i++)if (this.wo[wu].getzIndex()<this.wo[i].getzIndex())wu=i; return this.wo[wu].objIWindow; } ; WindowManager.prototype.getWindows= function (){var wZ=new Array(); for (var i=0; i<this.wo.length; i++)wZ[i]=this.wo[i].objIWindow; return wZ; } ; WindowManager.prototype.getWindowById= function (wO){for (var i=0; i<this.wo.length; i++)if (this.wo[i].wO==wO)return this.wo[i].objIWindow; } ; WindowManager.prototype.newWindow= function (wz,wX,wx,wW,ww,wV,wv,wT){if (this.wo.length==0)return; if (wz==null)return; if (wz=="")return; for (var i=0; i<this.wo.length; i++)if (this.wo[i].wO==wz)return; var wt=document.createElement("div"); wt.id=wz+"_container"; document.body.appendChild(wt); var wS=document.createElement("div"); wS.id=wz+"_content"; wt.appendChild(wS); var ws=this.wo[0].wR.wr; var txtStyleRootFolder=this.wo[0].wR.wQ; return __cNIW(ws,txtStyleRootFolder,wz,wX,wx,wW,ww,wV,wv,wT); } ; function Window(wO){ this.wO=wO; this.wq="normal"; this.wP=null; this.oldPos=null; this.oldSize=null; this.wp=0; this.wN= false; }Window.prototype.getMode= function (){return this.wq; };Window.prototype.setMode= function (wq){wq=wq.toLowerCase(); switch (wq){case "normal":if (this.wq!=wq){ this.wq=wq; if (this.oldPos!=null){ this.wn.wM(this.oldPos.left,this.oldPos.top); this.wn.wm(this.oldSize.width,this.oldSize.height); this.oldPos=null; this.oldSize=null; }if (this.wP!=null){ this.PinOff(this.wP); this.wP=null; }if (this.wn.wL!=null)this.wn.wL.wK= true; if (this.wn.wk.wJ!=null)this.wn.wk.wJ.wj(); if (this.wH!=null){ this.wH.wh(1); this.wH.wG(); if (this.wH.wg!=null)this.wH.wg(); }}break; case "maximize":if (this.wq!=wq){ this.oldPos=this.getPosition(); this.oldSize=this.getSize(); this.wP=this.wN; this.wq=wq; var wF=__lib.wf(); this.setPosition(__lib.wD(),__lib.wd()); if (this.wn.wC){ this.wn.wc( false); this.wn.wc( true); }if (this.wn.wL!=null)this.wn.wL.wK= false; this.PinOff( true); if (this.wn.wk.wJ!=null)this.wn.wk.wJ.wj(); if (this.wH!=null){ this.wH.wh( false); this.wH.wG(); if (this.wH.wg!=null)this.wH.wg(); }}break; }} ; Window.prototype.PinOff= function (wB){ this.wN=wB; };Window.prototype.screenCenter= function (){if (this.wq=="normal"){var wb=__lib.wf(); var wo0=this.getSize(); this.setPosition(wb.width/2-wo0.width/2+__lib.wD(),wb.height/2-wo0.height/2+__lib.wd()); }};Window.prototype.setStyle= function (wO0,wQ){if (this.wR==null){ this.wR=new wl0(this,wQ); this.wR.startStyle(wO0); }else { this.wR.startStyle(wO0); this.wR.wj(); }return this.wR; } ; Window.prototype.bringToFront= function (){if (this.wi!=null){ this.wi.wE(this ); }} ; Window.prototype.setPosition= function (x,y){ this.wn.wi0(x,y); } ; Window.prototype.setSize= function (width,height){ this.wn.wm(width,height); if (this.wH!=null)this.wH.wG(); } ; Window.prototype.getPosition= function (){wI0=__lib.wo1(this.wn.wO1)-((this.objRelative!=null)?(__lib.wo1(this.objRelative)): 0); wl1=__lib.wi1(this.wn.wO1)-((this.objRelative!=null)?(__lib.wi1(this.objRelative)): 0); wI1=0; wo2=0; if (__lib.wO2)if (document.documentElement && document.documentElement.clientWidth){if (document.body.topMargin)wI1+=parseInt((__lib.wl2!="")?__lib.wl2:document.body.topMargin); if (document.body.leftMargin)wo2+=parseInt(((__lib.wi2!="")?__lib.wi2:document.body.leftMargin)); }return {left:wl1-wo2,top:wI0-wI1 } ; } ; Window.prototype.getSize= function (){var wI2=this.wn.wo3(); return {width:wI2.width,height:wI2.height } ; } ; Window.prototype.setTitle= function (wO3){if (this.wn.wl3!=null){if (this.wn.wi3==null){ this.wn.wi3=document.createTextNode(""); this.wn.wl3.wI3(this.wn.wi3); } this.wn.wi3.nodeValue=wO3; }} ; Window.prototype.setLogo= function (wo4){if (this.wn.wl3!=null && wo4!=""){if (this.wn.wO4==null){ this.wn.wO4=document.createElement("img"); this.wn.wl3.wl4(this.wn.wO4); } this.wn.wO4.src=wo4; }} ; Window.prototype.setBuiltinButtons= function (wi4,wW,wx){if (this.wn.wl3!=null){ this.wn.wk=new WindowBuiltInButtons(this.wR,wi4,wW,wx); this.wn.wl3.wI4(this.wn.wk); }} ; Window.prototype.setStatus= function (wo5){if (this.wn.wO5!=null){if (this.wn.wl5==null){ this.wn.wl5=document.createTextNode(""); this.wn.wO5.wi5(this.wn.wl5); } this.wn.wl5.nodeValue=wo5; }} ; Window.prototype.setVisibility= function (wC,wI5){if (wI5==null)wI5= false; if (wI5){ this.wn.wc(wC); return; }if (wC)if (this.OnPreOpen!=null){var wo6=this.OnPreOpen(); if (wo6!=null && wo6== false)return; }if (!wC)if (this.OnPreClose!=null){var wo6=this.OnPreClose(); if (wo6!=null && wo6== false)return; }if (this.wO6!=null){ this.wO6.wl6(this.wR.wi6-1); this.wO6.wI6(wC); } this.wn.wc(wC); if (wC)if (this.OnOpen!=null)this.OnOpen(); if (!wC)if (this.OnClose!=null)this.OnClose(); } ; Window.prototype.getVisibility= function (){return this.wn.wC; } ; Window.prototype.setOpacity= function (wo7){ this.wn.wO7(wo7); } ; Window.prototype.getOpacity= function (){return this.wn.wo7; } ; Window.prototype.setzIndex= function (wl7){ this.wR.wl6(wl7); } ; Window.prototype.getzIndex= function (){return this.wR.wi6; } ; Window.prototype.setPosMode= function (wq){ this.wn.wi7(wq); } ; Window.prototype.unload= function (){ this.wn.wI7(); this.wn=null; this.wR=null; } ; Window.prototype.enableWindowResize= function (wo8,wO8,wl8,wi8,wI8,wo9,wO9,wl9,wi9,wI9,woa){ this.wH=new wOa(this.wn,this.wR,wo8,wO8,wl8,wi8,wI8,wo9,wO9,wl9,wi9,wI9,woa); this.wn.wH=this.wH; } ; Window.prototype.createWindowFrame= function (wla,wia,wIa,wob,wOb,wlb,wt){ this.wn=new wib(this.wR,wla,wia,wIa,wob,wOb,wlb,wt); } ; Window.prototype.createContentPanel= function (wIb,woc){ this.wOc=this.wn.wlc(this,wIb,woc); } ; Window.prototype.getContentPanel= function (){return this.wOc.wS; } ; Window.prototype.enableDragging= function (wic,wIc,wod,wOd){ this.wn.wld(wic,wIc,wod,wOd); } ; Window.prototype.enableFilter= function (){ this.wO6=new wid(this.wR,this.wR.wi6-1); } ; function wid(wR,wId){ this.wR=wR; wR.woe(this ); this.wId=wId; this.wOe=document.createElement("iframe"); this.wOe.src="javascript:false;";this.wle=document.createElement("div"); this.wOe.style.position="absolute"; this.wle.style.position="absolute"; this.wie= false; var i=0; while (document.getElementById("wf"+i)!=null){i+=1; } this.wle.id="wf"+i; this.wIe=this ; var wA= false; for (var i=0; i<wof.length; i++)if (wof[i].wR.wOf.wO==this.wR.wOf.wO){wof[i]=this ; wA= true; }if (!wA)wof.push(this ); this.wj(); this.wR.wOf.wn.wIf.appendChild(this.wOe); this.wR.wOf.wn.wIf.appendChild(this.wle); this.wG(); }wid.prototype.wog= function (){ this.wOe.style.width="0px"; this.wOe.style.height="0px"; this.wOe.style.top="0px"; this.wOe.style.left="0px"; this.wle.style.width="0px"; this.wle.style.height="0px"; this.wle.style.top="0px"; this.wle.style.left="0px"; };wid.prototype.wG= function (){if (this.wie){if (!__lib.wOg)this.wOe.style.display="block"; this.wle.style.display="block"; this.wOe.style.top=__lib.wlg(this.wOe,__lib.wd())+"px"; this.wOe.style.left=__lib.wig(this.wOe,__lib.wD())+"px"; var wIg=__lib.wf(); this.wOe.style.width=(wIg.width)+"px"; this.wOe.style.height=(wIg.height)+"px"; this.wOe.style.zIndex=this.wId-((__lib.woh)?0: 1); this.wle.style.top=this.wOe.style.top; this.wle.style.left=this.wOe.style.left; this.wle.style.width=this.wOe.style.width; this.wle.style.height=this.wOe.style.height; this.wle.style.zIndex=this.wId-((__lib.woh)?1: 0); }else { this.wOe.style.display="none"; this.wle.style.display="none"; }} ; wid.prototype.wj= function (){ this.wOe.className=this.wR.wOh; this.wle.className=this.wR.wlh; } ; wid.prototype.wI6= function (wie){ this.wie=wie; this.wG(); } ; wid.prototype.wl6= function (wl7){ this.wId=wl7; this.wG(); } ; function wih(){var wIh=navigator.userAgent.toLowerCase(); this.wOg=(wIh.indexOf("firefox")!=-1); this.woi=(wIh.indexOf("safari")!=-1); this.wO2=((wIh.indexOf("msie")!=-1) && (wIh.indexOf("opera")==-1)); this.woh=(wIh.indexOf("opera")!=-1); this.wOi=0; window.__lib=this ; this.wl2=this.wli(document.body,"margin-top"); this.wi2=this.wli(document.body,"margin-left"); }wih.prototype.wli= function (wii,wIi){var woj=""; if (document.defaultView && document.defaultView.getComputedStyle){var wOj=document.defaultView.getComputedStyle(wii,null); if (!wOj){try {if (wii.style.display=="none"){wii.style.display=""; wOj=document.defaultView.getComputedStyle(wii,null); if (wOj){woj=wOj.getPropertyValue(wIi); }wii.style.display="none"; }}catch (wlj){}}if (wOj && woj==""){woj=wOj.getPropertyValue(wIi); }}else if (wii.currentStyle){try {wIi=wIi.replace(/-(\w)/g, function (wij,wIj){return wIj.toUpperCase(); } ); woj=wii.currentStyle[wIi]; }catch (wlj){}}return woj; } ; wih.prototype.getWindowSize= function (){var wok=0,wOk=0; if (typeof(window.innerWidth)=="number"){wok=window.innerWidth; wOk=window.innerHeight; }else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)){wok=document.documentElement.clientWidth; wOk=document.documentElement.clientHeight; }else if (document.body && (document.body.clientWidth || document.body.clientHeight)){wok=document.body.clientWidth; wOk=document.body.clientHeight; }return {width:wok,height:wOk } ; } ; wih.prototype.wlk= function (){var wik=(document.body.scrollWidth>document.documentElement.scrollWidth)?document.body.scrollWidth:document.documentElement.scrollWidth; var wIk=(document.body.scrollHeight>document.documentElement.scrollHeight)?document.body.scrollHeight:document.documentElement.scrollHeight; return {width:wik,height:wIk } ; } ; wih.prototype.wf= function (){var wol=this.wlk(); var wo0=this.getWindowSize(); if (this.woh || this.wOg){wll=wo0.width-((wol.height+16<=wo0.height || wol.height==wo0.height)?0: 16); wil=wo0.height-((wol.width+16<=wo0.width || wol.width==wo0.width)?0: 16); }else if (this.wO2 || this.woi){wll=wo0.width; wil=wo0.height; }return {width:wll,height:wil } ; };wih.prototype.wD= function (){return ((this.woh)?document.body.scrollLeft: (document.body.scrollLeft+document.documentElement.scrollLeft)); };wih.prototype.wd= function (){return ((this.woh)?document.body.scrollTop: (document.body.scrollTop+document.documentElement.scrollTop)); };wih.prototype.wIl= function (wom){if (wom.pageX){return wom.pageX; }else if (wom.clientX){return wom.clientX;}else {return null; }} ; wih.prototype.wOm= function (wom){if (wom.pageY){return wom.pageY; }else if (wom.clientY){return wom.clientY;}else {return null; }} ; wih.prototype.addEvent= function (wIm,won,wOn,wIn){if (wIm.addEventListener){wIm.addEventListener(won,wOn,wIn); return true; }else if (wIm.attachEvent){if (wIn){alert("IE does not support event capturing!"); return false; }else {var woo= function (){wOn.apply(wIm,[window.event]); };if (!wIm["ref"+won])wIm["ref"+won]=[]; else {for (var ref in wIm["ref"+won]){if (wIm["ref"+won][ref].wOn === wOn)return false; }}var wOo=wIm.attachEvent("on"+won,woo); if (wOo)wIm["ref"+won].push( {wOn:wOn,woo:woo } ); return wOo; }}else {alert("Handler could not be attached"); return false; }} ; wih.prototype.wIo= function (wIm,won,wOn,wIn){if (wIm.removeEventListener){wIm.removeEventListener(won,wOn,wIn); return true; }else if (wIm.detachEvent){if (wIm["ref"+won]){for (var ref in wIm["ref"+won]){if (wIm["ref"+won][ref].wOn === wOn){wIm.detachEvent("on"+won,wIm["ref"+won][ref].woo); wIm["ref"+won][ref].wOn=null; wIm["ref"+won][ref].woo=null; delete wIm["ref"+won][ref]; return true; }}}return false; }else {alert("Handler could not be removed"); return false; }} ; wih.prototype.wig= function (wIm,wop){wOp=wIm; if (this.wO2 && wIm.offsetParent!=null)if (wIm.offsetParent.nodeName!="BODY" && wIm.offsetParent.nodeName!="HTML")if (document.documentElement && document.documentElement.clientWidth)if (document.body.leftMargin)wop-=parseInt((this.wi2!="")?this.wi2:document.body.leftMargin); if (this.woi)wop+=document.body.offsetLeft; var wlp=0; var wip=new Array(); while (wIm.offsetParent){wlp+=wIm.offsetParent.offsetLeft-((this.woh)?0:wIm.offsetParent.scrollLeft); wip.push(wIm.offsetParent); wIm=wIm.offsetParent; }if (this.wOg)wlp+=document.body.scrollLeft; if (this.wO2){wlp+=document.body.scrollLeft; if (document.documentElement)wlp+=document.documentElement.scrollLeft; }wop-=wlp; var wIp=0; if ((this.woh) && wip.length>0){wIm=wOp; while (wIm.offsetParent){var woq= false; if (wIm.parentNode.nodeName.toLowerCase()=="div" && wIm.parentNode.style.position!="absolute" && wIm.parentNode.style.position!="relative" && wIm.parentNode.style.position!="fixed"){for (var wOq=0; wOq<wip.length; wOq++){if (wip[wOq]==wIm.parentNode){woq= true; break; }}if (woq== false){wIp+=wIm.parentNode.scrollLeft; }}wIm=wIm.parentNode; }}wop+=wIp; return wop; };wih.prototype.wlg= function (wIm,wlq){wOp=wIm; if (this.wO2 && wIm.offsetParent!=null)if (wIm.offsetParent.nodeName!="BODY" && wIm.offsetParent.nodeName!="HTML")if (document.documentElement && document.documentElement.clientWidth)if (document.body.topMargin)wlq-=parseInt((this.wl2!="")?this.wl2:document.body.topMargin); if (this.woi)wlq+=document.body.offsetTop; var wiq=0; var wip=new Array(); while (wIm.offsetParent){wiq+=wIm.offsetParent.offsetTop-((this.woh)?0:wIm.offsetParent.scrollTop); wip.push(wIm.offsetParent); wIm=wIm.offsetParent; }if (this.wOg || this.woi)wiq+=document.body.scrollTop; if (this.wO2){wiq+=document.body.scrollTop; if (document.documentElement)wiq+=document.documentElement.scrollTop; }wlq-=wiq; var wIq=0; if ((this.woh) && wip.length>0){wIm=wOp; while (wIm.offsetParent){var woq= false; if (wIm.parentNode.nodeName.toLowerCase()=="div" && wIm.parentNode.style.position!="absolute" && wIm.parentNode.style.position!="relative" && wIm.parentNode.style.position!="fixed"){for (var wOq=0; wOq<wip.length; wOq++){if (wip[wOq]==wIm.parentNode){woq= true; break; }}if (woq== false){wIq+=wIm.parentNode.scrollTop; }}wIm=wIm.parentNode; }}wlq+=wIq; return wlq; };wih.prototype.wo1= function (wIm){var we=0; var wip=new Array(); var wOp=wIm; while (wIm.offsetParent){wip.push(wIm); if (this.woi && wIm.nodeName=="TR")we+=wIm.firstChild.offsetTop-wIm.firstChild.scrollTop; else we+=wIm.offsetTop-((this.woh || wIm.nodeName=="TR")?0:wIm.scrollTop); wIm=wIm.offsetParent; }if (this.woi)we+=document.body.offsetTop; if (this.wO2)if (document.documentElement && document.documentElement.clientWidth)if (document.body.topMargin)we+=parseInt((this.wl2!="")?this.wl2:document.body.topMargin); if ((this.woi || this.wOg || this.woh) && wip.length>0){wIm=wOp; while (wIm.offsetParent){var woq= false; if (wIm.nodeName.toLowerCase()=="div" && wIm.style.position!="absolute" && wIm.style.position!="relative" && wIm.style.position!="fixed"){for (var wOq=0; wOq<wip.length; wOq++){if (wip[wOq]==wIm){woq= true; break; }}if (woq== false){we-=wIm.scrollTop; }}wIm=wIm.parentNode; }}return we; } ; wih.prototype.wi1= function (wIm){var we=0; var wip=new Array(); var wOp=wIm; while (wIm.offsetParent){wip.push(wIm); if (this.woi && wIm.nodeName=="TR")we+=wIm.firstChild.offsetLeft-wIm.firstChild.scrollLeft; else we+=wIm.offsetLeft-((this.woh || wIm.nodeName=="TR")?0:wIm.scrollLeft); wIm=wIm.offsetParent; }if (this.woi)we+=document.body.offsetTop; if (this.wO2)if (document.documentElement && document.documentElement.clientWidth)if (document.body.leftMargin)we+=parseInt(((this.wi2!="")?this.wi2:document.body.leftMargin)); if ((this.woi || this.wOg || this.woh) && wip.length>0){wIm=wOp; while (wIm.offsetParent){var woq= false; if (wIm.nodeName.toLowerCase()=="div" && wIm.style.position!="absolute" && wIm.style.position!="relative" && wIm.style.position!="fixed"){for (var wOq=0; wOq<wip.length; wOq++){if (wip[wOq]==wIm){woq= true; break; }}if (woq== false){we-=wIm.scrollLeft; }}wIm=wIm.parentNode; }}return we; } ; function wOa(wn,wR,wo8,wO8,wl8,wi8,wI8,wo9,wO9,wl9,wi9,wI9,woa){ this.wg=woa; this.wR=wR; wR.woe(this ); this.wor= true; this.wn=wn; this.wl8=wl8; this.wi8=wi8; this.wI8=wI8; this.wo9=wo9; this.wO9=wO9; this.wl9=wl9; this.wi9=wi9; this.wI9=wI9; this.wo8=wo8; this.wO8=wO8; var wA= false; for (var i=0; i<__windowResizes.length; i++)if (__windowResizes[i].wR.wOf.wO==this.wR.wOf.wO){__windowResizes[i]=this ; wA= true; }if (!wA)__windowResizes.push(this ); this.wo5="drop"; this.wOr=""; this.wlr=document.createElement("div"); this.wlr.style.position="absolute"; wn.wIf.appendChild(this.wlr); this.wir=document.createElement("div"); this.wIr=document.createElement("div"); this.wos=document.createElement("div"); this.wOs=document.createElement("div"); this.wls=document.createElement("div"); this.wis=document.createElement("div"); this.wIs=document.createElement("div"); this.wot=document.createElement("div"); this.wOt=document.createElement("div"); this.wlt=document.createElement("div"); this.wit=document.createElement("div"); this.wIt=document.createElement("div"); this.wou=document.createElement("div"); this.wou.style.cssText="display:none;background:red;position:absolute;filter:alpha(opacity=0);-moz-opacity:0.0;opacity:0.0;"; this.wir.wIe=this ; this.wIr.wIe=this ; this.wos.wIe=this ; this.wOs.wIe=this ; this.wls.wIe=this ; this.wis.wIe=this ; this.wIs.wIe=this ; this.wot.wIe=this ; this.wOt.wIe=this ; this.wlt.wIe=this ; this.wit.wIe=this ; this.wIt.wIe=this ; wn.wIf.appendChild(this.wir); wn.wIf.appendChild(this.wIr); wn.wIf.appendChild(this.wos); wn.wIf.appendChild(this.wOs); wn.wIf.appendChild(this.wls); wn.wIf.appendChild(this.wis); wn.wIf.appendChild(this.wIs); wn.wIf.appendChild(this.wot); wn.wIf.appendChild(this.wOt); wn.wIf.appendChild(this.wlt); wn.wIf.appendChild(this.wit); wn.wIf.appendChild(this.wIt); wn.wIf.appendChild(this.wou); __lib.addEvent(this.wir,"mousedown", function (wom){ this.wIe.wOu(wom,"Left"); } , false); __lib.addEvent(this.wIr,"mousedown", function (wom){ this.wIe.wOu(wom,"Top"); } , false); __lib.addEvent(this.wos,"mousedown", function (wom){ this.wIe.wOu(wom,"Right"); } , false); __lib.addEvent(this.wOs,"mousedown", function (wom){ this.wIe.wOu(wom,"Bottom"); } , false); __lib.addEvent(this.wls,"mousedown", function (wom){ this.wIe.wOu(wom,"TopLeft"); } , false); __lib.addEvent(this.wis,"mousedown", function (wom){ this.wIe.wOu(wom,"TopRight"); } , false); __lib.addEvent(this.wIs,"mousedown", function (wom){ this.wIe.wOu(wom,"BottomRight"); } , false); __lib.addEvent(this.wot,"mousedown", function (wom){ this.wIe.wOu(wom,"BottomLeft"); } , false); __lib.addEvent(this.wOt,"mousedown", function (wom){ this.wIe.wOu(wom,"TopLeft"); } , false); __lib.addEvent(this.wlt,"mousedown", function (wom){ this.wIe.wOu(wom,"TopRight"); } , false); __lib.addEvent(this.wit,"mousedown", function (wom){ this.wIe.wOu(wom,"BottomRight"); } , false); __lib.addEvent(this.wIt,"mousedown", function (wom){ this.wIe.wOu(wom,"BottomLeft"); } , false); this.wj(); this.wG(); } ; wOa.prototype.wh= function (wlu){ this.wor=wlu; };wOa.prototype.wG= function (){var wI2=this.wn.wo3(); var wiu=parseInt(__lib.wli(this.wir,"width")); var wIu=parseInt(__lib.wli(this.wIr,"height")); if (this.wl8 && this.wor)this.wir.style.display="block"; else this.wir.style.display="none"; if (this.wi8 && this.wor)this.wIr.style.display="block"; else this.wIr.style.display="none"; if (this.wI8 && this.wor)this.wos.style.display="block"; else this.wos.style.display="none"; if (this.wo9 && this.wor)this.wOs.style.display="block"; else this.wOs.style.display="none"; if (this.wO9 && this.wor){ this.wls.style.display="block"; this.wOt.style.display="block"; }else { this.wls.style.display="none"; this.wOt.style.display="none"; }if (this.wl9 && this.wor){ this.wis.style.display="block"; this.wlt.style.display="block"; }else { this.wis.style.display="none"; this.wlt.style.display="none"; }if (this.wi9 && this.wor){ this.wIs.style.display="block"; this.wit.style.display="block"; }else { this.wIs.style.display="none"; this.wit.style.display="none"; }if (this.wI9 && this.wor){ this.wot.style.display="block"; this.wIt.style.display="block"; }else { this.wot.style.display="none"; this.wIt.style.display="none"; } this.wir.style.top=wI2.top+"px"; this.wir.style.left=wI2.left+"px"; this.wir.style.height=wI2.height+"px"; this.wIr.style.top=wI2.top+"px"; this.wIr.style.left=wI2.left+"px"; this.wIr.style.width=wI2.width+"px"; this.wos.style.top=wI2.top+"px"; this.wos.style.left=(wI2.left+wI2.width-wiu)+"px"; this.wos.style.height=wI2.height+"px"; this.wOs.style.top=(wI2.top+wI2.height-wIu)+"px"; this.wOs.style.left=wI2.left+"px"; this.wOs.style.width=wI2.width+"px"; this.wls.style.top=wI2.top+"px"; this.wls.style.left=wI2.left+"px"; this.wls.style.height=this.wov+"px"; this.wOt.style.top=wI2.top+"px"; this.wOt.style.left=wI2.left+"px"; this.wOt.style.width=this.wOv+"px"; this.wis.style.top=wI2.top+"px"; this.wis.style.left=(wI2.left+wI2.width-wiu)+"px"; this.wis.style.height=this.wov+"px"; this.wlt.style.top=wI2.top+"px"; this.wlt.style.left=(wI2.left+wI2.width-this.wOv)+"px"; this.wlt.style.width=this.wOv+"px"; this.wIs.style.top=(wI2.top+wI2.height-this.wov)+"px"; this.wIs.style.left=(wI2.left+wI2.width-wiu)+"px"; this.wIs.style.height=this.wov+"px"; this.wit.style.top=(wI2.top+wI2.height-wIu)+"px"; this.wit.style.left=(wI2.left+wI2.width-this.wOv)+"px"; this.wit.style.width=this.wOv+"px"; this.wot.style.top=(wI2.top+wI2.height-this.wov)+"px"; this.wot.style.left=wI2.left+"px"; this.wot.style.height=this.wov+"px"; this.wIt.style.top=(wI2.top+wI2.height-wIu)+"px"; this.wIt.style.left=wI2.left+"px"; this.wIt.style.width=this.wOv+"px"; this.wir.style.cursor=this.wlv; this.wIr.style.cursor=this.wiv; this.wos.style.cursor=this.wIv; this.wOs.style.cursor=this.wow; this.wls.style.cursor=this.wOw; this.wis.style.cursor=this.wlw; this.wIs.style.cursor=this.wiw; this.wot.style.cursor=this.wIw; this.wOt.style.cursor=this.wOw; this.wlt.style.cursor=this.wlw; this.wit.style.cursor=this.wiw; this.wIt.style.cursor=this.wIw; } ; wOa.prototype.wj= function (){var wi6=this.wR.wi6+4; this.wir.style.zIndex=wi6; this.wIr.style.zIndex=wi6; this.wos.style.zIndex=wi6; this.wOs.style.zIndex=wi6; wi6+=1; this.wls.style.zIndex=wi6; this.wis.style.zIndex=wi6; this.wIs.style.zIndex=wi6; this.wot.style.zIndex=wi6; this.wOt.style.zIndex=wi6; this.wlt.style.zIndex=wi6; this.wit.style.zIndex=wi6; this.wIt.style.zIndex=wi6; this.wou.style.zIndex=wi6+1; this.wir.className=this.wR.wox; this.wIr.className=this.wR.wox; this.wos.className=this.wR.wox; this.wOs.className=this.wR.wox; this.wls.className=this.wR.wox; this.wis.className=this.wR.wox; this.wIs.className=this.wR.wox; this.wot.className=this.wR.wox; this.wOt.className=this.wR.wox; this.wlt.className=this.wR.wox; this.wit.className=this.wR.wox; this.wIt.className=this.wR.wox; this.wlr.className=this.wR.wOx; var woo=document.createElement("div"); this.wn.wIf.appendChild(woo); woo.className=this.wR.wlx; this.wlv=__lib.wli(woo,"cursor"); woo.className=this.wR.wix; this.wiv=__lib.wli(woo,"cursor"); woo.className=this.wR.wIx; this.wIv=__lib.wli(woo,"cursor"); woo.className=this.wR.woy; this.wow=__lib.wli(woo,"cursor"); woo.className=this.wR.wOy; this.wOw=__lib.wli(woo,"cursor"); woo.className=this.wR.wly; this.wlw=__lib.wli(woo,"cursor"); woo.className=this.wR.wiy; this.wiw=__lib.wli(woo,"cursor"); woo.className=this.wR.wIy; this.wIw=__lib.wli(woo,"cursor"); woo.className=this.wR.woz; this.wOv=parseInt(__lib.wli(woo,"width")); this.wov=parseInt(__lib.wli(woo,"height")); this.wn.wIf.removeChild(woo); this.wG(); } ; wOa.prototype.wOz= function (wop,wlq){if (this.wo5=="drag"){ this.wo5="drop"; document.body.style.cursor=this.wlz; this.wlr.style.display="none"; this.wou.style.display="none"; this.wn.wm(parseInt(this.wlr.style.width),parseInt(this.wlr.style.height)); this.wn.wM(parseInt(this.wlr.style.left),parseInt(this.wlr.style.top)); if (this.wg!=null)this.wg(); }} ; wOa.prototype.wiz= function (wop,wlq){if (this.wo5=="drag"){wI2=this.wn.wo3(); wop=__lib.wig(this.wlr,wop); wlq=__lib.wlg(this.wlr,wlq); wIz=(this.wn.wo10()>this.wO8)?this.wn.wo10(): this.wO8; wO10=(this.wn.wl10()>this.wo8)?this.wn.wl10(): this.wo8; switch (this.wOr){case "Left": this.wlr.style.left=((wI2.left+wI2.width-wop>wO10)?wop: (wI2.left+wI2.width-wO10))+"px"; this.wlr.style.top=wI2.top+"px"; this.wlr.style.width=((wI2.width+wI2.left-wop>wO10)?(wI2.width+wI2.left-wop):wO10)+"px"; this.wlr.style.height=wI2.height+"px"; document.body.style.cursor=this.wlv; break; case "Top": this.wlr.style.left=wI2.left+"px"; this.wlr.style.top=((wI2.top+wI2.height-wlq>wIz)?wlq: (wI2.top+wI2.height-wIz))+"px"; this.wlr.style.width=wI2.width+"px"; this.wlr.style.height=((wI2.top+wI2.height-wlq>wIz)?(wI2.top+wI2.height-wlq):wIz)+"px"; document.body.style.cursor=this.wiv; break; case "Right": this.wlr.style.left=wI2.left+"px"; this.wlr.style.top=wI2.top+"px"; this.wlr.style.width=((wop-wI2.left>wO10)?(wop-wI2.left):wO10)+"px"; this.wlr.style.height=wI2.height+"px"; document.body.style.cursor=this.wIv; break; case "Bottom": this.wlr.style.left=wI2.left+"px"; this.wlr.style.top=wI2.top+"px"; this.wlr.style.width=wI2.width+"px"; this.wlr.style.height=((wlq-wI2.top>wIz)?(wlq-wI2.top):wIz)+"px"; document.body.style.cursor=this.wow; break; case "TopLeft": this.wlr.style.left=((wI2.left+wI2.width-wop>wO10)?wop: (wI2.left+wI2.width-wO10))+"px"; this.wlr.style.top=((wI2.top+wI2.height-wlq>wIz)?wlq: (wI2.top+wI2.height-wIz))+"px"; this.wlr.style.width=((wI2.width+wI2.left-wop>wO10)?(wI2.width+wI2.left-wop):wO10)+"px"; this.wlr.style.height=((wI2.top+wI2.height-wlq>wIz)?(wI2.top+wI2.height-wlq):wIz)+"px"; document.body.style.cursor=this.wOw; break; case "TopRight": this.wlr.style.left=wI2.left+"px"; this.wlr.style.top=((wI2.top+wI2.height-wlq>wIz)?wlq: (wI2.top+wI2.height-wIz))+"px"; this.wlr.style.width=((wop-wI2.left>wO10)?(wop-wI2.left):wO10)+"px"; this.wlr.style.height=((wI2.top+wI2.height-wlq>wIz)?(wI2.top+wI2.height-wlq):wIz)+"px"; document.body.style.cursor=this.wlw; break; case "BottomRight": this.wlr.style.left=wI2.left+"px"; this.wlr.style.top=wI2.top+"px"; this.wlr.style.width=((wop-wI2.left>wO10)?(wop-wI2.left):wO10)+"px"; this.wlr.style.height=((wlq-wI2.top>wIz)?(wlq-wI2.top):wIz)+"px"; document.body.style.cursor=this.wiw; break; case "BottomLeft": this.wlr.style.left=((wI2.left+wI2.width-wop>wO10)?wop: (wI2.left+wI2.width-wO10))+"px"; this.wlr.style.top=wI2.top+"px"; this.wlr.style.width=((wI2.width+wI2.left-wop>wO10)?(wI2.width+wI2.left-wop):wO10)+"px"; this.wlr.style.height=((wlq-wI2.top>wIz)?(wlq-wI2.top):wIz)+"px"; document.body.style.cursor=this.wIw; break; } this.wou.style.left=(parseInt(this.wlr.style.left)-30)+"px"; this.wou.style.top=(parseInt(this.wlr.style.top)-30)+"px"; this.wou.style.width=(parseInt(this.wlr.style.width)+60)+"px"; this.wou.style.height=(parseInt(this.wlr.style.height)+60)+"px"; }} ; wOa.prototype.wOu= function (wom,wOr){if (__lib.wO2){wi10=document.onselectstart; document.onselectstart= function (wom){return false; } ; }if (wom.preventDefault)wom.preventDefault(); if (this.wo5=="drop"){ this.wo5="drag"; this.wOr=wOr; this.wou.style.display="block"; this.wlr.style.display="block"; this.wlz=document.body.style.cursor; this.wiz(__lib.wIl(wom),__lib.wOm(wom)); } this.wR.wOf.bringToFront(); return false; } ; function wib(wR,wla,wia,wIa,wob,wOb,wlb,wt){ this.wR=wR; wR.woe(this ); this.wo7=100; this.wIf=document.createElement("div"); this.wI10=document.createElement("iframe"); this.wI10.src="javascript:false;"; this.wo11=document.createElement("div"); this.wIf.appendChild(this.wI10); this.wIf.appendChild(this.wo11); this.wO1=document.createElement("table"); this.wo11.appendChild(this.wO1); this.wC= false; this.wo11.style.display="none"; this.wI10.style.display="none"; this.wO11(wla,wia,wIa,wob,wOb); if (wt!=null)this.wl11(wt); this.wi7(wlb); this.wc( false); this.wo11.wOf=this.wR.wOf; __lib.addEvent(this.wo11,"mousedown", function (wom){ this.wOf.bringToFront(); } , false); }wib.prototype.wi7= function (wlb){if (wlb!="absolute" && wlb!="static")wlb="static"; this.wlb=wlb; switch (wlb){case "absolute": this.wI10.style.position=wlb; this.wo11.style.position=wlb; if (this.wo11.style.display=="block")this.wI10.style.display="block"; break; case "static": this.wI10.style.position=wlb; this.wo11.style.position=wlb; this.wI10.style.display="none"; break; }} ; wib.prototype.wlc= function (wOf,wIb,woc){if (this.wi11!=null){var wI11=(wOf==null)?"": (wOf.wO+"_ct"); this.wo12=new wO12(wI11,this.wR,wIb,woc); this.wi11.wl12(this.wo12); return this.wo12; }return null; } ; wib.prototype.wi0= function (wop,wlq){if (this.wR.wOf.objRelative!=null){wop+=__lib.wi1(this.wR.wOf.objRelative); wlq+=__lib.wo1(this.wR.wOf.objRelative); }wop=__lib.wig(this.wI10,wop); wlq=__lib.wlg(this.wI10,wlq); this.wM(wop,wlq); } ; wib.prototype.wM= function (wop,wlq){ this.wI10.style.left=wop+"px"; this.wI10.style.top=wlq+"px"; this.wo11.style.left=wop+"px"; this.wo11.style.top=wlq+"px"; if (this.wH)this.wH.wG(); } ; wib.prototype.wo10= function (){var wIz=0; if (this.wl3!=null)wIz+=this.wl3.wi12.offsetHeight; if (this.wI12!=null)wIz+=this.wI12.wo13.offsetHeight; if (this.wO5!=null)wIz+=this.wO5.wO13.offsetHeight; if (this.wl13!=null)wIz+=this.wl13.offsetHeight; wIz+=22; return wIz; };wib.prototype.wl10= function (){var wO10=0; wO10+=150; return wO10; };wib.prototype.wo3= function (){var woo=this.wo11; return {left:parseInt(woo.style.left),top:parseInt(woo.style.top),width:parseInt(woo.style.width),height:parseInt(woo.style.height)} ; } ; wib.prototype.wm= function (wi13,wI13){var wo14=0; if (this.wl3!=null)wo14+=this.wO14.wl14; if (this.wI12!=null)wo14+=this.wi14.wl14; if (this.wO5!=null)wo14+=this.wI14.wl14; if (this.wl13!=null)wo14+=this.wo15.wl14; if (this.wl3!=null){if (this.wl3.wO15>1)this.wl3.wl15.style.width=(wi13-this.wl3.wi15-this.wl3.wI15-this.wl3.wO15)+"px"; else this.wl3.wl15.style.width=(wi13-this.wl3.wi15-this.wl3.wI15-((this.wk.wo16!=null)?this.wl3.wO16: 0)-((this.wk.wl16!=null)?this.wl3.wO16: 0)-((this.wk.wJ!=null)?this.wl3.wO16: 0)-30)+"px"; }if (this.wi11!=null){if (this.wo12!=null){ this.wo12.wS.style.height=(wI13-wo14-this.wi11.wi16-this.wi11.wI16)+"px"; this.wo12.wS.style.width=(wi13-this.wi11.wi15-this.wi11.wI15)+"px"; } this.wo17.style.height=(wI13-wo14)+"px"; }if (this.wO5!=null){ this.wO5.wO17.style.width=(wi13-this.wO5.wi15-this.wO5.wI15-10)+"px"; } this.wI10.style.width=wi13+"px"; this.wI10.style.height=wI13+"px"; this.wo11.style.width=wi13+"px"; this.wo11.style.height=wI13+"px"; } ; wib.prototype.wl11= function (wl17){wl17.appendChild(this.wIf); this.wt=wl17; } ; wib.prototype.wO7= function (wi17){if (wi17>100)wi17=100; if (wi17<0)wi17=0; wi17=Math.round(wi17); this.wo7=wi17; if (wi17!=100){ this.wo11.style.filter="alpha(opacity="+wi17+")"; this.wo11.style.opacity=(wi17/100); this.wo11.style.MozOpacity=(wi17/100); }else { this.wo11.style.filter=null; this.wo11.style.opacity=null; this.wo11.style.MozOpacity=null; }} ; wib.prototype.wc= function (wI17){ this.wC=wI17; if (wI17){if (this.wR.wOf.wq=="maximize"){var wF=__lib.wf(); this.wR.wOf.setSize(wF.width,wF.height); } this.wo11.style.display="block"; if (!__lib.wOg)this.wI10.style.display="block"; if (this.wH && this.wR.wOf.wq!="maximize"){ this.wH.wh( true); this.wH.wG(); }}else { this.wI10.style.display="none"; this.wo11.style.display="none"; if (this.wH && this.wR.wOf.wq!="maximize"){ this.wH.wh( false); this.wH.wG(); }}} ; wib.prototype.wj= function (){if (this.wI10.className!=this.wR.wo18){var woo=document.createElement("div"); woo.style.cssText="position:absolute;filter:alpha(opacity=0);-moz-opacity:0.0;opacity:0.0;"; document.body.insertBefore(woo,document.body.firstChild); woo.className=this.wR.wO18; this.wO14.wl14=parseInt(__lib.wli(woo,"height")); woo.className=this.wR.wl18; this.wi14.wl14=parseInt(__lib.wli(woo,"height")); woo.className=this.wR.wi18; this.wI14.wl14=parseInt(__lib.wli(woo,"height")); woo.className=this.wR.wI18; this.wo15.wl14=parseInt(__lib.wli(woo,"height")); woo.className=this.wR.wo19; this.wi11.wi16=parseInt(__lib.wli(woo,"height")); woo.className=this.wR.wO19; this.wi11.wI16=parseInt(__lib.wli(woo,"height")); woo.className=this.wR.wl19; this.wi11.wi15=parseInt(__lib.wli(woo,"width")); woo.className=this.wR.wi19; this.wi11.wI15=parseInt(__lib.wli(woo,"width")); if (this.wO5){woo.className=this.wR.wI19; this.wO5.wi15=parseInt(__lib.wli(woo,"width")); woo.className=this.wR.wo1a; this.wO5.wI15=parseInt(__lib.wli(woo,"width")); }woo.className=this.wR.wO1a; this.wl3.wi15=parseInt(__lib.wli(woo,"width")); woo.className=this.wR.wl1a; this.wl3.wI15=parseInt(__lib.wli(woo,"width")); woo.className=this.wR.wi1a; this.wl3.wO16=parseInt(__lib.wli(woo,"width")); woo.className=this.wR.wI1a; this.wl3.wO16+=parseInt(__lib.wli(woo,"padding-left"))+parseInt(__lib.wli(woo,"padding-left")); woo.className=this.wR.wo1b; this.wl3.wO15=parseInt(__lib.wli(woo,"width")); document.body.removeChild(woo); }if (this.wR!=null){ this.wI10.className=this.wR.wo18; this.wo11.className=this.wR.wO1b; this.wO1.className=this.wR.wl1b; this.wO14.className=this.wR.wO18; this.wi14.className=this.wR.wl18; this.wI14.className=this.wR.wi18; this.wo15.className=this.wR.wI18; this.wo17.className=this.wR.wi1b; if (this.wl13!=null){ this.wl13.className=this.wR.wI1b; this.wl13.childNodes[0].childNodes[0].childNodes[0].className=this.wR.wo1c; this.wl13.childNodes[0].childNodes[0].childNodes[1].className=this.wR.wO1c; this.wl13.childNodes[0].childNodes[0].childNodes[2].className=this.wR.wl1c; } this.wI10.style.zIndex=this.wR.wi6; this.wo11.style.zIndex=(this.wR.wi6+1); }} ; wib.prototype.wld= function (wic,wIc,wod,wOd){if (this.wl3!=null && this.wL==null)this.wL=new wi1c(this.wR,this.wl3.wI1c,wic,wIc,wod,wOd); } ; wib.prototype.wI7= function (){if (this.wl3!=null)this.wl3.wI7(); if (this.wI12!=null)this.wI12.wI7(); if (this.wi11!=null)this.wi11.wI7(); if (this.wO5!=null)this.wO5.wI7(); this.wl3=null; this.wI12=null; this.wi11=null; this.wO5=null; this.wo1d=null; this.wIf.parentNode.removeChild(this.wIf); this.wO1=null; this.wo11=null; this.wI10=null; this.wIf=null; } ; wib.prototype.wO11= function (wla,wia,wIa,wob,wOb){ this.wR.wO1d(); this.wR.woe(this ); if (this.wO1.firstChild!=null)this.wO1.removeChild(this.wO1.firstChild); var wl1d=document.createElement("tbody"); this.wO1.appendChild(wl1d); this.wO14=document.createElement("td"); this.wi14=document.createElement("td"); this.wo17=document.createElement("td"); this.wI14=document.createElement("td"); this.wo15=document.createElement("td"); if (wla){var tr=document.createElement("tr");wl1d.appendChild(tr); tr.appendChild(this.wO14); this.wl3=new wi1d(this.wR); this.wO14.appendChild(this.wl3.wi12); }if (wia){var tr=document.createElement("tr");wl1d.appendChild(tr); tr.appendChild(this.wi14); this.wI12=new wI1d(this.wR); this.wi14.appendChild(this.wI12.wo13); }if (wIa){var tr=document.createElement("tr");wl1d.appendChild(tr); tr.appendChild(this.wo17); this.wi11=new wo1e(this.wR); this.wo17.appendChild(this.wi11.wO1e); }if (wob){var tr=document.createElement("tr");wl1d.appendChild(tr); tr.appendChild(this.wI14); this.wO5=new wl1e(this.wR); this.wI14.appendChild(this.wO5.wO13); }if (wOb){var tr=document.createElement("tr"); wl1d.appendChild(tr); tr.appendChild(this.wo15); this.wl13=document.createElement("table"); var wi1e=document.createElement("tbody"); this.wl13.appendChild(wi1e); wI1e=document.createElement("tr"); wi1e.appendChild(wI1e); wI1e.appendChild(document.createElement("td")); wI1e.appendChild(document.createElement("td")); wI1e.appendChild(document.createElement("td")); var wo1f=document.createElement("img"); wo1f.src=this.wR.wO1f()+"/none.gif"; wo1f.style.width="1px"; wo1f.style.height="0px"; wI1e.childNodes[1].appendChild(wo1f); this.wo15.appendChild(this.wl13); }if ((wla|wia|wIa|wob)== false){var tr=document.createElement("tr");wl1d.appendChild(tr); tr.appendChild(document.createElement("td")); } this.wj(); } ; function wi1d(wR,wl1f,wi1f,wk){ this.wR=wR; this.wR.woe(this ); this.wI1f= true; this.wi12=document.createElement("table"); var wl1d=document.createElement("tbody"); this.wi12.appendChild(wl1d); wl1d.appendChild(document.createElement("tr")); wl1d.appendChild(document.createElement("tr")); wl1d.appendChild(document.createElement("tr")); wl1d.childNodes[0].appendChild(document.createElement("td")); wl1d.childNodes[0].appendChild(document.createElement("td")); wl1d.childNodes[0].appendChild(document.createElement("td")); wl1d.childNodes[1].appendChild(document.createElement("td")); wl1d.childNodes[1].appendChild(document.createElement("td")); wl1d.childNodes[1].appendChild(document.createElement("td")); wl1d.childNodes[2].appendChild(document.createElement("td")); wl1d.childNodes[2].appendChild(document.createElement("td")); wl1d.childNodes[2].appendChild(document.createElement("td")); this.wo1g=document.createElement("table"); wl1d.childNodes[1].childNodes[1].appendChild(this.wo1g); var wl1d=document.createElement("tbody"); this.wo1g.appendChild(wl1d); wl1d.appendChild(document.createElement("tr")); this.wO1g=document.createElement("td"); this.wI1c=document.createElement("td"); this.wl1g=document.createElement("td"); wl1d.childNodes[0].appendChild(this.wO1g); wl1d.childNodes[0].appendChild(this.wI1c); wl1d.childNodes[0].appendChild(this.wl1g); this.wl15=document.createElement("div"); this.wI1c.appendChild(this.wl15); this.wj(); if (wk!=null)this.setBuiltinButtons(wk); }wi1d.prototype.wI4= function (wi1g){if (this.wk!=null)this.wl1g.removeChild(this.wk.wI1g); this.wl1g.appendChild(wi1g.wI1g); this.wk=wi1g; } ; wi1d.prototype.wI3= function (wi3){if (this.wi1f!=null)this.wl15.removeChild(this.wi1f); this.wl15.appendChild(wi3); this.wi1f=wi3; this.wj(); } ; wi1d.prototype.wl4= function (wo1h){if (this.wl1f!=null)this.wO1g.removeChild(this.wl1f); this.wO1g.appendChild(wo1h); this.wl1f=wo1h; this.wj(); } ; wi1d.prototype.wj= function (){ this.wi12.className=this.wR.wO1h; this.wi12.childNodes[0].childNodes[0].className=this.wR.wl1h; this.wi12.childNodes[0].childNodes[2].className=this.wR.wi1h; this.wi12.childNodes[0].childNodes[0].childNodes[0].className=this.wR.wI1h; this.wi12.childNodes[0].childNodes[0].childNodes[1].className=this.wR.wo1i; this.wi12.childNodes[0].childNodes[0].childNodes[2].className=this.wR.wO1i; this.wi12.childNodes[0].childNodes[1].childNodes[0].className=this.wR.wO1a; this.wi12.childNodes[0].childNodes[1].childNodes[1].className=this.wR.wl1i; this.wi12.childNodes[0].childNodes[1].childNodes[2].className=this.wR.wl1a; this.wi12.childNodes[0].childNodes[2].childNodes[0].className=this.wR.wi1i; this.wi12.childNodes[0].childNodes[2].childNodes[1].className=this.wR.wI1i; this.wi12.childNodes[0].childNodes[2].childNodes[2].className=this.wR.wo1j; this.wo1g.className=this.wR.wO1j; this.wO1g.className=this.wR.wl1j; this.wI1c.className=this.wR.wi1j; this.wl15.className=((this.wI1f)?this.wR.wI1j: this.wR.wo1k); this.wl1g.className=this.wR.wo1b; if (this.wl1f!=null)this.wl1f.className=this.wR.wO1k; } ; wi1d.prototype.wl1k= function (wI1f){ this.wI1f=wI1f; this.wj(); } ; wi1d.prototype.wI7= function (){if (this.wk!=null)this.wk.wI7(); this.wi12.parentNode.removeChild(this.wi12); this.wk=null; this.wi12=null; this.wl1f=null; this.wi1f=null; } ; function wi1c(wR,wi1k,wic,wI1k,wod,wOd){ this.wo1l=wOd; this.wR=wR; wR.woe(this ); this.wi1k=wi1k; this.wi1k.wIe=this ; this.wic=wic; this.wI1k=wI1k; this.wod=(wod!=null)?wod: this.wR.wOf.wn.wo7; this.wO1l=0; this.wl1l=0; this.wo5="drop"; this.wK= true; if (wI1k!=null)this.wi1k.style.cursor=wI1k; var wA= false; for (var i=0; i<__windowDnDs.length; i++)if (__windowDnDs[i].wR.wOf.wO==this.wR.wOf.wO){__windowDnDs[i]=this ; wA= true; }if (!wA)__windowDnDs.push(this ); this.wlr=document.createElement("div"); this.wR.wOf.wn.wIf.appendChild(this.wlr); this.wlr.style.position="absolute"; this.wlr.style.display="none"; wi1l= function (wom){if (!this.wIe.wK)return false; if (__lib.wO2){wI1l=document.onselectstart; document.onselectstart= function (wom){return false; } ; }if (wom.preventDefault)wom.preventDefault(); if (this.wIe.wo5=="drop"){ this.wIe.wo5="drag"; var wOo=this.wIe.wR.wOf.wn.wo3(); this.wIe.wO1l=__lib.wig(this.wIe.wR.wOf.wn.wo11,__lib.wIl(wom))-wOo.left; this.wIe.wl1l=__lib.wlg(this.wIe.wR.wOf.wn.wo11,__lib.wOm(wom))-wOo.top; if (wic== false){ this.wIe.wlr.style.left=wOo.left+"px"; this.wIe.wlr.style.top=wOo.top+"px"; this.wIe.wlr.style.width=wOo.width+"px"; this.wIe.wlr.style.height=wOo.height+"px"; }else { this.wIe.wo1m=this.wIe.wR.wOf.wn.wo7; this.wIe.wR.wOf.wn.wO7(this.wIe.wod); }}return false; } ; __lib.addEvent(this.wi1k,"mousedown",wi1l, false); this.wj(); }wi1c.prototype.wj= function (){ this.wlr.className=this.wR.wi1c; } ; wi1c.prototype.wOz= function (wop,wlq){ this.wo5="drop"; if (this.wic== false){ this.wlr.style.display="none"; }else { this.wR.wOf.wn.wO7(this.wo1m); }wop=__lib.wig(this.wlr,((wop-this.wO1l>0)?(wop-this.wO1l): 0)); wlq=__lib.wlg(this.wlr,((wlq-this.wl1l>0)?(wlq-this.wl1l): 0)); this.wR.wOf.wn.wM(wop,wlq); if (this.wo1l!=null)this.wo1l(); } ; wi1c.prototype.wiz= function (wop,wlq){if (this.wo5=="drag"){ this.wlr.style.display="block"; wop=__lib.wig(this.wlr,((wop-this.wO1l>0)?(wop-this.wO1l): 0)); wlq=__lib.wlg(this.wlr,((wlq-this.wl1l>0)?(wlq-this.wl1l): 0)); if (this.wic== false){ this.wlr.style.left=wop+"px"; this.wlr.style.top=wlq+"px"; }else { this.wR.wOf.wn.wM(wop,wlq); }}} ; wi1c.prototype.wI7= function (){__lib.wIo(this.wi1k,"mousedown",wi1l, false); this.wlr.parentNode.removeChild(this.wlr); this.wlr=null; } ; function WindowBuiltInButtons(wR,wi4,wW,wx){ this.wR=wR; this.wR.woe(this ); this.wI1g=document.createElement("table"); var wl1d=document.createElement("tbody"); this.wI1g.appendChild(wl1d); this.wI1g.align="right"; if (wi4 || wW || wx){wl1d.appendChild(document.createElement("tr")); if (wi4){ this.wO1m=document.createElement("td"); wl1d.childNodes[0].appendChild(this.wO1m); this.wl16=new wl1m(this.wR,"Minimize"); this.wO1m.appendChild(this.wl16.wi1m); }if (wW){ this.wI1m=document.createElement("td"); wl1d.childNodes[0].appendChild(this.wI1m); this.wJ=new wl1m(this.wR,"Maximize"); this.wI1m.appendChild(this.wJ.wi1m); }if (wx){ this.wo1n=document.createElement("td"); wl1d.childNodes[0].appendChild(this.wo1n); this.wo16=new wl1m(this.wR,"Close"); this.wo1n.appendChild(this.wo16.wi1m); }} this.wj(); }WindowBuiltInButtons.prototype.wj= function (){ this.wI1g.className=this.wR.wO1n; if (this.wO1m!=null)this.wO1m.className=this.wR.wI1a; if (this.wI1m!=null)this.wI1m.className=this.wR.wI1a; if (this.wo1n!=null)this.wo1n.className=this.wR.wI1a; } ; WindowBuiltInButtons.prototype.wI7= function (){if (this.wl16!=null){ this.wl16.wI7(); this.wl16=null; }if (this.wJ!=null){ this.wJ.wI7(); this.wJ=null; }if (this.wo16!=null){ this.wo16.wI7(); this.wo16=null; } this.wI1g.parentNode.removeChild(this.wI1g); this.wI1g=null; } ; function wl1m(wR,wl1n){ this.wR=wR; this.wR.woe(this ); this.wl1n=wl1n; this.wi1m=document.createElement("img"); this.wi1m.wIe=this ; this.wi1n= false; this.wI1n= false; this.wi1m.onmouseover=wo1o; this.wi1m.onmouseout=wO1o; this.wi1m.onmousedown=wl1o; this.wi1m.onmouseup=wi1o; this.wi1m.src=this.wR.wO1f()+"/none.gif"; this.wj(); }wl1m.prototype.wj= function (){try { this.wi1m.title=this.wl1n; }catch (wI1o){return; }if (this.wi1n){switch (this.wl1n){case "Minimize": this.wi1m.className=(this.wI1n)?this.wR.wo1p: this.wR.wO1p; break; case "Maximize":if (this.wR.wOf.wq=="maximize"){ this.wi1m.className=(this.wI1n)?this.wR.wl1p: this.wR.wi1p; this.wi1m.title="Resize Down"; }else this.wi1m.className=(this.wI1n)?this.wR.wI1p: this.wR.wo1q; break; case "Close": this.wi1m.className=(this.wI1n)?this.wR.wO1q: this.wR.wl1q; break; }}else {switch (this.wl1n){case "Minimize": this.wi1m.className=this.wR.wi1q; break; case "Maximize": this.wi1m.className=(this.wR.wOf.wq=="maximize")?this.wR.wI1q: this.wR.wo1r; break; case "Close": this.wi1m.className=this.wR.wi1a; break; }}} ; wl1m.prototype.wI7= function (){ this.wi1m.parentNode.removeChild(this.wi1m); this.wi1n=null; this.wI1n=null; this.wi1m=null; } ; wo1o= function (wom){ this.wIe.wi1n= true; this.wIe.wI1n= false; this.wIe.wj(); } ; wO1o= function (wom){ this.wIe.wi1n= false; this.wIe.wj(); } ; wl1o= function (wom){ this.wIe.wI1n= true; this.wIe.wj(); } ; wi1o= function (wom){ this.wIe.wI1n= false; switch (this.wIe.wl1n){case "Minimize": this.wIe.wR.wOf.setVisibility( false); break; case "Maximize": this.wIe.wR.wOf.setMode((this.wIe.wR.wOf.wq=="maximize")?"normal": "maximize"); break; case "Close": this.wIe.wR.wOf.setVisibility( false); break; } this.wIe.wj(); } ; function wI1d(wR){ this.wR=wR; this.wR.woe(this ); this.wo13=document.createElement("table"); var wl1d=document.createElement("tbody"); this.wo13.appendChild(wl1d); wl1d.appendChild(document.createElement("tr")); wl1d.appendChild(document.createElement("tr")); wl1d.appendChild(document.createElement("tr")); wl1d.childNodes[0].appendChild(document.createElement("td")); wl1d.childNodes[0].appendChild(document.createElement("td")); wl1d.childNodes[0].appendChild(document.createElement("td")); wl1d.childNodes[1].appendChild(document.createElement("td")); wl1d.childNodes[1].appendChild(document.createElement("td")); wl1d.childNodes[1].appendChild(document.createElement("td")); wl1d.childNodes[2].appendChild(document.createElement("td")); wl1d.childNodes[2].appendChild(document.createElement("td")); wl1d.childNodes[2].appendChild(document.createElement("td")); this.wO1r=document.createElement("div"); wl1d.childNodes[1].childNodes[1].appendChild(this.wO1r); this.wO1r.appendChild(document.createTextNode("Toolbar")); this.wj(); }wI1d.prototype.wj= function (){ this.wo13.className=this.wR.wl1r; this.wo13.childNodes[0].childNodes[0].className=this.wR.wi1r; this.wo13.childNodes[0].childNodes[2].className=this.wR.wI1r; this.wo13.childNodes[0].childNodes[0].childNodes[0].className=this.wR.wo1s; this.wo13.childNodes[0].childNodes[0].childNodes[1].className=this.wR.wO1s; this.wo13.childNodes[0].childNodes[0].childNodes[2].className=this.wR.wl1s; this.wo13.childNodes[0].childNodes[1].childNodes[0].className=this.wR.wi1s; this.wo13.childNodes[0].childNodes[1].childNodes[1].className=this.wR.wI1s; this.wo13.childNodes[0].childNodes[1].childNodes[2].className=this.wR.wo1t; this.wo13.childNodes[0].childNodes[2].childNodes[0].className=this.wR.wO1t; this.wo13.childNodes[0].childNodes[2].childNodes[1].className=this.wR.wl1t; this.wo13.childNodes[0].childNodes[2].childNodes[2].className=this.wR.wi1t; this.wO1r.className=this.wR.wI1t; } ; wI1d.prototype.wI7= function (){ this.wo13.parentNode.removeChild(this.wo13); this.wo13=null; } ; function wo1e(wR){ this.wR=wR; this.wR.woe(this ); this.wO1e=document.createElement("table"); var wl1d=document.createElement("tbody"); this.wO1e.appendChild(wl1d); wl1d.appendChild(document.createElement("tr")); wl1d.appendChild(document.createElement("tr")); wl1d.appendChild(document.createElement("tr")); wl1d.childNodes[0].appendChild(document.createElement("td")); wl1d.childNodes[0].appendChild(document.createElement("td")); wl1d.childNodes[0].appendChild(document.createElement("td")); wl1d.childNodes[1].appendChild(document.createElement("td")); wl1d.childNodes[1].appendChild(document.createElement("td")); wl1d.childNodes[1].appendChild(document.createElement("td")); wl1d.childNodes[2].appendChild(document.createElement("td")); wl1d.childNodes[2].appendChild(document.createElement("td")); wl1d.childNodes[2].appendChild(document.createElement("td")); this.wj(); }wo1e.prototype.wl12= function (wOc){var wo1u=this.wO1e.childNodes[0].childNodes[1].childNodes[1]; if (wo1u.childNodes.length>0)wo1u.removeChild(wo1u.lastChild); wo1u.appendChild(wOc.wS); wOc.wS.style.display="block"; } ; wo1e.prototype.wj= function (){ this.wO1e.className=this.wR.wO1u; this.wO1e.childNodes[0].childNodes[0].className=this.wR.wl1u; this.wO1e.childNodes[0].childNodes[2].className=this.wR.wi1u; this.wO1e.childNodes[0].childNodes[0].childNodes[0].className=this.wR.wI1u; this.wO1e.childNodes[0].childNodes[0].childNodes[1].className=this.wR.wo19; this.wO1e.childNodes[0].childNodes[0].childNodes[2].className=this.wR.wo1v; this.wO1e.childNodes[0].childNodes[1].childNodes[0].className=this.wR.wl19; this.wO1e.childNodes[0].childNodes[1].childNodes[1].className=this.wR.wO1v; this.wO1e.childNodes[0].childNodes[1].childNodes[2].className=this.wR.wi19; this.wO1e.childNodes[0].childNodes[2].childNodes[0].className=this.wR.wl1v; this.wO1e.childNodes[0].childNodes[2].childNodes[1].className=this.wR.wO19; this.wO1e.childNodes[0].childNodes[2].childNodes[2].className=this.wR.wi1v; } ; wo1e.prototype.wI7= function (){ this.wO1e.parentNode.removeChild(this.wO1e); this.wO1e=null; } ; function wO12(wO,wR,wIb,woc){ this.wR=wR; wR.woe(this ); this.wIb=wIb; if (wIb=="iframe"){ this.wS=document.getElementById(wO); if (this.wS==null)this.wS=document.createElement(this.wIb); }else this.wS=document.createElement(this.wIb); this.wS.id=wO; this.wj(); if (this.wIb=="iframe"){ this.wS.wI1v=woc; this.wS.frameBorder=0; }}wO12.prototype.wj= function (){ this.wS.className=this.wR.wO12; this.wS.style.zIndex=this.wR.wi6+3; } ; wO12.prototype.wI7= function (){ this.wS.parentNode.removeChild(this.wS); this.wIb=null; this.wS=null; } ; function wl1e(wR){ this.wR=wR; this.wR.woe(this ); this.wO13=document.createElement("table"); var wl1d=document.createElement("tbody"); this.wO13.appendChild(wl1d); wl1d.appendChild(document.createElement("tr")); wl1d.appendChild(document.createElement("tr")); wl1d.appendChild(document.createElement("tr")); wl1d.childNodes[0].appendChild(document.createElement("td")); wl1d.childNodes[0].appendChild(document.createElement("td")); wl1d.childNodes[0].appendChild(document.createElement("td")); wl1d.childNodes[1].appendChild(document.createElement("td")); wl1d.childNodes[1].appendChild(document.createElement("td")); wl1d.childNodes[1].appendChild(document.createElement("td")); wl1d.childNodes[2].appendChild(document.createElement("td")); wl1d.childNodes[2].appendChild(document.createElement("td")); wl1d.childNodes[2].appendChild(document.createElement("td")); this.wO17=document.createElement("div"); wl1d.childNodes[1].childNodes[1].appendChild(this.wO17); var wo1f=document.createElement("img"); wo1f.src=this.wR.wO1f()+"/none.gif"; wo1f.style.cssText="width:1px;height:0px;"; this.wO17.appendChild(wo1f); this.wj(); }wl1e.prototype.wi5= function (wl5){if (this.wl5!=null)this.wO17.removeChild(this.wl5); this.wO17.appendChild(wl5); this.wl5=wl5; } ; wl1e.prototype.wj= function (){ this.wO13.className=this.wR.wo1w; this.wO13.childNodes[0].childNodes[0].className=this.wR.wO1w; this.wO13.childNodes[0].childNodes[2].className=this.wR.wl1w; this.wO13.childNodes[0].childNodes[0].childNodes[0].className=this.wR.wi1w; this.wO13.childNodes[0].childNodes[0].childNodes[1].className=this.wR.wI1w; this.wO13.childNodes[0].childNodes[0].childNodes[2].className=this.wR.wo1x; this.wO13.childNodes[0].childNodes[1].childNodes[0].className=this.wR.wI19; this.wO13.childNodes[0].childNodes[1].childNodes[1].className=this.wR.wO1x; this.wO13.childNodes[0].childNodes[1].childNodes[2].className=this.wR.wo1a; this.wO13.childNodes[0].childNodes[2].childNodes[0].className=this.wR.wl1x; this.wO13.childNodes[0].childNodes[2].childNodes[1].className=this.wR.wi1x; this.wO13.childNodes[0].childNodes[2].childNodes[2].className=this.wR.wI1x; this.wO17.className=this.wR.wo1y; } ; wl1e.prototype.wI7= function (){ this.wO13.parentNode.removeChild(this.wO13); this.wl5=null; this.wO17=null; this.wO13=null; } ; function wl0(wOf,wQ){ this.wOf=wOf; this.wr="nothing"; this.wi6=1; this.wO1y=new Array(); this.wO=wOf.wO+"_style"; this.wQ=wQ; }wl0.prototype.wO1f= function (){return (this.wQ+"/"+this.wr); } ; wl0.prototype.wl1y= function (wr){var wi1y=document.getElementById(this.wO); if (wi1y!=null){wi1y.href=this.wQ+"/"+wr+"/"+wr+".css"; }else {wi1y=document.createElement("link"); wi1y.id=this.wO; wi1y.href=this.wQ+"/"+wr+"/"+wr+".css"; wi1y.type="text/css"; wi1y.media="all"; wi1y.rel="StyleSheet"; document.body.insertBefore(wi1y,document.body.firstChild); } this.wo18=wr+"IframeLayer"; this.wO1b=wr+"WindowLayer"; this.wl1b=wr+"MasterTable"; this.wO18=wr+"HeaderContainer"; this.wl18=wr+"ToolbarContainer"; this.wi1b=wr+"ContentContainer"; this.wi18=wr+"FooterContainer"; this.wI18=wr+"BottomLineContainer"; this.wO1h=wr+"HeaderTable"; this.wl1h=wr+"HeaderTop"; this.wi1h=wr+"HeaderBottom"; this.wI1h=wr+"HeaderTopLeft"; this.wo1i=wr+"HeaderTopCenter"; this.wO1i=wr+"HeaderTopRight"; this.wO1a=wr+"HeaderMiddleLeft"; this.wl1i=wr+"HeaderMiddleCenter"; this.wl1a=wr+"HeaderMiddleRight"; this.wi1i=wr+"HeaderBottomLeft"; this.wI1i=wr+"HeaderBottomCenter"; this.wo1j=wr+"HeaderBottomRight"; this.wO1j=wr+"HeaderInnerTable"; this.wl1j=wr+"HeaderLogoContainer"; this.wO1k=wr+"HeaderLogo"; this.wi1j=wr+"HeaderTitle"; this.wI1j=wr+"TitlePanel"; this.wo1k=wr+"TitlePanelDisable"; this.wo1b=wr+"HeaderBuiltinButtonsContainer"; this.wO1n=wr+"WindowBuiltinButtonsTable"; this.wI1a=wr+"ButtonContainer"; this.wO1p=wr+"ButtonMinimizeOver"; this.wi1q=wr+"ButtonMinimizeOut"; this.wo1p=wr+"ButtonMinimizeDown"; this.wo1q=wr+"ButtonMaximizeOver"; this.wo1r=wr+"ButtonMaximizeOut"; this.wI1p=wr+"ButtonMaximizeDown"; this.wi1p=wr+"ButtonRestoreDownOver"; this.wI1q=wr+"ButtonRestoreDownOut"; this.wl1p=wr+"ButtonRestoreDownDown"; this.wl1q=wr+"ButtonCloseOver"; this.wi1a=wr+"ButtonCloseOut"; this.wO1q=wr+"ButtonCloseDown"; this.wl1r=wr+"ToolbarTable"; this.wi1r=wr+"ToolbarTop"; this.wI1r=wr+"ToolbarBottom"; this.wo1s=wr+"ToolbarTopLeft"; this.wO1s=wr+"ToolbarTopCenter"; this.wl1s=wr+"ToolbarTopRight"; this.wi1s=wr+"ToolbarMiddleLeft"; this.wI1s=wr+"ToolbarMiddleCenter"; this.wo1t=wr+"ToolbarMiddleRight"; this.wO1t=wr+"ToolbarBottomLeft"; this.wl1t=wr+"ToolbarBottomCenter"; this.wi1t=wr+"ToolbarBottomRight"; this.wI1t=wr+"ToolbarPanel"; this.wO1u=wr+"ContentTable"; this.wl1u=wr+"ContentTop"; this.wi1u=wr+"ContentBottom"; this.wI1u=wr+"ContentTopLeft"; this.wo19=wr+"ContentTopCenter"; this.wo1v=wr+"ContentTopRight"; this.wl19=wr+"ContentMiddleLeft"; this.wO1v=wr+"ContentMiddleCenter"; this.wi19=wr+"ContentMiddleRight"; this.wl1v=wr+"ContentBottomLeft"; this.wO19=wr+"ContentBottomCenter"; this.wi1v=wr+"ContentBottomRight"; this.wO12=wr+"ContentPanel"; this.wo1w=wr+"FooterTable"; this.wO1w=wr+"FooterTop"; this.wl1w=wr+"FooterBottom"; this.wi1w=wr+"FooterTopLeft"; this.wI1w=wr+"FooterTopCenter"; this.wo1x=wr+"FooterTopRight"; this.wI19=wr+"FooterMiddleLeft"; this.wO1x=wr+"FooterMiddleCenter"; this.wo1a=wr+"FooterMiddleRight"; this.wl1x=wr+"FooterBottomLeft"; this.wi1x=wr+"FooterBottomCenter"; this.wI1x=wr+"FooterBottomRight"; this.wo1y=wr+"FooterPanel"; this.wI1b=wr+"BottomLineTable"; this.wo1c=wr+"BottomLineLeft"; this.wO1c=wr+"BottomLineCenter"; this.wl1c=wr+"BottomLineRight"; this.wi1c=wr+"DragPanel"; this.wOh=wr+"FilterIframeLayer"; this.wlh=wr+"FilterDivLayer"; this.wox=wr+"ResizeHandle"; this.woz=wr+"ResizeConnerSize"; this.wlx=wr+"CursorResizeLeft"; this.wix=wr+"CursorResizeTop"; this.wIx=wr+"CursorResizeRight"; this.woy=wr+"CursorResizeBottom"; this.wOy=wr+"CursorResizeTopLeft"; this.wly=wr+"CursorResizeTopRight"; this.wiy=wr+"CursorResizeBottomRight"; this.wIy=wr+"CursorResizeBottomLeft"; this.wOx=wr+"ResizePanel"; } ; wl0.prototype.startStyle= function (wr){ this.wr=wr; if (this.wI1y==null){ this.wo1z=document.createElement("link"); this.wo1z.href=this.wQ+"/"+wr+"/"+wr+".css"; this.wo1z.type="text/css"; this.wo1z.media="all"; this.wo1z.rel="StyleSheet"; document.body.insertBefore(this.wo1z,document.body.firstChild); this.wI1y=document.createElement("div"); this.wI1y.id=this.wO+"_t"; document.body.insertBefore(this.wI1y,document.body.firstChild); this.wI1y.objCT=this ; this.wO1z=0; } this.wI1y.className=wr+"End"; if (__lib.wli(this.wI1y,"width")=="9px"){document.body.removeChild(this.wI1y); document.body.removeChild(this.wo1z); this.wI1y=null; this.wo1z=null; this.wl1y(wr); this.wj(); }else {if (this.wO1z<20)setTimeout("document.getElementById('"+this.wO+"_t').objCT.startStyle('"+wr+"')",100); else alert("Window/Dialog style could not be loaded."); this.wO1z+=1; }} ; wl0.prototype.wj= function (){for (var i=0; i<this.wO1y.length; i++){ this.wO1y[i].wj(); }if (this.wOf.wn!=null){wI2=this.wOf.wn.wo3(); this.wOf.wn.wm(wI2.width,wI2.height); }} ; wl0.prototype.wl6= function (wl7){ this.wi6=wl7; this.wj(); } ; wl0.prototype.woe= function (wIm){ this.wO1y.push(wIm); } ; wl0.prototype.wO1d= function (){ this.wO1y=new Array(); } ; if (typeof(Windowcore_loaded)=="undefined"){var Windowcore_loaded=1; var wY=0; var wl1z=0; var wi1z=0; wI1z=window.onresize; wof=new Array(); window.onresize= function (){if (wI1z!=null)wI1z(); wo20(); wO20(); wl20(); };var wi20= false; wI20=window.onscroll; window.onscroll= function (){if (wI20!=null)wI20(); wO20(); wl20(); wi1z=__lib.wD(); wl1z=__lib.wd(); };function wO20(){for (var i=0; i<wof.length; i++)wof[i].wog(); for (var i=0; i<wof.length; i++){try {wof[i].wG(); }catch (wI1o){}}}function wl20(){if (typeof(oWindowManager)=="undefined")return; for (var i=0; i<oWindowManager.wo.length; i++){try {if (oWindowManager.wo[i].wN){var wo21=oWindowManager.wo[i].wn.wo3(); wO21=__lib.wD(); wl21=__lib.wd(); oWindowManager.wo[i].wn.wM(wO21-wi1z+wo21.left,wl21-wl1z+wo21.top); }}catch (wI1o){}}}function wo20(){if (typeof(oWindowManager)=="undefined")return; var wi21=new Array(); for (var i=0; i<oWindowManager.wo.length; i++)if (oWindowManager.wo[i].wq=="maximize" && oWindowManager.wo[i].getVisibility())wi21[wi21.length]=i; for (var i=0; i<wi21.length; i++){try {oWindowManager.wo[wi21[i]].wn.wc( false); oWindowManager.wo[wi21[i]].wn.wc( true); }catch (wI1o){}}}var __lib=new wih(); var wI21=document.onselectstart; var __windowResizes=new Array(); var wo22= function (wom){for (var i=0; i<__windowResizes.length; i++){__windowResizes[i].wiz(__lib.wIl(wom),__lib.wOm(wom)); }} ; var wO22= function (wom){if (__lib.wO2)document.onselectstart=wI21; for (var i=0; i<__windowResizes.length; i++)if (__windowResizes[i].wo5=="drag"){__windowResizes[i].wOz(__lib.wIl(wom),__lib.wOm(wom)); }} ; __lib.addEvent(document,"mousemove",wo22, false); __lib.addEvent(document,"mouseup",wO22, false); var wI1l=document.onselectstart; var __windowDnDs=new Array(); var wl22= function (wom){for (var i=0; i<__windowDnDs.length; i++)if (__windowDnDs[i]!=null)__windowDnDs[i].wiz(__lib.wIl(wom),__lib.wOm(wom)); } ; var wi22= function (wom){if (__lib.wO2)document.onselectstart=wI1l; for (var i=0; i<__windowDnDs.length; i++)if (__windowDnDs[i]!=null)if (__windowDnDs[i].wo5=="drag"){__windowDnDs[i].wOz(__lib.wIl(wom),__lib.wOm(wom)); }} ; __lib.addEvent(document,"mousemove",wl22, false); __lib.addEvent(document,"mouseup",wi22, false); }
