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