//********************************************************************************************************** // EO.Web Script Library. Copyright (C) 2004-2006 Essential Objects, Inc. All rights reserved. // Visit Us on the Web: http://www.essentialobjects.com // Version: 4.0.20.2 //********************************************************************************************************** var eo_hi=0;var eo_hj=1;var eo_hk=2;var g_Dialog_Veil=null;var g_DialogStack=new Array();var g_RootChecked=false;function _eofdg_a(a){if(a)this.agp(a);}function _eofdg_b(a){this.aci(a[0]);this.agq(a[1],a[2],a[3],a[4],a[5],a[6],a[7],a[8],a[9],a[10],a[11],a[12],a[13],a[14],a[15],a[16],a[17],a[18],a[19],a[20],a[21],a[22],a[23],a[24],a[25],a[26],a[27],a[28],a[29],a[30],a[31],a[32],a[33],a[34],a[35],a[36],a[37],a[38],a[39],a[40],a[41],a[42],a[43],a[44],a[45]);}function _eofdg_c(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,aa,ab,ac,ad,ae,af,ag,ah,ai,aj,ak,al,am,an,ao,ap,aq,ar){this.agr=a;this.ags=b?b:5;this.agt=c;if(c&&(c.toLowerCase()=="grey"))this.agt="#bebebe";this.agu=d;this.agv=e!=null?e:true;this.agw=f;this.agx=h;this.agy=i;this.agz=j;this.aha=k;this.ahb=l;this.ahc=m;this.ahd=n;this.ahe=o==null?"window":o;this.ahf=p?p:0;this.ahg=q?q:0;if(this.ahf&&this.ahg&&(this.ahf>this.ahg))this.ahf=this.ahg;this.ahh=r?r:0;this.ahi=s?s:0;if(this.ahh&&this.ahi&&(this.ahh>this.ahi))this.ahh=this.ahi;this.ahj=ae;this.ahk=af;this.ahl=t;this.ahm=u;this.ahn=v;this.aho=w==null?eo_bj:w;this.abg=x?x:0;this.abh=y?y:0;this.ahp=z;this.ahq=aa;this.ahr=ab;this.ahs=ac;this.aht=ag;this.ahu=ah;this.ahv=ai;this.ahw=aj;this.ahx=ak;this.ahy=al;this.ahz=am;this.aia=an;this.aib=ad==null?true:ad;this.aic=ao;this.aid=ap;this.aie=aq==null?true:false;this.aif=ar;}function _eofdg_d(a,b){this.acy(a);if(!g_Dialog_Veil){g_Dialog_Veil=document.createElement("DIV");g_Dialog_Veil.style.position="absolute";g_Dialog_Veil.style.left="0px";g_Dialog_Veil.style.top="0px";g_Dialog_Veil.style.height="0px";g_Dialog_Veil.style.zIndex=_eofu_ed()-1000;g_Dialog_Veil.style.width="0px";g_Dialog_Veil.style.height="0px";g_Dialog_Veil.style.display="none";_eofu_ee(g_Dialog_Veil,0);_eofi_p(window,"onresize",_eofdg_g);_eofi_p(window,"onscroll",_eofdg_g);_eofdg_g();document.getElementById("eo_root").appendChild(g_Dialog_Veil);}if((_eofi_au()=="IE")&&(_eofi_av()>=5.5))this.aig=true;this.aih=document.getElementById(this.c);if(!this.aih)return;this.aih.style.position="absolute";this.aii=b;this.aih.style.left="-3000px";this.aih.style.top="-3000px";this.aij=this.aih;var c=this.aih.parentNode;while(c){if(c.nodeType==1){var d=false;var e=_eofu_l(c);if(_eofu_k(e.position))d=true;else if(((_eofi_au()=="MZ")||((_eofi_au()=="IE")&&!_eofu_dx(this.aih)))&&((e.overflow=="auto")||(e.overflow=="scroll")||(e.overflow=="hidden")))d=true;if(d){var f=this.ada();this.aij=this.aih.parentNode;this.aih.parentNode.removeChild(this.aih);f.appendChild(this.aih);break;}}c=c.parentNode;}if(this.agt&&this.agu){if((_eofi_au()=="IE")&&(_eofi_av()>=5.5)){this.aik="progid:DXImageTransform.Microsoft.Shadow(color="+this.agt+",direction=135,strength="+this.agu.toString()+")";this.aih.style.filter=this.aik;}else{this.afw=document.createElement("DIV");this.afw.style.position="absolute";this.ada().appendChild(this.afw);this.afw.style.backgroundColor=this.agt;_eofu_ee(this.afw,50);}}this.ail=new _eofpop_c(this,this.aih,this.afw);if(!this.agx)this.agx=_eofei_c();if(!this.agy)this.agy=_eofei_c();this.aed=eo_en;this.aef=_eofei_e(this,this.agx,this.agy);this.aim=this.aih.rows[0].cells[0];this.ain=this.aih.rows[1].cells[0];this.aio=document.getElementById(this.c+"_grip");this.aip=document.getElementById(this.c+"_iframe");this.aiq=document.getElementById(this.c+"_footer");this.air=document.getElementById(this.c+"_headerDiv");this.ais=document.getElementById(this.c+"_headerHtml");this.ait=document.getElementById(this.c+"_contentTable");this.aiu=document.getElementById(this.c+"_footerDiv");if(_eofi_au()=="MZ"){this.ait.style.position="";if(this.aio&&(this.aih.rows.length==2)){var g=_eofu_ai(this.aih);var h=_eofu_aj(g);var i=document.createElement("DIV");h.appendChild(i);i.style.position="relative";this.aio.parentNode.removeChild(this.aio);this.aiv=i;i.appendChild(this.aio);}}if(this.aip){if((_eofi_au()=="IE")&&_eofu_dx(this.aih)){var j=this.aip.parentNode;this.aiw=document.createElement("DIV");j.appendChild(this.aiw);j.removeChild(this.aip);this.aiw.appendChild(this.aip);if(this.aip.className){this.aiw.className=this.aip.className;this.aip.className="";}this.aiw.style.height="100%";}if(_eofi_au()!="IE"){if(this.aip.className){this.aip.parentNode.className=this.aip.className;this.aip.className="";}}}if(this.agv)_eofdd_a(this,this.aim,"move");if(this.aio){this.aio.style.cursor="SE-resize";if(!this.aiv)_eofdd_a(this,this.aio,"resize");else{this.aiv.onmousedown=_eofdg_f;this.aiv.eo_hl=this;}}if(!_eofu_dx(this.aih)){var k=document.getElementById(this.c+"_headerTable");_eofu_cb(k,[this.aih,this.air]);}this.aix=document.getElementById(this.c+"_min");this.aiy=document.getElementById(this.c+"_close");if(this.aix){this.aix.eo_hl=this;this.aix.onmousedown=_eofdg_at;}if(this.aiy){this.aiy.eo_hl=this;this.aiy.onmousedown=_eofdg_au;}if(this.ahp){this.ahp=document.getElementById(this.ahp);if(this.ahp){this.ahp.eo_hl=this;this.ahp.eo_hm=this.ahp.onclick;this.ahp.onclick=_eofdg_ba;}}if(this.ahr){this.ahr=document.getElementById(this.ahr);if(this.ahr){this.ahr.eo_hl=this;this.ahr.eo_hm=this.ahr.onclick;this.ahr.onclick=_eofdg_bb;}}if(this.aib)_eofu_as(this.aih,eo_bq,this);if(this.aic){this.aih.style.display="";_eofu_ap(this,eo_at,30);}this.ai();}function _eofdg_e(){this.aiz(null,true);if(this.aja){_eofu_cy(this.aja,this.ajb);this.aja=null;}_eofdd_b(this.aim);if(this.aiv){this.aiv.onmousedown=null;this.aiv.eo_hl=null;}if(this.ajc)_eofdd_b(this.aio);if(this.aix){this.aix.eo_hl=null;this.aix.onmousedown=null;}if(this.aiy){this.aiy.eo_hl=null;this.aiy.onmousedown=null;}if(this.ahp){this.ahp.eo_hl=null;this.ahp.eo_hm=null;this.ahp.onclick=null;}if(this.ahr){this.ahr.eo_hl=null;this.ahr.eo_hm=null;this.ahr.onclick=null;}if(this.aid){this.aid.onclick=null;this.aid.eo_hl=null;}_eofu_ba(this.aih);_eofu_aq(this,eo_as);_eofu_aq(this,eo_at);this.adb();}function _eofdg_f(a){var b=this.eo_hl;var c=document.createElement("DIV");c.style.position="absolute";c.style.backgroundColor="white";c.style.zIndex=b.ajd+5;c.style.cursor="SE-resize";_eofu_ee(c,1);var d=_eofu_ah(b.aih);c.style.left=_eofu_aa(d.aau);c.style.top=_eofu_aa(d.aav);c.style.width=_eofu_aa(_eofu_ab(b.aih));c.style.height=_eofu_aa(_eofu_ac(b.aih));document.body.appendChild(c);b.aje=c;_eofdd_a(b,c,"resize");_eofdd_c(c,this,a);}function _eofdg_g(){_eofu_s(document.body);var a=_eofu_r(window);g_Dialog_Veil.style.left=_eofu_aa(a.aau);g_Dialog_Veil.style.top=_eofu_aa(a.aav);g_Dialog_Veil.style.width=_eofu_aa(window.eo_bb);g_Dialog_Veil.style.height=_eofu_aa(window.eo_bc);}function _eofdg_h(a){if(this.eo_hn){this.eo_hn.ajf(a);_eofi_dk(document.body,a);}return false;}function _eofdg_i(a){if(this.ajg==true){this.ajh(a);this.aji=0;_eofu_ap(this,eo_as,100,true);}}function _eofdg_j(a){if(a){_eofu_w(this.air,this.agz);_eofu_w(this.ait,this.ahc);if(this.aiq)_eofu_w(this.aiq,this.ahj);}else{if(this.aha)_eofu_w(this.air,this.aha);if(this.ahd)_eofu_w(this.ait,this.ahd);if(this.aiq&&this.ahk)_eofu_w(this.aiq,this.ahk);}}function _eofdg_k(a){if(a==eo_as){this.ajj((this.aji%2)==1);this.aji++;if(this.aji==4)_eofu_aq(this,eo_as);}else if(a==eo_at){var b=_eofu_ac(this.aih);var c=_eofu_ac(this.air);if(b&&c){this.show(null,null,null,true);if(this.aic==eo_hk)this.minimize();}else _eofu_ap(this,eo_at,30);}else this.ade(a);}function _eofdg_l(a,b,c,d){var e;if(a==null)a=this.aie;if(b)dialog.setCaption(b);if(this.ajk(this.ahx,c)==false)return;if((this.ajg!=null)||(this.aed!=eo_en))return;this.ajg=a?true:false;_eofi_v(g_DialogStack,this);if(a){_eofdg_m();if(this.ajl){g_Dialog_Veil.eo_hn=this;g_Dialog_Veil.onmousedown=_eofdg_h;g_Dialog_Veil.style.display="block";g_Dialog_Veil.style.backgroundColor=this.agr;if(this.agr)_eofu_ee(g_Dialog_Veil,this.ags);else{g_Dialog_Veil.style.backgroundColor="white";_eofu_ee(g_Dialog_Veil,1);}_eofdg_g();}}if(this.aig&&!this.aja){this.aja=_eofu_cv(document,true);if(this.ajb)this.aja.src=this.ajb;this.ada().appendChild(this.aja);}_eofdg_n();_eofdg_o();this.aef.aen(d);this.ajm=true;}function _eofdg_m(){var a=false;for(var b=g_DialogStack.length-1;b>=0;b--){if(g_DialogStack[b].ajg==true){if(!a){g_DialogStack[b].ajl=true;a=true;}}else g_DialogStack[b].ajl=false;}}function _eofdg_n(){for(var a=0;a=0;b--){var c=g_DialogStack[b];if(c.ajg==true){c.ajj(true);continue;}else{if(!a){a=c;c.ajj(true);}else c.ajj(false);}}}function _eofdg_p(a,b){var c=-1;for(var d=0;dc+e)h=c+e-j;if(i+k>d+f)i=d+f-k;if(hthis.ahg))a.aau=this.ahg;if(a.aav&&this.ahi&&(a.aav>this.ahi))a.aav=this.ahi;if(a.aau&&this.ahf&&(a.aau2)_eofu_al(this.aih.rows[2],false);this.ail.agl();this.ajp();this.akc=true;}function _eofdg_ax(a){if(!this.akc)return;if(!this.ajk(this.ahu,a))return;if(this.aix)this.aix.src=this.ahl;_eofu_al(this.aih.rows[1],true);if(this.aih.rows.length>2)_eofu_al(this.aih.rows[2],true);this.ail.agl();this.ajp();this.akc=false;}function _eofdg_ay(a){if(!this.ajk(this.ahv,a))return;this.end(this.ahq);}function _eofdg_az(a){if(!this.ajk(this.ahw,a))return;this.end(this.ahs);}function _eofdg_ba(a){var b=this.eo_hl;var c=false;if(b){b.accept(a);if(!b.ahz)_eofi_dk(document.body,a);else{if(this.eo_hm)this.eo_hm(a);c=true;}}return c;}function _eofdg_bb(a){var b=this.eo_hl;var c=false;if(b){b.cancel(a);if(!b.aia)_eofi_dk(document.body,a);else{if(this.eo_hm)this.eo_hm(a);c=true;}}return c;}function _eofdg_bc(a,b){if(!a)return true;a=window[a];if(!a)return true;if(a(this,b)==false)return false;return true;}function _eofdg_bd(a){if(this.ajg==true)return;var b=new Array();for(var c=0;c