//**********************************************************************************************************
// EO.Web Script Library. Copyright (C) 2006-2008 Essential Objects, Inc. All rights reserved.
// Visit Us on the Web: http://www.essentialobjects.com
// Version: 7.0.75.2
//**********************************************************************************************************
 var eo_kn=0;var eo_ko=1;var eo_kp=2;var eo_kq=null;var eo_kr=new Array();var eo_ks=false;var eo_kt=0;var eo_ku=1;var eo_kv=2;var eo_kw=3;function _eofdg_a(){var a;a=document.createElement("DIV");if(_eofu_ft())a.style.position="fixed";else a.style.position="absolute";a.style.left="0px";a.style.top="0px";a.style.height="0px";a.style.zIndex=_eofu_ek()-5000;a.style.width="0px";a.style.height="0px";a.style.display="none";a.onmousedown=_eofdg_g;_eofu_el(a,0);document.getElementById("eo_root").appendChild(a);this.amy=a;_eofldr_bl(window,"onresize",_eofdg_c);_eofldr_bl(window,"onscroll",_eofdg_d);}function _eofdg_b(){var a=this.amy;_eofu_u(document.body);if(window.eo_db&&window.eo_dc){if(!_eofu_ft()){var b=_eofu_s(window);a.style.left=_eofldr_bb(b.adv);a.style.top=_eofldr_bb(b.adw);}a.style.width=_eofldr_bb(window.eo_db);a.style.height=_eofldr_bb(window.eo_dc);}else{var c=this;setTimeout(function(){c.anw();},100);}}function _eofdg_c(a){if(eo_kq)eo_kq.anw();_eofdg_u(true);if(typeof(_eofiz_i)=="function")_eofiz_i(true);_eofdg_dl(true);}function _eofdg_d(a){_eofdg_u(false);if(eo_kq&&!_eofu_ft()){var b=eo_kq.amy;var c=_eofu_s(window);b.style.left=_eofldr_bb(c.adv);b.style.top=_eofldr_bb(c.adw);}if(typeof(_eofiz_i)=="function")_eofiz_i(false);_eofdg_dl(false);}function _eofdg_e(a,b){var c=this.amy;c.style.display="block";c.style.backgroundColor=a;if(a)_eofu_el(c,b);else{c.style.backgroundColor="white";_eofu_el(c,1);}}function _eofdg_f(a,b,c){var d=this.amy;if(d.eo_kx&&(d.eo_kx!=a))this.anx(d.eo_kx);d.eo_kx=a;this.any(b,c);}function _eofdg_g(a){if(this.eo_kx){this.eo_kx.anz(a);_eofi_ea(document.body,a);}return false;}function _eofdg_h(a){var b=this.amy;if(b.eo_kx==a){b.eo_kx=null;b.onmousedown=null;b.style.display="none";}}function _eofdg_i(a,b){var c=this.amy;if(c.eo_kx==a)c.style.zIndex=b;}_eofdg_a.prototype.aoa=_eofdg_f;_eofdg_a.prototype.anx=_eofdg_h;_eofdg_a.prototype.aob=_eofdg_i;_eofdg_a.prototype.any=_eofdg_e;_eofdg_a.prototype.anw=_eofdg_b;function _eofdg_j(){if(!eo_kq)eo_kq=new _eofdg_a();_eofdg_c();}function _eofdg_k(a,b,c){if(eo_kq)eo_kq.aoa(a,b,c);}function _eofdg_l(a){if(eo_kq)eo_kq.anx(a);}function _eofdg_m(a,b){if(eo_kq)eo_kq.aob(a,b);}function _eofdg_n(a){if(a)this.aoc(a);}function _eofdg_o(a){this.aff(a[0]);this.aod(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],a[46],a[47],a[48],a[49],a[50],a[51],a[52],a[53],a[54],a[55],a[56],a[57]);}function _eofdg_p(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,as,at,au,av,aw,ax,ay,az,ba,bb,bc,bd){this.aoe=a;this.aof=b?b:5;this.aog=c;if(c&&(c.toLowerCase()=="grey"))this.aog="#bebebe";this.aoh=d;this.aoi=e!=null?e:true;this.aoj=f;this.aok=h;this.aol=i;this.aom=ax;this.aon=j;this.aoo=k;this.aop=l;this.aoq=m;this.aor=n;this.aos=o==null?"window":o;this.aot=p?p:0;this.aou=q!=null?(q<=0?-1:q):0;if((this.aot>0)&&(this.aou>0)&&(this.aot>this.aou))this.aot=this.aou;this.aov=r?r:0;this.aow=s!=null?(s<=0?-1:s):0;if((this.aov>0)&&(this.aow>0)&&(this.aov>this.aow))this.aov=this.aow;this.aox=ae;this.aoy=af;this.aoz=t;this.apa=u;this.apb=v;this.apc=w==null?eo_dl:w;this.aed=x?x:0;this.aee=y?y:0;this.apd=z;this.ape=aa;this.apf=ab;this.apg=ac;this.aph=ag;this.api=ah;this.apj=ai;this.apk=aj;this.apl=ak;this.apm=al;this.apn=am;this.apo=an;this.app=ad==null?true:ad;this.apq=ao;this.apr=ap;this.aps=aq==null?true:false;this.apt=ar;this.agg=as;this.apu=at;this.apv=au;this.apw=av;this.apx=aw;this.apy=ay;this.apz=az;this.aqa=ba;this.aqb=bb==null?5:bb;if(bc){this.aqc=new Array();for(var be=0;be<Math.floor(bc.length/3);be++){var bf=new Object();bf.ClientSideHandler=bc[be*3];bf.CommandName=bc[be*3+1];bf.Text=bc[be*3+2];this.aqc[be]=bf;}}this.aqd=bd;this.aqe=0;}function _eofdg_q(a,b){this.agh(a);this.aqf=b;if(_eofldr_h()!="SA"){this.aqg();this.aau();}}function _eofdg_r(){if(this.aqh)return;_eofdg_j();if((_eofldr_h()=="IE")&&(_eofldr_i()>=5.5))this.aqi=true;this.aqh=document.getElementById(this.bk);if(!this.aqh)return;this.aqh.cellSpacing=0;this.aqh.cellPadding=0;this.agj(this.aqh,true);var a=this.aaa(true);a.eo_m=a.parentNode;if(_eofu_ft())a.style.position="fixed";else a.style.position="absolute";if(!this.aqj)a.style.left="-3000px";a.style.top="-3000px";this.aqk=a;var b=a.parentNode;while(b){if(b.tagName=="HTML")break;if(b.nodeType==1){var c=false;var d=_eofldr_ay(b);if(d){if(_eofu_n(d.position))c=true;else if(((_eofldr_h()=="MZ")||(_eofldr_h()=="IE"))&&((d.overflow=="auto")||(d.overflow=="scroll")||(d.overflow=="hidden"))&&(!b.tagName||(b.tagName.toLowerCase()!="body")))c=true;if(c){var e=this.ado();this.aqk=a.parentNode;a.parentNode.removeChild(a);e.appendChild(a);break;}}}b=b.parentNode;}this.agk();this.amx=new _eofpop_c(this,this.aaa(true));this.aql();this.amx.amr(this.als);if(!this.aok)this.aok=_eofei_c();if(!this.aol)this.aol=_eofei_c();this.ajh=eo_hr;this.ajj=_eofei_e(this,this.aok,this.aol);this.aqm=this.aqh.rows[0].cells[0];this.aqn=this.aqh.rows[1].cells[0];this.aqo=document.getElementById(this.bk+"_grip");this.aqp=document.getElementById(this.bk+"_iframe");this.aqq=document.getElementById(this.bk+"_footer");this.aqr=document.getElementById(this.bk+"_headerDiv");this.aqs=document.getElementById(this.bk+"_headerHtml");this.aqt=document.getElementById(this.bk+"_contentTable");this.aqu=document.getElementById(this.bk+"_footerDiv");if(this.apy){this.aqv=$eo_get(this.bk+"_msg_bd");this.aqw=$eo_get(this.bk+"_msg_i");if(this.aqw){_eofdd_a(this,this.aqw,"move");this.aqw.style.cursor="move";}this.aqx=$eo_get(this.bk+"_msg_t");this.aqy=$eo_get(this.bk+"_msg_b");}if(this.aqr&&this.aoi){this.aqr.style.cursor="move";_eofu_cr(this.aqr,true);}if(this.aqs&&this.aqj())this.aqs.align="right";if(this.aqt){this.aqt.cellSpacing=0;this.aqt.cellPadding=0;}if(_eofldr_h()=="MZ"){this.aqt.style.position="";if(this.aqo&&(this.aqh.rows.length==2)){var f=_eofldr_p(this.aqh);var g=_eofldr_q(f);var h=document.createElement("DIV");g.appendChild(h);h.style.position="relative";this.aqo.parentNode.removeChild(this.aqo);this.aqz=h;h.appendChild(this.aqo);}}if(this.aqp){if((_eofldr_h()=="IE")&&_eofldr_n(this.aqh)){var i=this.aqp.parentNode;this.ara=document.createElement("DIV");this.ara.style.position="relative";i.appendChild(this.ara);i.removeChild(this.aqp);this.ara.appendChild(this.aqp);if(this.aqp.className){this.ara.className=this.aqp.className;this.aqp.className="";}this.ara.style.height="100%";_eofu_ap(this,eo_bw,30,true);this.arb();}if(_eofldr_h()!="IE"){if(this.aqp.className){this.aqp.parentNode.className=this.aqp.className;this.aqp.className="";}}}if(this.aoi)_eofdd_a(this,this.aqm,"move");if(this.aqo){this.aqo.style.cursor="SE-resize";if(!this.aqz)_eofdd_a(this,this.aqo,"resize");else{this.aqz.onmousedown=_eofdg_t;this.aqz.eo_ky=this;}}if(_eofldr_o(this.aqh)){var j=$eo_get(this.bk+"_headerTableL");if(j)_eofldr_cl(j,[this.aqh,this.aqr]);j=$eo_get(this.bk+"_headerTableR");if(j)_eofldr_cl(j,[this.aqh,this.aqr]);var k=$eo_get(this.bk+"_footerTable");_eofldr_cl(k,[this.aqh,this.aqu]);if(this.aqv)_eofldr_cl(this.aqv,[this.aqh,this.aqt.rows[0].cells[0]]);if(this.aqy)_eofldr_cl(this.aqy,[this.aqh,this.aqq]);}this.arc=document.getElementById(this.bk+"_min");this.ard=document.getElementById(this.bk+"_close");if(this.arc){this.arc.style.cursor="default";this.arc.eo_ky=this;this.arc.onmousedown=_eofdg_bs;}if(this.ard){this.ard.style.cursor="default";this.ard.eo_ky=this;this.ard.onmousedown=_eofdg_bt;}if(this.apd){this.apd=document.getElementById(this.apd);if(this.apd){this.apd.eo_ky=this;this.apd.eo_kz=this.apd.onclick;this.apd.onclick=_eofdg_bz;}}if(this.apf){this.apf=document.getElementById(this.apf);if(this.apf){this.apf.eo_ky=this;this.apf.eo_kz=this.apf.onclick;this.apf.onclick=_eofdg_cb;}}if(this.app)_eofu_as(this.aqh,eo_dt,this);if(this.apq){this.aaa(true).style.display="";_eofu_ap(this,eo_bu,30);}this.aaa(true).onmousedown=_eofu_eg;}function _eofdg_s(){this.are(null,true);if(this.anb){_eofu_cq(this.anb,this.agg);this.anb=null;}_eofdd_b(this.aqm);if(this.aqz){this.aqz.onmousedown=null;this.aqz.eo_ky=null;}if(this.arf)_eofdd_b(this.aqo);if(this.arc){this.arc.eo_ky=null;this.arc.onmousedown=null;}if(this.ard){this.ard.eo_ky=null;this.ard.onmousedown=null;}if(this.apd){this.apd.eo_ky=null;this.apd.eo_kz=null;this.apd.onclick=null;}if(this.apf){this.apf.eo_ky=null;this.apf.eo_kz=null;this.apf.onclick=null;}if(this.apr){this.apr.onclick=null;this.apr.eo_ky=null;}_eofu_ba(this.aqh);_eofu_aq(this,eo_bt);_eofu_aq(this,eo_bu);_eofu_aq(this,eo_bw);this.adp();}function _eofdg_t(a){var b=this.eo_ky;var c=document.createElement("DIV");c.style.position="absolute";c.style.backgroundColor="white";c.style.zIndex=b.arg+5;c.style.cursor="SE-resize";_eofu_el(c,1);var d=_eofu_ak(b.aqh);c.style.left=_eofldr_bb(d.adv);c.style.top=_eofldr_bb(d.adw);c.style.width=_eofldr_bb(_eofu_ab(b.aqh));c.style.height=_eofldr_bb(_eofu_ac(b.aqh));document.body.appendChild(c);b.arh=c;_eofdd_a(b,c,"resize");_eofdd_d(c,this,a);}function _eofdg_u(a){var b=_eofi_g(null,"Dialog");if(b&&b.length){for(var c=0;c<b.length;c++){var d=b[c];if(d.ajh==eo_ht){if(_eofldr_h()=="SA")a=true;if(a||(d.ari.p()<500)){_eofe_al(d,null,null);d.amx.alz(d.arj);}else{var e=d.amx.alz(d.arj,true);if(e)_eofe_al(d,e.adv,e.adw);}}}}}function _eofdg_v(a,b){this.amx.akg(a,b);this.amx.aml();}function _eofdg_w(){this.aly();}function _eofdg_x(){if(!this.aqh)return;var a=this.akk();this.ark(a);this.aqh.style.left=_eofldr_bb(a.adv);this.aqh.style.top=_eofldr_bb(a.adw);this.amx.aml();this.arl();if(this.ajj)this.ajj.akb();}function _eofdg_y(a){if(this.arm==true){this.arn(a);this.aro=0;_eofu_ap(this,eo_bt,100,true);}}function _eofdg_z(a){var b=null;if(this.aqt)b=this.aqt.rows[0].cells[0];if(a){_eofldr_bu(this.aqr,this.aon);_eofldr_bu(b,this.aoq);if(this.aqq)_eofldr_bu(this.aqq,_eofu_aa("eo_align_center",this.aox));}else{if(this.aoo)_eofldr_bu(this.aqr,this.aoo);if(this.aor)_eofldr_bu(b,this.aor);if(this.aqq&&this.aoy)_eofldr_bu(this.aqq,_eofu_aa("eo_align_center",this.aoy));}}function _eofdg_aa(a){if(a==eo_bt){this.arp((this.aro%2)==1);this.aro++;if(this.aro==4)_eofu_aq(this,eo_bt);}else if(a==eo_bu){var b=_eofu_ac(this.aqh);var c=_eofu_ac(this.aqr);if(b){this.arq(null,null,null,true);if(this.apq==eo_kp)this.minimize();}else _eofu_ap(this,eo_bu,30);}else if(a==eo_bw){this.arb();}else this.ago(a);}var eo_la="a|button|frame|iframe|img|input|isindex|object|select|textarea|";var eo_lb="applet|div|frameset|span|table|td|";function _eofdg_ab(a){if(!a||!a.tagName)return false;var b=a.tagName.toLowerCase()+"|";if(eo_la.indexOf(b)>=0)return true;if(eo_lb.indexOf(b)>=0)return(a.eo_lc>0)||(a.tabIndex>0);return false;}function _eofdg_ac(a){if(a==null)return;if(a.eo_ld)return;if(_eofdg_ab(a)){a.eo_lc=a.tabIndex;a.eo_ld=true;}for(var b=0;b<a.childNodes.length;b++){_eofdg_ac(a.childNodes[b]);}}function _eofdg_ad(a,b){if(a==b){_eofdg_ae(a);return;}if(a.eo_ld)a.tabIndex=-1;for(var c=0;c<a.childNodes.length;c++)_eofdg_ad(a.childNodes[c],b);}function _eofdg_ae(a){if(a.eo_ld){a.tabIndex=a.eo_lc;a.eo_ld=null;a.eo_lc=null;}for(var b=0;b<a.childNodes.length;b++)_eofdg_ae(a.childNodes[b]);}function _eofdg_af(a,b,c,d){if(this.apy){_eofi_k("Please use eo_MsgBox to display a message box.");return;}this.arq(a,b,c,d);}function _eofdg_ag(a,b,c,d){var e;if(a==null)a=this.aps;if(b)this.setCaption(b);if(this.arr("ClientSideOnInitDialog",this.apl,c)==false)return;if((this.arm!=null)||(this.ajh!=eo_hr))return;this.arm=a?true:false;_eofldr_t(eo_kr,this);if(a){_eofdg_ai();this.ars();}if(this.aqi&&!this.anb){this.anb=_eofu_cn(document,true);if(this.agg)this.anb.src=this.agg;this.ado().appendChild(this.anb);}_eofdg_ce();_eofdg_aj();_eofdg_al();if(a){_eofdg_ac(document.body);_eofdg_ad(document.body,this.aqh);}this.ajj.ajr(d);this.art=true;}function _eofdg_ah(){if(this.aru)_eofdg_k(this,this.aoe,this.aof);}function _eofdg_ai(){var a=null;for(var b=eo_kr.length-1;b>=0;b--){if(eo_kr[b].arm==true){if(!a){eo_kr[b].aru=true;a=eo_kr[b];}}else eo_kr[b].aru=false;}return a;}function _eofdg_aj(){for(var a=0;a<eo_kr.length;a++){var b=eo_kr[a];var c=_eofu_ek()-5000+a*6;b.arg=c;if(b.anb)b.anb.style.zIndex=c;_eofdg_m(b,c+1);if(b.als)b.als.style.zIndex=c+2;b.aaa(true).style.zIndex=c+3;if(b.aqz)b.aqz.style.zIndex=c+4;else if(b.aqu)b.aqu.style.zIndex=c+4;else if(b.aqo)b.aqo.style.zIndex=c+4;}}function _eofdg_ak(){return this.arg+5;}function _eofdg_al(){var a=null;for(var b=eo_kr.length-1;b>=0;b--){var c=eo_kr[b];if(c.arm==true){c.arp(true);continue;}else{if(!a){a=c;c.arp(true);}else c.arp(false);}}}function _eofdg_am(a,b){var c=-1;for(var d=0;d<eo_kr.length;d++){if(eo_kr[d]==this){c=d;break;}}if(c<0)return;var e=c+1;if(this.arm==true){for(d=e;d<eo_kr.length;d++){if(eo_kr[d].arm!=true){e=d;break;}}}for(d=c;d<e;d++){if(d==c)eo_kr[d].arv(a,b);else eo_kr[d].arv(null,b);eo_kr[d]=null;}var f=new Array();for(d=0;d<eo_kr.length;d++){if(eo_kr[d])_eofldr_t(f,eo_kr[d]);}eo_kr=f;var g=_eofdg_ai();if(g){_eofdg_ad(document.body,g.aqh);g.ars();}else _eofdg_ae(document.body);_eofdg_aj();}function _eofdg_an(a,b){this.arw=a;_eofdg_l(this);if(this.ajh==eo_ht){this.ajh=eo_hu;this.ajj.ajw(b);this.arr("ClientSideOnEnd",this.apm,a);}this.arx=null;}function _eofdg_ao(){return this.anb;}function _eofdg_ap(){this.amx.ajr();}function _eofdg_aq(){this.ajh=eo_ht;this.amx.aml();this.restore();this.arl();this.adg();}function _eofdg_ar(){_eofu_ew(this.aqh);}function _eofdg_as(){this.amx.ajw();}function _eofdg_at(){this.ajh=eo_hr;if(this.aqp){var a=this.agg;if(!a)a="";this.aqp.src=a;this.aqp.style.display="none";this.ary=false;}this.arm=null;this.amx.ajy();}function _eofdg_au(){return this.amx.akl();}function _eofdg_av(){var a=this.aaa(true);return new _eofu_a(_eofldr_ax(a.style.left),_eofldr_ax(a.style.top));}function _eofdg_aw(a){var b=this.aaa(true);return _eofe_t(b,this.arz,a);}function _eofdg_ax(){var a=this.aaa(true);_eofe_u(a,this.arz);}function _eofdg_ay(a,b,c,d){this.amx.akg(a,b,c,d);}function _eofdg_az(a,b,c,d){this.amx.akh(a,b,c,d);}function _eofdg_ba(){return this.arw;}function _eofdg_bb(a){if(this.apx)a=_eoffmt_b(this.apx,[a]);this.aqs.innerHTML=a;}function _eofdg_bc(){return this.aoh?this.aoh:0;}function _eofdg_bd(){if(this.art&&this.apt)return null;var a=new Object();var b=this.apb?document.getElementById(this.apb):null;var c=this.amx.akl();if(b){a.amf=b;var d=_eofu_an(this.apc,b,this.aed,this.aee,c,false,this.amh());a.adv=d.adv;a.adw=d.adw;}else{_eofu_u(document.body);a.amf=document.body;a.adv=Math.round((window.eo_db-c.adv)/2);a.adw=Math.round((window.eo_dc-c.adw)/2);a.adv+=this.aed;a.adw+=this.aee;if(!_eofu_ft()){var e=_eofu_s(window);a.adv+=e.adv;a.adw+=e.adw;}}var f=b?_eofu_ak(b):_eofu_ak(document.body);a.adv+=f.adv;a.adw+=f.adw;this.ark(a);a.adv-=f.adv;a.adw-=f.adw;a.aed=a.adv;a.aee=a.adw;return a;}function _eofdg_be(a){if(this.arj)a=new _eofu_a(a.adv-this.arj.adv,a.adw-this.arj.adw);this.arx=a;if(this.amx){this.amx.aml();this.arl();}}function _eofdg_bf(a,b,c,d){var e=EO.Web.getObject(a);if(!e)return;e.asa(b,c,d);}function _eofdg_bg(a,b){var c=EO.Web.getObject(a);if(!c)return;c.are(b);}function _eofdg_bh(a){var b=EO.Web.getObject(a);if(!b)return;return b.getResult();}function _eofdg_bi(a,b){a+=this.asb.adv;b+=this.asb.adw;this.move(a,b);}function _eofdg_bj(a,b){a+=this.asc;b+=this.asd;this.resize(a,b);}function _eofdg_bk(a,b,c){this.ase();if(a=="move"){this.asb=this.akk();this.aqm.style.cursor="move";}else if(a=="resize"){this.asc=_eofu_ab(this.aqh);if(this.arz)this.asc-=this.aoh;this.asd=_eofu_ac(this.aqh);this.asf();}}function _eofdg_bl(a,b,c){if(a=="move")this.asg(b,c);else if(a=="resize")this.ash(b,c);}function _eofdg_bm(a,b,c){if(a=="move"){this.asg(b,c);this.aqm.style.cursor="auto";}else if(a=="resize"){this.ash(b,c);if(this.arh){_eofdd_b(this.arh);document.body.removeChild(this.arh);this.arh=null;}}}function _eofdg_bn(a){var b;var c;var d;var e;var f;var g=this.aos;var h="LTRB";if(g!=null){g=_eofi_el(g);b=g.indexOf(":");if(b>0)h=g.substr(b+1);}if(g=="")return;if(g=="window")g=null;else g=document.getElementById(g);var i=_eofu_s(window);if(!g){b=new _eofu_a(i.adv,i.adw);c=b.adv;d=b.adw;_eofu_u(document.body);e=window.eo_db;f=window.eo_dc;}else{b=_eofu_ak(g);c=b.adv;d=b.adw;e=_eofu_ab(g);f=_eofu_ac(g);}if(_eofu_ft()){c-=i.adv;d-=i.adw;}var j=a.adv;var k=a.adw;var l=_eofu_ab(this.aqh);var m=_eofu_ac(this.aqh);if((_eofldr_h()!="IE")&&this.aoh){l+=this.aoh;m+=this.aoh;}if(h.indexOf("R")>=0){if(j+l>c+e)j=c+e-l;}if(h.indexOf("B")>=0){if(k+m>d+f)k=d+f-m;}if(h.indexOf("L")>=0){if(j<c)j=c;}if(h.indexOf("T")>=0){if(k<d)k=d;}a.adv=j;a.adw=k;}function _eofdg_bo(a){var b=this.aou;var c=this.aow;if((b==-1)||(c==-1)){_eofu_u(document.body);if(b==-1)b=window.eo_db;if(c==-1)c=window.eo_dc;}if(a.adv!=null){if(a.adv<1)a.adv=1;if(a.adv&&b&&(a.adv>b))a.adv=b;if(a.adv&&this.aot&&(a.adv<this.aot))a.adv=this.aot;}if(a.adw!=null){if(a.adw<1)a.adw=1;if(a.adw&&c&&(a.adw>c))a.adw=c;if(a.adw&&this.aov&&(a.adw<this.aov))a.adw=this.aov;}}function _eofdg_bp(){var a=new _eofu_a();a.adv=_eofldr_ax(this.aqh.style.width);a.adw=_eofldr_ax(this.aqh.style.height);if(a.adw==null)a.adw=this.aqf;this.asi(a);if(a.adv)_eofu_ad(this.aqh,a.adv);if(a.adw)this.aqf=a.adw;this.aaa(true).style.display="";if(this.aqp){if(!this.ary){this.aqp.src=this.aop;this.ary=true;}this.aqp.style.display="";}this.asf();this.asj();}function _eofdg_bq(){var a=_eofu_ac(this.aqh);var b=_eofu_ac(this.aqr);var c=_eofu_ac(this.aqn);var d=this.aqu?_eofu_ac(this.aqu):0;if(this.aqp&&((_eofldr_h()!="IE")||_eofldr_n(this.aqh))){c=_eofu_ac(this.aqp);this.ask=true;}this.aqe=a-b-c-d;}function _eofdg_br(){var a=this.aqf;if(!a)return;var b=_eofu_ac(this.aqr);var c=this.aqu?_eofu_ac(this.aqu):0;var d=a-this.aqe-b-c;if(d<0)d=0;if(this.ask){this.aqn.style.height="";}else{this.aqn.style.height=_eofldr_bb(d);}if((_eofldr_h()=="OP")&&(_eofldr_i()>8))this.aqh.eo_df=a;}function _eofdg_bs(a){var b=this.eo_ky;if(b){if(b.isMinimized())b.restore(a);else b.minimize(a);_eofi_ea(document.body,a);}}function _eofdg_bt(a){if(_eofi_j()){window.alert("You can not close the dialog in preview mode.");return;}var b=this.eo_ky;if(b){b.cancel(a);_eofi_ea(document.body,a);}}function _eofdg_bu(){return this.asl;}function _eofdg_bv(a){if(this.asl)return;if(!this.arr("ClientSideOnMinimize",this.aph,a))return;if(this.arc)this.arc.src=this.apa;_eofu_am(this.aqh.rows[1],false);if(this.aqh.rows.length>2)_eofu_am(this.aqh.rows[2],false);this.aqh.eo_df=this.aqh.rows[0].cells[0].offsetHeight;this.amx.aml();this.arl();this.asl=true;}function _eofdg_bw(a){if(!this.asl)return;if(!this.arr("ClientSideOnRestore",this.api,a))return;if(this.arc)this.arc.src=this.aoz;_eofu_am(this.aqh.rows[1],true);if(this.aqh.rows.length>2)_eofu_am(this.aqh.rows[2],true);this.aqh.eo_df=null;this.amx.aml();this.arl();this.asl=false;}function _eofdg_bx(a,b){var c=this.arr("ClientSideOnAccept",this.apj,a,1);if((typeof(c)=="number")&&(c==1)){if(_eofu_fa(a))c=0;else c=true;}if((typeof(c)=="boolean")&&c){if(!b)this.end(this.ape);}return c;}function _eofdg_by(a){if(!this.arr("ClientSideOnCancel",this.apk,a))return;this.end(this.apg);}function _eofdg_bz(a){var b=this.eo_ky;if(b){return b.asm(a);}}function _eofdg_ca(a,b){var c=false;if(!this.apn){var d=this.accept(a);var e=(typeof(d)=="number")&&(d==0);if(!b||!e)_eofi_ea(document.body,a);else c=true;}else{if(this.apd&&this.apd.eo_kz)this.apd.eo_kz(a);if(this.apd&&this.apd.type=="submit"){this.accept(a,true);}else this.accept(a);c=true;}return c;}function _eofdg_cb(a){var b=this.eo_ky;var c=false;if(b){b.cancel(a);if(!b.apo)_eofi_ea(document.body,a);else{if(this.eo_kz)this.eo_kz(a);c=true;}}return c;}function _eofdg_cc(a,b,c,d){if(d==null)d=true;if(!b)return d;b=_eofi_di(a,b);if(!b)return d;if(!c)c=window.event;var e=b(this,c);if(e!=null)return e;return d;}function _eofdg_cd(a){if(this.arm==true)return;if(this.ajh==eo_ht)this.ase();}function _eofdg_ce(){var a;var b=new Array();var c=new Array();for(a=0;a<eo_kr.length;a++){var d=eo_kr[a];if(d){if(d.apu)_eofldr_t(b,d);else _eofldr_t(c,d);}}var e=new Array();for(a=0;a<c.length;a++)_eofldr_t(e,c[a]);for(a=0;a<b.length;a++)_eofldr_t(e,b[a]);eo_kr=e;}function _eofdg_cf(){var a=new Array();for(var b=0;b<eo_kr.length;b++){var c=eo_kr[b];if(c!=this)_eofldr_t(a,eo_kr[b]);}_eofldr_t(a,this);eo_kr=a;_eofdg_ce();_eofdg_ai();_eofdg_aj();_eofdg_al();}function _eofdg_cg(a){if(!a)a=window.event;if(!a)return;var b=_eofu_cd(a);if(!b)return;if(eo_kr&&eo_kr.length){var c=eo_kr[eo_kr.length-1];if(b==27){c.cancel(a);_eofi_ea(document.body,a);return false;}else if(b==13){return c.asm(a,true);}}}function _eofdg_ch(){}function _eofdg_ci(){return this.aqk;}function _eofdg_cj(a){var b=this.eo_ky;if(b)b.show();_eofi_ea(document.body,a);return false;}function _eofdg_ck(){if(_eofldr_h()=="SA")this.aqg();if(this.ari)return;this.ari=new _eofldr_bf();if(this.apr&&(typeof(this.apr)=="string")){var a=document.getElementById(this.apr);if(a){this.apr=a;this.apr.onclick=_eofdg_cj;this.apr.eo_ky=this;}}}function _eofdg_cl(){return this.aop;}function _eofdg_cm(a){if(this.aop!=a){this.aop=a;if(this.aqp){this.aqp.src=a;this.ary=true;}}}function _eofdg_cn(a){if(this.apu!=a){this.apu=a;_eofdg_ce();_eofdg_aj();_eofdg_al();}}function _eofdg_co(){return this.apu;}function _eofdg_cp(){return this.aqh;}function _eofdg_cq(){this.aly();}function _eofdg_cr(a,b){var c=this.aaa(true);var d=new _eofu_a(a,b);this.ark(d);c.style.left=_eofldr_bb(d.adv);c.style.top=_eofldr_bb(d.adw);if(!this.arx)this.arj=null;else this.arj=new _eofu_a(d.adv-this.arx.adv,d.adw-this.arx.adw);this.amx.aml();this.arl();if(this.ajj)this.ajj.akb();}function _eofdg_cs(a,b){if(this.asn)return;this.asn=true;var c=new _eofu_a(a,b);this.asi(c);_eofu_ad(this.aqh,c.adv);this.aqf=c.adw;if(this.arh){this.arh.style.width=_eofldr_bb(c.adv);this.arh.style.height=_eofldr_bb(c.adw);}_eofdg_c();this.asn=false;}function _eofdg_ct(a){var b;if(this.apv)b=document.getElementById(this.apv+"_"+a);if(!b&&this.apw)b=document.getElementById(this.apw+"_"+a);return b;}function _eofdg_cu(){if(this.afn)return true;return _eofu_ah(this.aqh);}function eo_MsgBox(a,b,c,d,e){var f=eo_GetObject(a);if(!f){_eofi_k("MsgBox with ID '"+a+"' does not exist.");return;}if(!f.apy){_eofi_k("Control '"+a+"' is not a MsgBox control.");return;}f.aso(b,c,d,e);}function _eofdg_cv(a,b,c,d){if(!this.aqh){var e=this;setTimeout(function(){e.aso(a,b,c,d);},100);return;}this.setCaption(a);this.aqx.innerHTML=b;if(c){this.aqw.src=c;this.aqw.style.display="";}this.aqc=d;this.asp();this.arq(true);}function _eofdg_cw(a,b){var c=null;switch(a){case eo_kw:c=document.createElement("DIV");c.innerHTML=b;break;case eo_ku:c=document.createElement("A");c.href="javascript:void(0);";c.innerHTML=b;break;case eo_kv:c=document.createElement("IMG");c.src=b;break;default:c=document.createElement("INPUT");c.type="button";c.value=b;break;}return c;}function _eofdg_cx(){var a=this.aqc;var b=document.createElement("TABLE");if((_eofldr_h()!="IE")||(_eofldr_i()>=8)){try{b.style.display="inline-table";}catch(e){}}b.border=0;b.cellPadding=0;var c=_eofldr_p(b);var d=new Array();for(var e=0;e<a.length;e++){var f=_eofldr_q(c);if(e<a.length-1)f.style.paddingRight=_eofldr_bb(this.aqb);var g=_eofdg_cw(this.aqd,a[e].Text);f.appendChild(g);_eofldr_t(d,g);g.eo_le=this.bk;g.eo_lf=e;g.onclick=_eofdg_cz;new _eofldr_bv(g,this.apz,this.aqa,this.asq);if(!this.asq)_eofldr_cp(g);else{g.eo_lg=function(){_eofldr_cp(this);};;}}this.aqy.style.display="none";this.aqy.parentNode.insertBefore(b,this.aqy);this.aqy.parentNode.removeChild(this.aqy);this.aqy=b;if(_eofldr_o(this.aqh))_eofldr_cl(this.aqy,[this.aqh,this.aqq]);if(this.asq){for(e=0;e<d.length;e++){this.asq.be(d[e]);}}}function _eofdg_cy(a){var b=this.aqc[a];if(!b){this.close();return;}if(b.CommandName)this.adk(b.CommandName);else{_eofldr_bj();var c=b.ClientSideHandler;if(c){c=_eofi_di("ClientSideHandler",c);if(c){if(c(this,a)==false)return;this.close();}}else this.close();}}function _eofdg_cz(a,b,c){_eofldr_bj();if(!a)a=window.event;var d=a;a=_eofi_bx(a);if((typeof(b)!="string")||(typeof(c)!="number")){while(a){if(a.eo_lf!=null){b=a.eo_le;c=a.eo_lf;break;}a=a.parentNode;}}var e=eo_GetObject(b);e.asr(c);_eofi_ea(a,d);}function _eofdg_da(a){this.asq=a;a.ass(document.body,$eo_get("styleDiv"));document.body.eo_lh=function(){_eofdg_d();}; if(!this.apy)this.ast("Close");}function _eofdg_db(a){switch(a){case"eo_dlg_backshade_color":case"eo_msgbox_backshade_color":return this.aoe;case"eo_dlg_backshade_opacity":case"eo_msgbox_backshade_opacity":return this.aof;case"eo_dlg_shadow_color":case"eo_msgbox_shadow_color":return this.aog;case"eo_dlg_shadow_depth":case"eo_msgbox_shadow_depth":if(this.aoh)return this.aoh.toString();else return null;case"eo_dlg_close_button_url":case"eo_msgbox_close_button_url":return _eofldr_cn(this.aom);case"eo_msgbox_button_type":case"eo_dlg_button_type":switch(this.aqd){case eo_kt:return"Push Button";case eo_kv:return"Image Button";case eo_kw:return"Custom";default:return"Link Button";}break;case"eo_msgbox_button_spacing":return this.aqb;}}function _eofdg_dc(a,b){switch(a.toLowerCase()){case"eo_dlg_backshade_color":case"eo_msgbox_backshade_color":this.aoe=b;if(eo_kq)eo_kq.any(this.aoe,this.aof);break;case"eo_dlg_backshade_opacity":case"eo_msgbox_backshade_opacity":b=_eofu_hg(b,1,100,5);this.aof=b;if(eo_kq)eo_kq.any(this.aoe,this.aof);break;case"eo_dlg_shadow_color":case"eo_msgbox_shadow_color":this.aog=b;this.aql();break;case"eo_dlg_shadow_depth":case"eo_msgbox_shadow_depth":if(typeof(b)=="string")b=parseInt(b);this.aoh=b;this.aql();break;case"eo_dlg_close_button_url":case"eo_msgbox_close_button_url":b=_eofldr_co(b);this.aom=b;if(this.ard)this.ard.src=b;this.ard.style.display=b?"":"none";break;case"eo_msgbox_button_type":case"eo_dlg_button_type":if(b){var c=eo_ku;switch(b.replace(/\s+/,"").toLowerCase()){case"pushbutton":c=eo_kt;break;case"linkbutton":c=eo_ku;break;case"imagebutton":c=eo_kv;break;case"custom":c=eo_kw;break;}this.aqd=c;if(this.apy){if(this.aqy)this.asp();}else{this.asu();}}break;case"eo_msgbox_button_spacing":this.aqb=_eofu_hg(b,0,1000,5);this.asp();break;}}function _eofdg_dd(){var a=(_eofldr_h()=="IE")&&(_eofldr_i()>=5.5);if(this.aog&&this.aoh&&!this.afu){if(a){this.arz="progid:DXImageTransform.Microsoft.Shadow(color="+this.aog+",direction=135,strength="+this.aoh.toString()+")";this.aqh.style.filter=this.arz;}else{if(this.als)this.als.parentNode.removeChild(this.als);this.als=document.createElement("DIV");if(_eofu_ft())this.als.style.position="fixed";else this.als.style.position="absolute";this.ado().appendChild(this.als);this.als.style.backgroundColor=this.aog;_eofu_el(this.als,50);}}else{if(a){this.arz=null;this.aqh.style.filter=null;}else{if(this.als)this.als.parentNode.removeChild(this.als);this.als=null;}}if(!a){this.amx.amr(this.als);if(this.als)_eofdg_aj();}}function _eofdg_de(a){if(a.className=="eop_dlg_footer_t")return a;for(var b=0;b<a.childNodes.length;b++){var c=a.childNodes[b];c=this.asv(c);if(c)return c;}return null;}function _eofdg_df(a){var b=this.abz["button_type"];if(b==null)b=this.aqd;if(b==null)b=eo_ku;if(typeof(b)=="string")b=parseInt(b);this.aqd=b;this.asw=a?a:"Close";this.asu();}function _eofdg_dg(){if(!this.aqq)return;var a=this;this.aqq.innerHTML="";var b=_eofdg_cw(this.aqd,this.asw);this.aqq.appendChild(b);b.eo_lg=function(){_eofldr_cp(this);};;b.onclick=function(){if(typeof(eop_close_survey_dialog)=="function")eop_close_survey_dialog(b);else a.close();}; new _eofldr_bv(b,"eop_dlg_button","eop_dlg_button_hover",this.asq);if(this.asq)this.asq.be(b);}function _eofdg_dh(){if(!this.aqp)return;if(this.ajh!=eo_ht)return;var a=this.ara.offsetWidth;var b=this.ara.offsetHeight;if(!a||!b)return;if((a!=this.asx)||(b!=this.asy)){this.asx=a;this.asy=b;this.aqp.style.width=_eofldr_bb(a);this.aqp.style.height=_eofldr_bb(b);}}_eofdg_n.prototype=new _eofu_dg();_eofdg_n.prototype.aoc=_eofdg_o;_eofdg_n.prototype.aod=_eofdg_p;_eofdg_n.prototype.ads=_eofdg_q;_eofdg_n.prototype.asz=_eofdg_q;_eofdg_n.prototype.acg=_eofdg_s;_eofdg_n.prototype.ata=_eofdg_s;_eofdg_n.prototype.anz=_eofdg_y;_eofdg_n.prototype.ars=_eofdg_ah;_eofdg_n.prototype.arq=_eofdg_ag;_eofdg_n.prototype.are=_eofdg_am;_eofdg_n.prototype.arv=_eofdg_an;_eofdg_n.prototype.atb=_eofdg_ba;_eofdg_n.prototype.amk=_eofdg_ao;_eofdg_n.prototype.alx=_eofi_cb;_eofdg_n.prototype.amh=_eofdg_bc;_eofdg_n.prototype.ame=_eofdg_bd;_eofdg_n.prototype.amg=_eofdg_be;_eofdg_n.prototype.amb=_eofi_cb;_eofdg_n.prototype.akx=_eofdg_aw;_eofdg_n.prototype.aky=_eofdg_ax;_eofdg_n.prototype.ajr=_eofdg_ap;_eofdg_n.prototype.ajx=_eofdg_aq;_eofdg_n.prototype.ajw=_eofdg_as;_eofdg_n.prototype.aju=_eofi_cb;_eofdg_n.prototype.ajy=_eofdg_at;_eofdg_n.prototype.akl=_eofdg_au;_eofdg_n.prototype.asg=_eofdg_bi;_eofdg_n.prototype.ash=_eofdg_bj;_eofdg_n.prototype.ain=_eofdg_bk;_eofdg_n.prototype.aio=_eofdg_bl;_eofdg_n.prototype.aix=_eofdg_bm;_eofdg_n.prototype.akk=_eofdg_av;_eofdg_n.prototype.akg=_eofdg_ay;_eofdg_n.prototype.akh=_eofdg_az;_eofdg_n.prototype.aef=_eofdg_aa;_eofdg_n.prototype.asi=_eofdg_bo;_eofdg_n.prototype.ark=_eofdg_bn;_eofdg_n.prototype.aly=_eofdg_bp;_eofdg_n.prototype.arp=_eofdg_z;_eofdg_n.prototype.asj=_eofdg_br;_eofdg_n.prototype.asf=_eofdg_bq;_eofdg_n.prototype.arr=_eofdg_cc;_eofdg_n.prototype.aem=_eofdg_cd;_eofdg_n.prototype.arl=_eofdg_ch;_eofdg_n.prototype.arn=_eofi_cb;_eofdg_n.prototype.acj=_eofdg_ci;_eofdg_n.prototype.aqg=_eofdg_r;_eofdg_n.prototype.aau=_eofdg_ck;_eofdg_n.prototype.ase=_eofdg_cf;_eofdg_n.prototype.atc=_eofdg_x;_eofdg_n.prototype.aaa=_eofdg_cp;_eofdg_n.prototype.atd=_eofdg_cq;_eofdg_n.prototype.ate=_eofdg_ct;_eofdg_n.prototype.asm=_eofdg_ca;_eofdg_n.prototype.acl=_eofdg_ar;_eofdg_n.prototype.atf=_eofdg_ak;_eofdg_n.prototype.aqj=_eofdg_cu;_eofdg_n.prototype.alo=_eofdg_v;_eofdg_n.prototype.alp=_eofdg_w;_eofdg_n.prototype.aso=_eofdg_cv;_eofdg_n.prototype.asp=_eofdg_cx;_eofdg_n.prototype.asr=_eofdg_cy;_eofdg_n.prototype.aql=_eofdg_dd;_eofdg_n.prototype.asv=_eofdg_de;_eofdg_n.prototype.ast=_eofdg_df;_eofdg_n.prototype.asu=_eofdg_dg;_eofdg_n.prototype.arb=_eofdg_dh;_eofdg_n.prototype.setCaption=_eofdg_bb;_eofdg_n.prototype.show=_eofdg_af;_eofdg_n.prototype.end=_eofdg_am;_eofdg_n.prototype.close=_eofdg_am;_eofdg_n.prototype.getResult=_eofdg_ba;_eofdg_n.prototype.isMinimized=_eofdg_bu;_eofdg_n.prototype.minimize=_eofdg_bv;_eofdg_n.prototype.restore=_eofdg_bw;_eofdg_n.prototype.accept=_eofdg_bx;_eofdg_n.prototype.cancel=_eofdg_by;_eofdg_n.prototype.getContentUrl=_eofdg_cl;_eofdg_n.prototype.setContentUrl=_eofdg_cm;_eofdg_n.prototype.bringToTop=_eofdg_cf;_eofdg_n.prototype.setTopMost=_eofdg_cn;_eofdg_n.prototype.getTopMost=_eofdg_co;_eofdg_n.prototype.move=_eofdg_cr;_eofdg_n.prototype.resize=_eofdg_cs;_eofdg_n.prototype.setStyleEditor=_eofdg_da;_eofdg_n.prototype.atg=_eofdg_dc;_eofdg_n.prototype.ath=_eofdg_db;EO.Web.showDialog=_eofdg_bf;EO.Web.endDialog=_eofdg_bg;EO.Web.getDialogResult=_eofdg_bh;var eo_li=null;function _eofdg_di(a,b,c,d){if(a&&c)eo_li=new _eofdg_dm(a,b,c,d);else eo_li=null;}function _eofdg_dj(){if(eo_li)eo_li.alz(true);}function _eofdg_dk(){eo_li=null;}function _eofdg_dl(a){if(eo_li)eo_li.alz(a);}function _eofdg_dm(a,b,c,d){this.amy=$eo_get(a);this.ati=$eo_get(b);this.atj=c;this.atk=d;if(_eofu_ft())this.amy.style.position="fixed";else this.amy.style.position="absolute";var e=_eofu_l("TR",this.ati,true);this.atl=e.cells[1];this.atm=e.cells[e.cells.length-1];this.amy.innerHTML="";this.atn=document.createElement("DIV");this.ato=document.createElement("DIV");this.atp=document.createElement("IMG");this.atq=document.createElement("IMG");this.amy.appendChild(this.atn);this.amy.appendChild(this.ato);this.atn.appendChild(this.atp);this.atn.appendChild(this.atq);this.atn.style.textAlign="right";this.atp.src=d+"sidebar_expand.gif";this.atq.src=d+"sidebar_collapse.gif";this.atp.style.display="none";this.ato.style.width="140px";this.ato.innerHTML=c;this.all=true;if(_eofldr_cr("eop_sidebar")=="1")this.ajw();this.atr=true;var f=this;_eofldr_cp(this.atp);this.atp.onclick=function(){f.ajr();f.alz();}; _eofldr_cp(this.atq);this.atq.onclick=function(){f.ajw();f.alz();};}function _eofdg_dn(){if(!this.all){this.amy.style.paddingLeft="10px";this.ato.style.width="140px";this.ato.innerHTML=this.atj;this.atp.style.display="none";this.atq.style.display="";_eofldr_cq("eop_sidebar","0",90,"/","","");this.atr=true;this.all=true;}}function _eofdg_do(a){if(this.all){this.amy.style.paddingLeft="5px";this.ato.style.width="15px";this.ato.innerHTML="<img src='"+this.atk+"sidebar.gif' title='Side bar with helpful information.' />";this.atp.style.display="";this.atq.style.display="none";_eofldr_cq("eop_sidebar","1",90,"/","","");this.atr=true;this.all=false;}}function _eofdg_dp(a){if(eo_li!=this)return;var b=this.ats;if(!b)_eofu_fw(this.amy);var c=this.amy.offsetWidth;var d=this.amy.offsetHeight;if(!c||!d){var e=this;setTimeout(function(){e.alz(a);},100);}var f=_eofu_u(window);y=120;if(a)this.atr=true;if(this.atr&&!this.all)_eofi_as(this.ati,false);var g=_eofu_ak(this.atl);var h=_eofu_ak(this.atm);var i=h.adv-g.adv-this.atl.offsetWidth;if(this.atr&&this.all){if(f.adv>i+c*2){_eofi_as(this.ati,false);}else{var j=c;if(f.adv>i+c){j=2*c+i-f.adv;}this.ati.innerHTML="<div style='width:"+j.toString()+"px;height:10px'></div>";_eofi_as(this.ati,true);}}g=_eofu_ak(this.atl);var k=g.adv-c+this.atl.offsetWidth;if(!_eofu_ft()){var l=_eofu_s(window);y+=l.adw;k+=l.adv;}if((k!=this.att)||(y!=this.atu)){this.att=k;this.atu=y;this.amy.style.left=_eofldr_bb(k);this.amy.style.top=_eofldr_bb(y);}if(!b){this.ats=true;_eofu_fv(this.amy,"eo_transparent",false);}this.atr=false;}_eofdg_dm.prototype.alz=_eofdg_dp;_eofdg_dm.prototype.ajr=_eofdg_dn;_eofdg_dm.prototype.ajw=_eofdg_do;EO.Web.attachSideBar=_eofdg_di;eo_LoadModules();eo_ModuleLoaded('dg');