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