//********************************************************************************************************** // 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.43.2 //********************************************************************************************************** function _eoftv_a(a,b,c){ this.bhf=a;this.bhg=b;this.asm=c;if(!c)this.asm=32;}function _eoftv_b(a,b){var c=null;var d=null;var e=_eofu_aj(a);e.vAlign="center";if(b&&this.bhf&&(this.asm>this.bhf)){c=Math.floor((this.asm-this.bhf)/2);d=this.asm-c-this.bhf;}var f=null;if(c==null){f=document.createElement("DIV");f.style.width=_eofu_aa(this.asm);e.appendChild(f);}if(b){var g=_eofu_ef();if(this.bhf)g.width=this.bhf;if(this.bhg)g.height=this.bhg;g.src=b;if(f)f.appendChild(g);else e.appendChild(g);if(c)g.style.paddingLeft=_eofu_aa(c);if(d)g.style.paddingRight=_eofu_aa(d);return g;}return null;}_eoftv_a.prototype.bhh=_eoftv_b;var eo_mq=0;var eo_mr=1;var eo_ms=2;var eo_mt=3;var eo_mu=4;var eo_mv=5;var eo_mw=6;var eo_mx=7;var eo_my=8;var eo_mz=9;var eo_na=10;var eo_nb=11;var eo_nc=12;var eo_nd=13;var eo_ne=14;var eo_nf=15;function _eoftv_c(a,b,c,d,e){var f;this.bhi=a;this.asm=b;this.asl=c;this.awq=d;if(d){for(f=0;fc){c+=8;if(c>b){c=b;f=true;}}else{c-=8;if(ce){e+=8;if(e>d){e=d;g=true;}}else{e-=8;if(e",eo_nm.bjq);eo_nm.bjq=null;eo_nm=null;}}function _eoftv_ak(a,b,c){var d=true;var e=new Array();var f=a;while(f.are){if(f.getDisabled()){d=false;break;}_eofi_v(e,f);f=f.are;if(c)break;}if(d){for(var g=e.length-1;g>=0;g--)e[g].avb(true,true,b);}return d;}function _eoftv_al(){if(eo_nm)return null;var a=new _eofi_br("d");var b=this.getTopGroup();a.ay("s",b.bc(true));a.ay("c",this.bjx());return a;}var g_CurEditTreeView=null;function _eoftv_am(a){if(g_CurEditTreeView)g_CurEditTreeView.bjd();}function _eoftv_an(a){if(!g_CurEditTreeView)return;if(!a)a=window.event;if(!a)return;var b=_eofu_cl(a);if(!b)return;if((b==27)||(b==13)){g_CurEditTreeView.bjc=b;_eofu_ap(g_CurEditTreeView,eo_ba,1);_eofi_dt(document,a);return false;}}function _eoftv_ao(a,b){if(a&&this.bjn){if(a==this.bjn)return;this.azg(null);}if(a){var c=a.atf(eo_ja);a.atg(c,true);a.bjy=a.getText();var d=_eofu_ab(a.bjz)+25;var e=document.createElement("INPUT");e.type="text";e.value=a.bjy;e.style.width=_eofu_aa(d);if(this.bil)e.className=this.bil;a.bjz.innerHTML="";a.bjz.appendChild(e);a.bka=e;var c=_eofu_bz(a.bjz);if(c&&c.fontFamily)e.style.fontFamily=c.fontFamily;if(c&&c.fontSize)e.style.fontSize=c.fontSize;e.focus();var f=e.value;if(f){if(e.createTextRange){var g=e.createTextRange();g.moveEnd("character",0);g.select();}else if(e.setSelectionRange)e.setSelectionRange(0,f.length-1);}e.onblur=_eoftv_am;e.onkeydown=_eoftv_an;g_CurEditTreeView=this;this.bjn=a;}else if(this.bjn){g_CurEditTreeView=null;a=this.bjn;this.bjn=null;a.bjz.removeChild(a.bka);a.bjz.className=a.bkb;a.setText(b!=null?b:a.bjy);a.bjz.innerHTML=a.getText();a.bka.onblur=null;a.bka.onkeydown=null;var h=a.aez&~eo_jg;var c=a.atf(h);a.atg(c,true);}}function _eoftv_ap(){if(this.bjn){var a=this.bjn.bka.value;if(a==null)a="";if(a){var b=this.biq;if(b)b=window[b];if(b&&b(this,this.bjn,a))a=null;}if(a!=null){this.bjw(this.bjn.getPath(),null,a);this.azg(null,a);}}}function _eoftv_aq(a,b,c){if(!this.bkc)this.bkc=new Array();var d=new _eoftv_el(a,b,c);_eofi_v(this.bkc,d);}function _eoftv_ar(){var a=new _eofi_br();if(this.bkc){for(var b=0;b50)||(e.abf+c-f.abj>50)){if(this.bjj){this.bjj.bjk(false);this.bjj=null;}if(a.bkk)a.bkk.style.display="none";a.bkh.style.cursor="no-drop";a.bjz.style.cursor="no-drop";return;}var g;var h;var i=this.bkl(e.abf+c);g=i[0];h=i[1];if(!h)return;if(!g){if(this.bjj!=h){if(this.bjj)this.bjj.bjk(false);h.bjk(true);this.bjj=h;_eofu_ap(h,eo_bc,1500);}if(a.bkk)a.bkk.style.display="none";h.bfv(true);if(!h.bkm())return;var j=this.bkn(this.bio,a,h);if(j){if(h==a.getParentItem())j=false;}if(j){var k=h;while(k){if(k==a){j=false;break;}k=k.getParentItem();}}if(j){a.bkh.style.cursor="default";a.bjz.style.cursor="default";}else{a.bkh.style.cursor="no-drop";a.bjz.style.cursor="no-drop";}h.bko=j;}else{if(this.bjj){this.bjj.bjk(false);this.bjj=null;}h.bfv(true);a.bkh.style.cursor="default";a.bjz.style.cursor="default";if(h.getParentItem()){if(!h.getParentItem().bkm())return;var j=this.bkn(this.bio,a,h.getParentItem());}if(j){var k=h.getParentItem();while(k){if(k==a){j=false;break;}k=k.getParentItem();}}if(j){a.bkk.style.display="block";var l=_eofu_ah(g.bjz);var m=_eofu_ah(h.bjz);var n=new _eofu_b(Math.min(l.abe,m.abe),m.abf,Math.max(Math.max(l.abe+_eofu_ab(g.bjz),m.abe+_eofu_ab(h.bjz)),_eofu_ab(a.bjz)),m.abf+1);n.abg-=20;n.abi+=20;a.bkk.style.top=_eofu_aa(n.abh);a.bkk.style.left=_eofu_aa(n.abg);a.bkk.style.width=_eofu_aa(n.abi-n.abg);this.bkp(a.bkk,n);this.bkj=i;}}}function _eoftv_au(a){var b=this.getTopGroup();return b.bkl(a);}function _eoftv_av(a,b){if(!this.bie)return;if(!b)this.biy.scrollTop=a;else{this.bjf=a;_eofu_ap(this,eo_bb,30);}}function _eoftv_aw(a,b){if(!this.bie)return;if(!b)this.biy.scrollLeft=a;else{this.bje=a;_eofu_ap(this,eo_bb,30);}}function _eoftv_ax(a,b,c,d){if(!a)return true;a=window[a];if((a!=null)&&(a(this,b,c,d)==false))return false;return true;}function _eoftv_ay(a,b,c){var d;if(a==this.bjm)this.bkq(null);if(a==this.bja)this.arr(null);this.bjw(a.getPath(),b.getPath(),c);var e=a.getIndex();if((c!=null)&&(b==a.getParentItem())&&(c>e))c--;var f=a.getParentItem();var g=f.aov;var h=g.aas;var i=new Array();for(d=0;d=c;d--)h[d+1]=h[d];h[c]=a;}else _eofi_v(h,a);for(d=0;d1)h[h.length-2].atd();b.avb(true,true);b.bks();b=b.getParentItem();while(b){b.atd();b=b.getParentItem();}}function _eoftv_az(){var a=this.aqf;if(this.biy)a=this.biy;var b=_eofu_ah(a);var c=new _eofu_b(b.abe,b.abf,b.abe+(a.clientWidth?a.clientWidth:_eofu_ab(a)),b.abf+(a.clientHeight?a.clientHeight:_eofu_ac(a)));return c;}function _eoftv_ba(a,b){var c=this.amc();var d=c.abg>b.abg?c.abg-b.abg:null;var e=c.abh>b.abh?c.abh-b.abh:null;var f=c.abi0)||!c.bhr.bho()){this.bhs=_eofu_aj(h);this.blp=new _eoftv_l(this);}}if(this.blh||this.bli||this.blj){this.bln++;this.bhw=_eofu_aj(h);this.blq=_eofu_ef();this.bhw.appendChild(this.blq);this.aco=new _eoftv_o(this);this.blr();}if(c.bhy){if(this.bls()){this.bln++;this.bhx=_eofu_aj(h);if(c.bhy.axh)this.bhx.style.paddingLeft=_eofu_aa(c.bhy.axh);this.blt=new _eoftv_q(this);}else if(d.bls()){this.bln++;this.bhx=_eofu_aj(h);e=document.createElement("DIV");e.style.width=_eofu_aa(c.bhy.bhf);this.bhx.appendChild(e);}}var q=_eofu_aj(h);var r=document.createElement("DIV");r.style.width=_eofu_aa(this.blu());q.appendChild(r);this.bln++;this.bln++;this.bjz=_eofu_da(h);var s=this.aug();if(s)this.bjz.style.height=_eofu_aa(s);if(this.asu)this.aus(this.bjz);else if(this.aso){var t=this.aso.awa();if(t&&t.abp()){var u=document.createElement("DIV");_eofu_cz(u);this.bjz.appendChild(u);this.aso.awd(u,0,0);}this.aso.aqi(this.bjz);this.aso.awe();}var v=d.ayt();if(v&&(!this.bkt||(d.are&&!d.are.bkt))&&(!c.bhr||c.bhr.bhn())){this.blv=document.createElement("DIV");var w=_eofu_ef();w.src=c.bid;w.height=v;d.aqf.appendChild(this.blv);this.blv.appendChild(w);}if(!d.blw){_eofu_as(this.bjz,eo_bu,this,null);_eofu_as(this.bjz,eo_bw,this,null);_eofu_as(this.bjz,eo_bs,this,null);_eofu_as(this.bjz,eo_bt,this,null);}this.atb(eo_ja);if(!this.getVisible())this.avp(false);else if(this.aov&&(this.aqk&eo_kl))this.aov.aqi();}function _eoftv_bl(){switch(_eofu_bk(this.aqk,eo_kt)){case eo_cd:var a=this.aon();if(a)return a.bls();else return false;case eo_ce:return true;case eo_cf:return false;}return false;}function _eoftv_bm(){this.avj();if(this.bhs)_eofu_ba(this.bhs);_eofu_ba(this.bjz);_eofu_ba(this.bhw);_eofu_aq(this,eo_bc);_eofu_aq(this,eo_bd);if(this.blt){this.blt.ahj();this.blt=null;}this.ajf=null;this.blv=null;this.bhw=null;this.blq=null;this.bjz=null;if(this.aov)this.aov.ahj();}function _eoftv_bn(){if(this.aov){if(this.aov.aas){for(var a=0;a=0;d--){var e=c.getItemByIndex(d);if(e.getVisible())return false;}return true;}function _eoftv_br(){var a=false;if(this.blp){if(!this.blk){var b=-1;var c=this.asv().bhr;var d=_eoftv_bo(this);var e=this.getParentGroup().avt();var f=_eoftv_bp(this);var g=_eoftv_bq(this);var h=this.blx();var i=this.getLevel();if(!d&&this.bll)d=1;if(c.bhn()){if(!d)b=eo_ms;else{if(h)b=eo_mr;else b=eo_mq;}}else{if(!d){if(f){if(e>1)b=eo_mu;else if(i==0)b=eo_na;else b=eo_mu;}else if((i==0)&&g){if(e>1)b=eo_nd;else b=eo_na;}else b=eo_mv;}else{if((i==0)&&g){if(f){if(h)b=eo_nc;else b=eo_nb;}else{if(h)b=eo_nf;else b=eo_ne;}}else if(f){if(h)b=eo_mz;else b=eo_my;}else{if(h)b=eo_mx;else b=eo_mw;}}}var j=c.bhm(b);this.blp.bhu(j);}else{this.blp.bhu(this.blk);}}this.blr();if(this.blt)this.blt.axt();return a;}function _eoftv_bs(){this.atd();if(this.aov&&this.aov.aas){for(var a=0;a0){var b=a;var c=this.aon();for(var d=0;d(d.abe+_eofu_ab(b.aqf)+5)){var e=this.getText();this.ajf.title=e;}}}function _eoftv_cr(){var a=this.avm();var b=this.ata();if((b&eo_jf)&&(b!=eo_jj))a=2+a;var c=this.bkr();return c*4+a;}function _eoftv_cs(){switch(_eofu_bk(this.aqk,eo_ku)){case eo_cd:var a=this.aon();if(a)return a.bma();else return false;case eo_ce:return true;case eo_cf:return false;}return false;}function _eoftv_ct(){switch(_eofu_bk(this.aqk,eo_kv)){case eo_cd:var a=this.aon();if(a)return a.bly();else return false;case eo_ce:return true;case eo_cf:return false;}return false;}function _eoftv_cu(){switch(_eofu_bk(this.aqk,eo_kw)){case eo_cd:var a=this.aon();if(a)return a.bkm();else return false;case eo_ce:return true;case eo_cf:return false;}return false;}function _eoftv_cv(a,b,c){}function _eoftv_cw(){if(!this.bkh){var a=this.asv();this.bki=_eofu_ah(this.ajf);var b=this.ajf.rows[0].innerHTML;var c=this.ajf.rows[0].cells.length;var d=this.bln;var e=c-d;b=""+b+"
";var f=a.adp();this.bkh=document.createElement("SPAN");this.bkh.innerHTML=b;this.bkh.style.position="absolute";this.bkh.style.zIndex=_eofu_ek();this.bkh.style.cursor="default";_eofu_el(this.bkh,40);f.appendChild(this.bkh);if(a.biu){this.bkk=document.createElement("IMG");f.appendChild(this.bkk);this.bkk.style.zIndex=_eofu_ek()+1;this.bkk.style.display="none";this.bkk.style.height="1px";this.bkk.style.backgroundColor="black";this.bkk.style.position="absolute";}var g=document.getElementById("eo_tv_drag_node");for(var h=0;hd-5)return this.bmi(true);else if(a-b<4)return this.bmi(false);else return this.bmi(null);}else return this.bmi(null);}if(this.blx()){var e=this.aov.bkl(a);if(e)return e;}return this;}function _eoftv_da(a){var b=new Array();if(a==true){b[0]=this;if(this.avk()&&this.blx())b[1]=this.aov.getItemByIndex(0);else{var c=this;while(c&&c.bkt)c=c.getParentItem();if(c&&c.getParentItem())b[1]=this.getParentItem().aov.getItemByIndex(c.getIndex()+1);}}else if(a==false){var d=this.getIndex();if(d>0)b[0]=this.getParentItem().aov.getItemByIndex(d-1);else if(this.getLevel()>0)b[0]=this.getParentItem();b[1]=this;}else{b[1]=this;}return b;}function _eoftv_db(a,b){var c=this.asv();if(a){if(!this.bmj){var d=_eofu_ab(this.bjz);var e=_eofu_ac(this.bjz);this.bmj=document.createElement("DIV");this.bmj.style.position="absolute";var f=_eofu_ah(this.bjz);this.bmj.style.left=_eofu_aa(f.abe);this.bmj.style.top=_eofu_aa(f.abf);this.bmj.style.width=_eofu_aa(d);this.bmj.style.height=_eofu_aa(e);this.bmj.oncontextmenu=_eoftv_z;this.bmj.style.zIndex=_eofu_ek()-2000;var g=this.atf(eo_jc);this.bmj.className=g;if(!b)_eofu_el(this.bmj,40);var h=c.adp();h.appendChild(this.bmj);var i=new _eofu_b(f.abe,f.abf,f.abe+_eofu_ab(this.bjz),f.abf+_eofu_ac(this.bjz));c.bkp(this.bmj,i);}}else{if(this.bmj&&this.bmj.parentNode){var h=c.adp();h.removeChild(this.bmj);this.bmj.oncontextmenu=null;this.bmj=null;}}}function _eoftv_dc(a){var b=this.getParentItem();if(b&&!b.blx())b.avb(true,true);if(!this.ajf)return;var c=this.asv();if(!c.bie)return;if(!_eofu_ab(c.biy)||!_eofu_ac(c.biy)){_eofu_ap(this,eo_bd,200);return;}var d=_eofu_ag(this.bjz,c.biy);var e=new _eofu_a(d.abe,d.abf);if(c.biy.scrollLeft)e.abe-=c.biy.scrollLeft;if(c.biy.scrollTop)e.abf-=c.biy.scrollTop;var f=_eofu_ab(c.biy)-20;var g=_eofu_ac(c.biy)-20;if(e.abf<0){c.blb(d.abf,a);}else{e.abf+=_eofu_ac(this.ajf);if(e.abf>g)c.blb(d.abf-g+_eofu_ac(this.ajf),a);}if(e.abe<0){c.blc(d.abe,a);}else if(e.abe>f){c.blc(d.abe-f,a);}return d;}function _eoftv_dd(){var a=this.asv();if(!a.aqb)a.bjb=this;else this.bfv(false);}function _eoftv_de(a){if(a==eo_bc){var b=this.asv();if(b.bjj==this)this.avb(true,true);}else if(a==eo_bd){this.bfv(false);}}var eo_nn=null;var eo_no=null;function _eoftv_df(a,b){eo_no=eo_GetObject(b);eo_nn(a,b);}function _eoftv_dg(a){var b=this.asv();b.bkx();if(b.bir){var c=window[b.bir];if(c){var d=false;eo_nn=eo_ShowContextMenu;window["eo_ShowContextMenu"]=_eoftv_df;try{d=c(a,b,this);}catch(a){}window["eo_ShowContextMenu"]=eo_nn;if(eo_no){b.bji=eo_no;eo_no.aqw=b;eo_no=null;}if(d){if(!this.getSelected()){var e=this.atf(eo_jc);this.atg(e,true);this.bkw=true;}b.bkv=this;}}}}function _eoftv_dh(a){if(!this.blx()&&this.bll)this.asv().bky(this,false,a);}function _eoftv_di(){var a=this.getParentGroup();if(a!=null){var b=a.getParentItem();if(b!=null)b.expandPath();}this.setExpanded(true);}function _eoftv_dj(a){this.setExpanded(true);this.click(a);}function _eoftv_dk(a){var b=this.asv();b.azg(this,a);}_eoftv_bg.prototype=new _eofnv_au();_eoftv_bg.prototype.ble=_eoftv_bh;_eoftv_bg.prototype.blf=_eoftv_bi;_eoftv_bg.prototype.aex=_eoftv_bj;_eoftv_bg.prototype.aqi=_eoftv_bk;_eoftv_bg.prototype.bls=_eoftv_bl;_eoftv_bg.prototype.ahj=_eoftv_bm;_eoftv_bg.prototype.atd=_eoftv_br;_eoftv_bg.prototype.aag=_eoftv_bv;_eoftv_bg.prototype.atg=_eoftv_bu;_eoftv_bg.prototype.auc=_eoftv_bw;_eoftv_bg.prototype.bht=_eoftv_bx;_eoftv_bg.prototype.atz=_eoftv_by;_eoftv_bg.prototype.aud=_eoftv_bz;_eoftv_bg.prototype.blx=_eoftv_cb;_eoftv_bg.prototype.avb=_eoftv_ca;_eoftv_bg.prototype.bjr=_eoftv_cc;_eoftv_bg.prototype.bjt=_eoftv_cd;_eoftv_bg.prototype.bia=_eoftv_ce;_eoftv_bg.prototype.bmd=_eoftv_cg;_eoftv_bg.prototype.bme=_eoftv_cf;_eoftv_bg.prototype.bmg=_eoftv_ci;_eoftv_bg.prototype.bkr=_eoftv_cj;_eoftv_bg.prototype.avp=_eoftv_cm;_eoftv_bg.prototype.blr=_eoftv_bt;_eoftv_bg.prototype.blu=_eoftv_cn;_eoftv_bg.prototype.bjp=_eoftv_cq;_eoftv_bg.prototype.auq=_eoftv_cr;_eoftv_bg.prototype.bma=_eoftv_cs;_eoftv_bg.prototype.bly=_eoftv_ct;_eoftv_bg.prototype.bkm=_eoftv_cu;_eoftv_bg.prototype.aen=_eoftv_cv;_eoftv_bg.prototype.aeo=_eoftv_cx;_eoftv_bg.prototype.aeq=_eoftv_cy;_eoftv_bg.prototype.bkl=_eoftv_cz;_eoftv_bg.prototype.bjk=_eoftv_db;_eoftv_bg.prototype.bfv=_eoftv_dc;_eoftv_bg.prototype.bmh=_eoftv_cw;_eoftv_bg.prototype.aeb=_eoftv_bn;_eoftv_bg.prototype.bks=_eoftv_bs;_eoftv_bg.prototype.bmi=_eoftv_da;_eoftv_bg.prototype.abs=_eoftv_de;_eoftv_bg.prototype.aua=_eoftv_dg;_eoftv_bg.prototype.bky=_eoftv_dh;_eoftv_bg.prototype.aui=_eoftv_dj;_eoftv_bg.prototype.bmf=_eoftv_ch;_eoftv_bg.prototype.getCheckState=_eoftv_cj;_eoftv_bg.prototype.setCheckState=_eoftv_cg;_eoftv_bg.prototype.getChecked=_eoftv_cl;_eoftv_bg.prototype.setChecked=_eoftv_ck;_eoftv_bg.prototype.getExpanded=_eoftv_cb;_eoftv_bg.prototype.setExpanded=_eoftv_ca;_eoftv_bg.prototype.isLeafNode=_eoftv_co;_eoftv_bg.prototype.select=_eoftv_cp;_eoftv_bg.prototype.ensureVisible=_eoftv_dd;_eoftv_bg.prototype.populateOnDemand=_eoftv_dh;_eoftv_bg.prototype.expandPath=_eoftv_di;_eoftv_bg.prototype.beginEdit=_eoftv_dk;function _eoftv_dl(a){if(a)this.bmk(a);}function _eoftv_dm(a){if(!a)a=new Object();this.ayb(a[0]);this.bml(a[1],a[2]);}function _eoftv_dn(a,b){this.bmm=a;this.bmn=b;this.avi=_eoftv_ef;}function _eoftv_do(){return true;}function _eoftv_dp(){this.ayu();if(this.aas){for(var a=0;ah+1){var i=f.getItemByIndex(h+1);e=i.ajf;}}if(e)f.aqf.insertBefore(this.bdq,e);else f.aqf.appendChild(this.bdq);this.aqf=document.createElement("DIV");this.bdq.appendChild(this.aqf);}var j=null;if(this.are.asp)j=this.are.asp.atk(eo_jt);if(c)c.className=j;else this.aqf.className=j;var k=this.asv();this.avi(k,j);if(!this.blw){var l=this.asv().adg();_eofu_as(this.aqf,eo_bu,this,l);_eofu_as(this.aqf,eo_bw,this,l);_eofu_as(this.aqf,eo_bs,this,l);this.bmo=false;for(b=0;b0)&&!this.blw){this.afo();this.afq(true);}if(this.aas){for(b=0;b0)e=this.are;}else if(a==eo_cu){e=this.aas[b-1];while(e.avk()&&e.blx()){e=e.aov.aas[e.aov.aas.length-1];}}else if(a==eo_cw){if(f.avk()&&f.blx()&&!d)e=f.aov.aas[0];else if(b0){var g=this.are;b=g.amn();return g.are.aov.azi(eo_cw,b,c,true);}}else if(a==eo_cv){if(f.avk()){f.bht(false);return true;}}if(e){this.asv().arr(e);e.bfv();return true;}return false;}function _eoftv_eh(){switch(_eofu_bk(this.aqk,eo_ku)){case eo_cd:return this.are.bma();case eo_ce:return true;case eo_cf:return false;}return false;}function _eoftv_ei(){switch(_eofu_bk(this.aqk,eo_kv)){case eo_cd:return this.are.bly();case eo_ce:return true;case eo_cf:return false;}return false;}function _eoftv_ej(){switch(_eofu_bk(this.aqk,eo_kw)){case eo_cd:return this.are.bkm();case eo_ce:return true;case eo_cf:return false;}return false;}function _eoftv_ek(a){var b;var c;var d=this.getItemCount();if(!d)return null;var e=new Array();var f=0;var g=d-1;while(f