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