//********************************************************************************************************** // 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.34.2 //********************************************************************************************************** function _eoftv_a(a,b,c){ this.bgd=a;this.bge=b;this.ark=c;if(!c)this.ark=32;}function _eoftv_b(a,b){var c=null;var d=null;var e=_eofu_aj(a);e.vAlign="center";if(b&&this.bgd&&(this.ark>this.bgd)){c=Math.floor((this.ark-this.bgd)/2);d=this.ark-c-this.bgd;}var f=null;if(c==null){f=document.createElement("DIV");f.style.width=_eofu_aa(this.ark);e.appendChild(f);}if(b){var g=_eofu_ef();if(this.bgd)g.width=this.bgd;if(this.bge)g.height=this.bge;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.bgf=_eoftv_b;var eo_mj=0;var eo_mk=1;var eo_ml=2;var eo_mm=3;var eo_mn=4;var eo_mo=5;var eo_mp=6;var eo_mq=7;var eo_mr=8;var eo_ms=9;var eo_mt=10;var eo_mu=11;var eo_mv=12;var eo_mw=13;var eo_mx=14;var eo_my=15;function _eoftv_c(a,b,c,d,e){var f;this.bgg=a;this.ark=b;this.arj=c;this.avo=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_nf.bio);eo_nf.bio=null;eo_nf=null;}}function _eoftv_aj(a,b,c){var d=true;var e=new Array();var f=a;while(f.aqc){if(f.getDisabled()){d=false;break;}_eofi_v(e,f);f=f.aqc;if(c)break;}if(d){for(var g=e.length-1;g>=0;g--)e[g].atz(true,true,b);}return d;}function _eoftv_ak(){if(eo_nf)return null;var a=new _eofi_br("d");var b=this.getTopGroup();a.ay("s",b.bc(true));a.ay("c",this.biv());return a;}var g_CurEditTreeView=null;function _eoftv_al(a){if(g_CurEditTreeView)g_CurEditTreeView.bib();}function _eoftv_am(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.bia=b;_eofu_ap(g_CurEditTreeView,eo_ay,1);_eofi_dn(document,a);return false;}}function _eoftv_an(a,b){if(a&&this.bil){if(a==this.bil)return;this.aye(null);}if(a){var c=a.asd(eo_it);a.ase(c,true);a.biw=a.getText();var d=_eofu_ab(a.bix)+25;var e=document.createElement("INPUT");e.type="text";e.value=a.biw;e.style.width=_eofu_aa(d);if(this.bhj)e.className=this.bhj;a.bix.innerHTML="";a.bix.appendChild(e);a.biy=e;var c=_eofu_bz(a.bix);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_al;e.onkeydown=_eoftv_am;g_CurEditTreeView=this;this.bil=a;}else if(this.bil){g_CurEditTreeView=null;a=this.bil;this.bil=null;a.bix.removeChild(a.biy);a.bix.className=a.biz;a.setText(b!=null?b:a.biw);a.bix.innerHTML=a.getText();a.biy.onblur=null;a.biy.onkeydown=null;var h=a.aer&~eo_iz;var c=a.asd(h);a.ase(c,true);}}function _eoftv_ao(){if(this.bil){var a=this.bil.biy.value;if(a==null)a="";if(a){var b=this.bho;if(b)b=window[b];if(b&&b(this,this.bil,a))a=null;}if(a!=null){this.biu(this.bil.getPath(),null,a);this.aye(null,a);}}}function _eoftv_ap(a,b,c){if(!this.bja)this.bja=new Array();var d=new _eoftv_ei(a,b,c);_eofi_v(this.bja,d);}function _eoftv_aq(){var a=new _eofi_br();if(this.bja){for(var b=0;b50)||(e.abc+c-f.abg>50)){if(this.bih){this.bih.bii(false);this.bih=null;}if(a.bji)a.bji.style.display="none";a.bjf.style.cursor="no-drop";a.bix.style.cursor="no-drop";return;}var g;var h;var i=this.bjj(e.abc+c);g=i[0];h=i[1];if(!h)return;if(!g){if(this.bih!=h){if(this.bih)this.bih.bii(false);h.bii(true);this.bih=h;_eofu_ap(h,eo_ba,1500);}if(a.bji)a.bji.style.display="none";h.bet(true);if(!h.bjk())return;var j=this.bjl(this.bhm,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.bjf.style.cursor="default";a.bix.style.cursor="default";}else{a.bjf.style.cursor="no-drop";a.bix.style.cursor="no-drop";}h.bjm=j;}else{if(this.bih){this.bih.bii(false);this.bih=null;}h.bet(true);a.bjf.style.cursor="default";a.bix.style.cursor="default";if(h.getParentItem()){if(!h.getParentItem().bjk())return;var j=this.bjl(this.bhm,a,h.getParentItem());}if(j){var k=h.getParentItem();while(k){if(k==a){j=false;break;}k=k.getParentItem();}}if(j){a.bji.style.display="block";var l=_eofu_ah(g.bix);var m=_eofu_ah(h.bix);var n=new _eofu_b(Math.min(l.abb,m.abb),m.abc,Math.max(Math.max(l.abb+_eofu_ab(g.bix),m.abb+_eofu_ab(h.bix)),_eofu_ab(a.bix)),m.abc+1);n.abd-=20;n.abf+=20;a.bji.style.top=_eofu_aa(n.abe);a.bji.style.left=_eofu_aa(n.abd);a.bji.style.width=_eofu_aa(n.abf-n.abd);this.bjn(a.bji,n);this.bjh=i;}}}function _eoftv_at(a){var b=this.getTopGroup();return b.bjj(a);}function _eoftv_au(a,b){if(!this.bhc)return;if(!b)this.bhw.scrollTop=a;else{this.bid=a;_eofu_ap(this,eo_az,30);}}function _eoftv_av(a,b){if(!this.bhc)return;if(!b)this.bhw.scrollLeft=a;else{this.bic=a;_eofu_ap(this,eo_az,30);}}function _eoftv_aw(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_ax(a,b,c){var d;if(a==this.bik)this.bjo(null);if(a==this.bhy)this.aqp(null);this.biu(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.ant;var h=g.aap;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].asb();b.atz(true,true);b.bjr();b=b.getParentItem();while(b){b.asb();b=b.getParentItem();}}function _eoftv_ay(){var a=this.apd;if(this.bhw)a=this.bhw;var b=_eofu_ah(a);var c=new _eofu_b(b.abb,b.abc,b.abb+(a.clientWidth?a.clientWidth:_eofu_ab(a)),b.abc+(a.clientHeight?a.clientHeight:_eofu_ac(a)));return c;}function _eoftv_az(a,b){var c=this.als();var d=c.abd>b.abd?c.abd-b.abd:null;var e=c.abe>b.abe?c.abe-b.abe:null;var f=c.abf0)||!c.bgp.bgm()){this.bgq=_eofu_aj(h);this.bko=new _eoftv_l(this);}}if(this.bkg||this.bkh||this.bki){this.bkm++;this.bgu=_eofu_aj(h);this.bkp=_eofu_ef();this.bgu.appendChild(this.bkp);this.acl=new _eoftv_o(this);this.bkq();}if(c.bgw){if(this.bkr()){this.bkm++;this.bgv=_eofu_aj(h);if(c.bgw.awf)this.bgv.style.paddingLeft=_eofu_aa(c.bgw.awf);this.bks=new _eoftv_q(this);}else if(d.bkr()){this.bkm++;this.bgv=_eofu_aj(h);e=document.createElement("DIV");e.style.width=_eofu_aa(c.bgw.bgd);this.bgv.appendChild(e);}}var q=_eofu_aj(h);var r=document.createElement("DIV");r.style.width=_eofu_aa(this.bkt());q.appendChild(r);this.bkm++;this.bkm++;this.bix=_eofu_da(h);var s=this.ate();if(s)this.bix.style.height=_eofu_aa(s);if(this.ars)this.atq(this.bix);else if(this.arm){var t=this.arm.auy();if(t&&t.abm()){var u=document.createElement("DIV");_eofu_cz(u);this.bix.appendChild(u);this.arm.avb(u,0,0);}this.arm.apg(this.bix);this.arm.avc();}var v=d.axr();if(v&&(!this.bjs||(d.aqc&&!d.aqc.bjs))&&(!c.bgp||c.bgp.bgl())){this.bku=document.createElement("DIV");var w=_eofu_ef();w.src=c.bhb;w.height=v;d.apd.appendChild(this.bku);this.bku.appendChild(w);}if(!d.bkv){_eofu_as(this.bix,eo_bq,this,null);_eofu_as(this.bix,eo_bs,this,null);_eofu_as(this.bix,eo_bo,this,null);_eofu_as(this.bix,eo_bp,this,null);}this.arz(eo_it);if(!this.getVisible())this.aun(false);else if(this.ant&&(this.api&eo_ke))this.ant.apg();}function _eoftv_bk(){switch(_eofu_bk(this.api,eo_km)){case eo_bz:var a=this.anl();if(a)return a.bkr();else return false;case eo_ca:return true;case eo_cb:return false;}return false;}function _eoftv_bl(){this.auh();if(this.bgq)_eofu_ba(this.bgq);_eofu_ba(this.bix);_eofu_ba(this.bgu);_eofu_aq(this,eo_ba);_eofu_aq(this,eo_bb);this.aiw=null;this.bku=null;this.bgu=null;this.bkp=null;this.bix=null;if(this.ant)this.ant.ahb();}function _eoftv_bm(){if(this.ant){if(this.ant.aap){for(var a=0;a=0;d--){var e=c.getItemByIndex(d);if(e.getVisible())return false;}return true;}function _eoftv_bq(){var a=false;if(this.bko){if(!this.bkj){var b=-1;var c=this.art().bgp;var d=_eoftv_bn(this);var e=this.getParentGroup().aur();var f=_eoftv_bo(this);var g=_eoftv_bp(this);var h=this.bkw();var i=this.getLevel();if(!d&&this.bkk)d=1;if(c.bgl()){if(!d)b=eo_ml;else{if(h)b=eo_mk;else b=eo_mj;}}else{if(!d){if(f){if(e>1)b=eo_mn;else if(i==0)b=eo_mt;else b=eo_mn;}else if((i==0)&&g){if(e>1)b=eo_mw;else b=eo_mt;}else b=eo_mo;}else{if((i==0)&&g){if(f){if(h)b=eo_mv;else b=eo_mu;}else{if(h)b=eo_my;else b=eo_mx;}}else if(f){if(h)b=eo_ms;else b=eo_mr;}else{if(h)b=eo_mq;else b=eo_mp;}}}var j=c.bgk(b);this.bko.bgs(j);}else{this.bko.bgs(this.bkj);}}this.bkq();if(this.bks)this.bks.awr();return a;}function _eoftv_br(){this.asb();if(this.ant&&this.ant.aap){for(var a=0;a0)){var e=a;for(b=0;b(d.abb+_eofu_ab(b.apd)+5)){var e=this.getText();this.aiw.title=e;}}}function _eoftv_cp(){var a=this.auk();var b=this.ary();if((b&eo_iy)&&(b!=eo_jc))a=2+a;var c=this.bjp();return c*4+a;}function _eoftv_cq(){switch(_eofu_bk(this.api,eo_kn)){case eo_bz:var a=this.anl();if(a)return a.bkz();else return false;case eo_ca:return true;case eo_cb:return false;}return false;}function _eoftv_cr(){switch(_eofu_bk(this.api,eo_ko)){case eo_bz:var a=this.anl();if(a)return a.bkx();else return false;case eo_ca:return true;case eo_cb:return false;}return false;}function _eoftv_cs(){switch(_eofu_bk(this.api,eo_kp)){case eo_bz:var a=this.anl();if(a)return a.bjk();else return false;case eo_ca:return true;case eo_cb:return false;}return false;}function _eoftv_ct(a,b,c){}function _eoftv_cu(){if(!this.bjf){var a=this.art();this.bjg=_eofu_ah(this.aiw);var b=this.aiw.rows[0].innerHTML;var c=this.aiw.rows[0].cells.length;var d=this.bkm;var e=c-d;b=""+b+"
";var f=a.adm();this.bjf=document.createElement("SPAN");this.bjf.innerHTML=b;this.bjf.style.position="absolute";this.bjf.style.zIndex=_eofu_ek();this.bjf.style.cursor="default";_eofu_el(this.bjf,40);f.appendChild(this.bjf);if(a.bhs){this.bji=document.createElement("IMG");f.appendChild(this.bji);this.bji.style.zIndex=_eofu_ek()+1;this.bji.style.display="none";this.bji.style.height="1px";this.bji.style.backgroundColor="black";this.bji.style.position="absolute";}var g=document.getElementById("eo_tv_drag_node");for(var h=0;hd-5)return this.blg(true);else if(a-b<4)return this.blg(false);else return this.blg(null);}else return this.blg(null);}if(this.bkw()){var e=this.ant.bjj(a);if(e)return e;}return this;}function _eoftv_cy(a){var b=new Array();if(a==true){b[0]=this;if(this.aui()&&this.bkw())b[1]=this.ant.getItemByIndex(0);else{var c=this;while(c&&c.bjs)c=c.getParentItem();if(c&&c.getParentItem())b[1]=this.getParentItem().ant.getItemByIndex(c.getIndex()+1);}}else if(a==false){var d=this.getIndex();if(d>0)b[0]=this.getParentItem().ant.getItemByIndex(d-1);else if(this.getLevel()>0)b[0]=this.getParentItem();b[1]=this;}else{b[1]=this;}return b;}function _eoftv_cz(a,b){var c=this.art();if(a){if(!this.blh){var d=_eofu_ab(this.bix);var e=_eofu_ac(this.bix);this.blh=document.createElement("DIV");this.blh.style.position="absolute";var f=_eofu_ah(this.bix);this.blh.style.left=_eofu_aa(f.abb);this.blh.style.top=_eofu_aa(f.abc);this.blh.style.width=_eofu_aa(d);this.blh.style.height=_eofu_aa(e);this.blh.oncontextmenu=_eoftv_y;this.blh.style.zIndex=_eofu_ek()-2000;var g=this.asd(eo_iv);this.blh.className=g;if(!b)_eofu_el(this.blh,40);var h=c.adm();h.appendChild(this.blh);var i=new _eofu_b(f.abb,f.abc,f.abb+_eofu_ab(this.bix),f.abc+_eofu_ac(this.bix));c.bjn(this.blh,i);}}else{if(this.blh&&this.blh.parentNode){var h=c.adm();h.removeChild(this.blh);this.blh.oncontextmenu=null;this.blh=null;}}}function _eoftv_da(a){var b=this.getParentItem();if(b&&!b.bkw())b.atz(true,true);if(!this.aiw)return;var c=this.art();if(!c.bhc)return;if(!_eofu_ab(c.bhw)||!_eofu_ac(c.bhw)){_eofu_ap(this,eo_bb,200);return;}var d=_eofu_ag(this.bix,c.bhw);var e=new _eofu_a(d.abb,d.abc);if(c.bhw.scrollLeft)e.abb-=c.bhw.scrollLeft;if(c.bhw.scrollTop)e.abc-=c.bhw.scrollTop;var f=_eofu_ab(c.bhw)-20;var g=_eofu_ac(c.bhw)-20;if(e.abc<0){c.bka(d.abc,a);}else{e.abc+=_eofu_ac(this.aiw);if(e.abc>g)c.bka(d.abc-g+_eofu_ac(this.aiw),a);}if(e.abb<0){c.bkb(d.abb,a);}else if(e.abb>f){c.bkb(d.abb-f,a);}return d;}function _eoftv_db(){var a=this.art();if(!a.aoz)a.bhz=this;else this.bet(false);}function _eoftv_dc(a){if(a==eo_ba){var b=this.art();if(b.bih==this)this.atz(true,true);}else if(a==eo_bb){this.bet(false);}}var eo_ng=null;var eo_nh=null;function _eoftv_dd(a,b){eo_nh=eo_GetObject(b);eo_ng(a,b);}function _eoftv_de(a){var b=this.art();b.bjw();if(b.bhp){var c=window[b.bhp];if(c){var d=false;eo_ng=eo_ShowContextMenu;window["eo_ShowContextMenu"]=_eoftv_dd;try{d=c(a,b,this);}catch(a){}window["eo_ShowContextMenu"]=eo_ng;if(eo_nh){b.big=eo_nh;eo_nh.apu=b;eo_nh=null;}if(d){if(!this.getSelected()){var e=this.asd(eo_iv);this.ase(e,true);this.bjv=true;}b.bju=this;}}}}function _eoftv_df(a){if(!this.bkw()&&this.bkk)this.art().bjx(this,false,a);}function _eoftv_dg(){var a=this.getParentGroup();if(a!=null){var b=a.getParentItem();if(b!=null)b.expandPath();}this.setExpanded(true);}function _eoftv_dh(a){this.setExpanded(true);this.click(a);}_eoftv_bf.prototype=new _eofnv_at();_eoftv_bf.prototype.bkd=_eoftv_bg;_eoftv_bf.prototype.bke=_eoftv_bh;_eoftv_bf.prototype.aep=_eoftv_bi;_eoftv_bf.prototype.apg=_eoftv_bj;_eoftv_bf.prototype.bkr=_eoftv_bk;_eoftv_bf.prototype.ahb=_eoftv_bl;_eoftv_bf.prototype.asb=_eoftv_bq;_eoftv_bf.prototype.aaf=_eoftv_bu;_eoftv_bf.prototype.ase=_eoftv_bt;_eoftv_bf.prototype.ata=_eoftv_bv;_eoftv_bf.prototype.bgr=_eoftv_bw;_eoftv_bf.prototype.asx=_eoftv_bx;_eoftv_bf.prototype.atb=_eoftv_by;_eoftv_bf.prototype.bkw=_eoftv_ca;_eoftv_bf.prototype.atz=_eoftv_bz;_eoftv_bf.prototype.bip=_eoftv_cb;_eoftv_bf.prototype.bir=_eoftv_cc;_eoftv_bf.prototype.bgy=_eoftv_cd;_eoftv_bf.prototype.blc=_eoftv_cf;_eoftv_bf.prototype.bld=_eoftv_ce;_eoftv_bf.prototype.ble=_eoftv_cg;_eoftv_bf.prototype.bjp=_eoftv_ch;_eoftv_bf.prototype.aun=_eoftv_ck;_eoftv_bf.prototype.bkq=_eoftv_bs;_eoftv_bf.prototype.bkt=_eoftv_cl;_eoftv_bf.prototype.bin=_eoftv_co;_eoftv_bf.prototype.ato=_eoftv_cp;_eoftv_bf.prototype.bkz=_eoftv_cq;_eoftv_bf.prototype.bkx=_eoftv_cr;_eoftv_bf.prototype.bjk=_eoftv_cs;_eoftv_bf.prototype.aef=_eoftv_ct;_eoftv_bf.prototype.aeg=_eoftv_cv;_eoftv_bf.prototype.aei=_eoftv_cw;_eoftv_bf.prototype.bjj=_eoftv_cx;_eoftv_bf.prototype.bii=_eoftv_cz;_eoftv_bf.prototype.bet=_eoftv_da;_eoftv_bf.prototype.blf=_eoftv_cu;_eoftv_bf.prototype.bjq=_eoftv_bm;_eoftv_bf.prototype.bjr=_eoftv_br;_eoftv_bf.prototype.blg=_eoftv_cy;_eoftv_bf.prototype.abp=_eoftv_dc;_eoftv_bf.prototype.asy=_eoftv_de;_eoftv_bf.prototype.bjx=_eoftv_df;_eoftv_bf.prototype.atg=_eoftv_dh;_eoftv_bf.prototype.getCheckState=_eoftv_ch;_eoftv_bf.prototype.setCheckState=_eoftv_cf;_eoftv_bf.prototype.getChecked=_eoftv_cj;_eoftv_bf.prototype.setChecked=_eoftv_ci;_eoftv_bf.prototype.getExpanded=_eoftv_ca;_eoftv_bf.prototype.setExpanded=_eoftv_bz;_eoftv_bf.prototype.isLeafNode=_eoftv_cm;_eoftv_bf.prototype.select=_eoftv_cn;_eoftv_bf.prototype.ensureVisible=_eoftv_db;_eoftv_bf.prototype.populateOnDemand=_eoftv_df;_eoftv_bf.prototype.expandPath=_eoftv_dg;function _eoftv_di(a){if(a)this.bli(a);}function _eoftv_dj(a){if(!a)a=new Object();this.awz(a[0]);this.blj(a[1],a[2]);}function _eoftv_dk(a,b){this.blk=a;this.bll=b;this.aug=_eoftv_ec;}function _eoftv_dl(){return true;}function _eoftv_dm(){this.axs();if(this.aap){for(var a=0;ah+1){var i=f.getItemByIndex(h+1);e=i.aiw;}}if(e)f.apd.insertBefore(this.bco,e);else f.apd.appendChild(this.bco);this.apd=document.createElement("DIV");this.bco.appendChild(this.apd);}var j=null;if(this.aqc.arn)j=this.aqc.arn.asi(eo_jm);if(c)c.className=j;else this.apd.className=j;var k=this.art();this.aug(k,j);if(!this.bkv){var l=this.art().add();_eofu_as(this.apd,eo_bq,this,l);_eofu_as(this.apd,eo_bs,this,l);_eofu_as(this.apd,eo_bo,this,l);this.blm=false;for(b=0;b0)&&!this.bkv){this.afg();this.afi(true);}if(this.aap){for(b=0;b0)e=this.aqc;}else if(a==eo_cq){e=this.aap[b-1];while(e.aui()&&e.bkw()){e=e.ant.aap[e.ant.aap.length-1];}}else if(a==eo_cs){if(f.aui()&&f.bkw()&&!d)e=f.ant.aap[0];else if(b0){var g=this.aqc;b=g.amd();return g.aqc.ant.ayg(eo_cs,b,c,true);}}else if(a==eo_cr){if(f.aui()){f.bgr(false);return true;}}if(e){this.art().aqp(e);e.bet();return true;}return false;}function _eoftv_ee(){switch(_eofu_bk(this.api,eo_kn)){case eo_bz:return this.aqc.bkz();case eo_ca:return true;case eo_cb:return false;}return false;}function _eoftv_ef(){switch(_eofu_bk(this.api,eo_ko)){case eo_bz:return this.aqc.bkx();case eo_ca:return true;case eo_cb:return false;}return false;}function _eoftv_eg(){switch(_eofu_bk(this.api,eo_kp)){case eo_bz:return this.aqc.bjk();case eo_ca:return true;case eo_cb:return false;}return false;}function _eoftv_eh(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