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