//********************************************************************************************************** // 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.25.2 //********************************************************************************************************** function _eoftv_a(a,b,c){ this.bfm=a;this.bfn=b;this.aqv=c;if(!c)this.aqv=32;}function _eoftv_b(a,b){var c=null;var d=null;var e=_eofu_aj(a);e.vAlign="center";if(b&&this.bfm&&(this.aqv>this.bfm)){c=Math.floor((this.aqv-this.bfm)/2);d=this.aqv-c-this.bfm;}var f=null;if(c==null){f=document.createElement("DIV");f.style.width=_eofu_aa(this.aqv);e.appendChild(f);}if(b){var g=_eofu_ef();if(this.bfm)g.width=this.bfm;if(this.bfn)g.height=this.bfn;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.bfo=_eoftv_b;var eo_ma=0;var eo_mb=1;var eo_mc=2;var eo_md=3;var eo_me=4;var eo_mf=5;var eo_mg=6;var eo_mh=7;var eo_mi=8;var eo_mj=9;var eo_mk=10;var eo_ml=11;var eo_mm=12;var eo_mn=13;var eo_mo=14;var eo_mp=15;function _eoftv_c(a,b,c,d,e){var f;this.bfp=a;this.aqv=b;this.aqu=c;this.auz=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_mw.bhy);eo_mw.bhy=null;eo_mw=null;}}function _eoftv_aj(a,b,c){var d=true;var e=new Array();var f=a;while(f.apn){if(f.getDisabled()){d=false;break;}_eofi_v(e,f);f=f.apn;if(c)break;}if(d){for(var g=e.length-1;g>=0;g--)e[g].atk(true,true,b);}return d;}function _eoftv_ak(){if(eo_mw)return null;var a=new _eofi_br("d");var b=this.getTopGroup();a.ax("s",b.bb(true));a.ax("c",this.bif());return a;}var g_CurEditTreeView=null;function _eoftv_al(a){if(g_CurEditTreeView)g_CurEditTreeView.bhl();}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.bhk=b;_eofu_ap(g_CurEditTreeView,eo_ay,1);_eofi_dl(document,a);return false;}}function _eoftv_an(a,b){if(a&&this.bhv){if(a==this.bhv)return;this.axp(null);}if(a){var c=a.aro(eo_ik);a.arp(c,true);a.big=a.getText();var d=_eofu_ab(a.bih)+25;var e=document.createElement("INPUT");e.type="text";e.value=a.big;e.style.width=_eofu_aa(d);if(this.bgs)e.className=this.bgs;a.bih.innerHTML="";a.bih.appendChild(e);a.bii=e;var c=_eofu_bz(a.bih);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.bhv=a;}else if(this.bhv){g_CurEditTreeView=null;a=this.bhv;this.bhv=null;a.bih.removeChild(a.bii);a.bih.className=a.bij;a.setText(b!=null?b:a.big);a.bih.innerHTML=a.getText();a.bii.onblur=null;a.bii.onkeydown=null;var h=a.aem&~eo_iq;var c=a.aro(h);a.arp(c,true);}}function _eoftv_ao(){if(this.bhv){var a=this.bhv.bii.value;if(a==null)a="";if(a){var b=this.bgx;if(b)b=window[b];if(b&&b(this,this.bhv,a))a=null;}if(a!=null){this.bie(this.bhv.getPath(),null,a);this.axp(null,a);}}}function _eoftv_ap(a,b,c){if(!this.bik)this.bik=new Array();var d=new _eoftv_eg(a,b,c);_eofi_v(this.bik,d);}function _eoftv_aq(){var a=new _eofi_br();if(this.bik){for(var b=0;b50)||(e.aax+c-f.abb>50)){if(this.bhr){this.bhr.bhs(false);this.bhr=null;}if(a.bis)a.bis.style.display="none";a.bip.style.cursor="no-drop";a.bih.style.cursor="no-drop";return;}var g;var h;var i=this.bit(e.aax+c);g=i[0];h=i[1];if(!h)return;if(!g){if(this.bhr!=h){if(this.bhr)this.bhr.bhs(false);h.bhs(true);this.bhr=h;_eofu_ap(h,eo_ba,1500);}if(a.bis)a.bis.style.display="none";h.bhj(true);if(!h.biu())return;var j=this.biv(this.bgv,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.bip.style.cursor="default";a.bih.style.cursor="default";}else{a.bip.style.cursor="no-drop";a.bih.style.cursor="no-drop";}h.biw=j;}else{if(this.bhr){this.bhr.bhs(false);this.bhr=null;}h.bhj(true);a.bip.style.cursor="default";a.bih.style.cursor="default";if(h.getParentItem()){if(!h.getParentItem().biu())return;var j=this.biv(this.bgv,a,h.getParentItem());}if(j){var k=h.getParentItem();while(k){if(k==a){j=false;break;}k=k.getParentItem();}}if(j){a.bis.style.display="block";var l=_eofu_ah(g.bih);var m=_eofu_ah(h.bih);var n=new _eofu_b(Math.min(l.aaw,m.aaw),m.aax,Math.max(Math.max(l.aaw+_eofu_ab(g.bih),m.aaw+_eofu_ab(h.bih)),_eofu_ab(a.bih)),m.aax+1);n.aay-=20;n.aba+=20;a.bis.style.top=_eofu_aa(n.aaz);a.bis.style.left=_eofu_aa(n.aay);a.bis.style.width=_eofu_aa(n.aba-n.aay);this.bix(a.bis,n);this.bir=i;}}}function _eoftv_at(a){var b=this.getTopGroup();return b.bit(a);}function _eoftv_au(a,b){if(!this.bgl)return;if(!b)this.bhf.scrollTop=a;else{this.bhn=a;_eofu_ap(this,eo_az,30);}}function _eoftv_av(a,b){if(!this.bgl)return;if(!b)this.bhf.scrollLeft=a;else{this.bhm=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.bhu)this.biy(null);if(a==this.bhh)this.aqa(null);this.bie(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.ane;var h=g.aak;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].arm();b.atk(true,true);b.bjb();b=b.getParentItem();while(b){b.arm();b=b.getParentItem();}}function _eoftv_ay(){var a=this.aoo;if(this.bhf)a=this.bhf;var b=_eofu_ah(a);var c=new _eofu_b(b.aaw,b.aax,b.aaw+(a.clientWidth?a.clientWidth:_eofu_ab(a)),b.aax+(a.clientHeight?a.clientHeight:_eofu_ac(a)));return c;}function _eoftv_az(a,b){var c=this.aln();var d=c.aay>b.aay?c.aay-b.aay:null;var e=c.aaz>b.aaz?c.aaz-b.aaz:null;var f=c.aba0)||!c.bfy.bfv()){this.bfz=_eofu_aj(h);this.bjy=new _eoftv_l(this);}}if(this.bjq||this.bjr||this.bjs){this.bjw++;this.bgd=_eofu_aj(h);this.bjz=_eofu_ef();this.bgd.appendChild(this.bjz);this.acg=new _eoftv_o(this);this.bka();}if(c.bgf){if(this.bkb()){this.bjw++;this.bge=_eofu_aj(h);if(c.bgf.avq)this.bge.style.paddingLeft=_eofu_aa(c.bgf.avq);this.bkc=new _eoftv_q(this);}else if(d.bkb()){this.bjw++;this.bge=_eofu_aj(h);e=document.createElement("DIV");e.style.width=_eofu_aa(c.bgf.bfm);this.bge.appendChild(e);}}var q=_eofu_aj(h);var r=document.createElement("DIV");r.style.width=_eofu_aa(this.bkd());q.appendChild(r);this.bjw++;this.bjw++;this.bih=_eofu_da(h);var s=this.asp();if(s)this.bih.style.height=_eofu_aa(s);if(this.ard)this.atb(this.bih);else if(this.aqx){var t=this.aqx.auj();if(t&&t.abh()){var u=document.createElement("DIV");_eofu_cz(u);this.bih.appendChild(u);this.aqx.aum(u,0,0);}this.aqx.aor(this.bih);this.aqx.aun();}var v=d.axc();if(v&&(!this.bjc||(d.apn&&!d.apn.bjc))&&(!c.bfy||c.bfy.bfu())){this.bke=document.createElement("DIV");var w=_eofu_ef();w.src=c.bgk;w.height=v;d.aoo.appendChild(this.bke);this.bke.appendChild(w);}if(!d.bkf){_eofu_as(this.bih,eo_bq,this,null);_eofu_as(this.bih,eo_bs,this,null);_eofu_as(this.bih,eo_bo,this,null);_eofu_as(this.bih,eo_bp,this,null);}this.ark(eo_ik);if(!this.getVisible())this.aty(false);else if(this.ane&&(this.aot&eo_jv))this.ane.aor();}function _eoftv_bk(){switch(_eofu_bk(this.aot,eo_kd)){case eo_bz:var a=this.amw();if(a)return a.bkb();else return false;case eo_ca:return true;case eo_cb:return false;}return false;}function _eoftv_bl(){this.ats();if(this.bfz)_eofu_ba(this.bfz);_eofu_ba(this.bih);_eofu_ba(this.bgd);_eofu_aq(this,eo_ba);_eofu_aq(this,eo_bb);this.air=null;this.bke=null;this.bgd=null;this.bjz=null;this.bih=null;if(this.ane)this.ane.agw();}function _eoftv_bm(){if(this.ane){if(this.ane.aak){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.bjy){if(!this.bjt){var b=-1;var c=this.are().bfy;var d=_eoftv_bn(this);var e=this.getParentGroup().auc();var f=_eoftv_bo(this);var g=_eoftv_bp(this);var h=this.bkg();var i=this.getLevel();if(!d&&this.bju)d=1;if(c.bfu()){if(!d)b=eo_mc;else{if(h)b=eo_mb;else b=eo_ma;}}else{if(!d){if(f){if(e>1)b=eo_me;else if(i==0)b=eo_mk;else b=eo_me;}else if((i==0)&&g){if(e>1)b=eo_mn;else b=eo_mk;}else b=eo_mf;}else{if((i==0)&&g){if(f){if(h)b=eo_mm;else b=eo_ml;}else{if(h)b=eo_mp;else b=eo_mo;}}else if(f){if(h)b=eo_mj;else b=eo_mi;}else{if(h)b=eo_mh;else b=eo_mg;}}}var j=c.bft(b);this.bjy.bgb(j);}else{this.bjy.bgb(this.bjt);}}this.bka();if(this.bkc)this.bkc.awc();return a;}function _eoftv_br(){this.arm();if(this.ane&&this.ane.aak){for(var a=0;a0)){var e=a;for(b=0;b(d.aaw+_eofu_ab(b.aoo)+5)){var e=this.getText();this.air.title=e;}}}function _eoftv_cp(){var a=this.atv();var b=this.arj();if((b&eo_ip)&&(b!=eo_it))a=2+a;var c=this.biz();return c*4+a;}function _eoftv_cq(){switch(_eofu_bk(this.aot,eo_ke)){case eo_bz:var a=this.amw();if(a)return a.bkj();else return false;case eo_ca:return true;case eo_cb:return false;}return false;}function _eoftv_cr(){switch(_eofu_bk(this.aot,eo_kf)){case eo_bz:var a=this.amw();if(a)return a.bkh();else return false;case eo_ca:return true;case eo_cb:return false;}return false;}function _eoftv_cs(){switch(_eofu_bk(this.aot,eo_kg)){case eo_bz:var a=this.amw();if(a)return a.biu();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.bip){var a=this.are();this.biq=_eofu_ah(this.air);var b=this.air.rows[0].innerHTML;var c=this.air.rows[0].cells.length;var d=this.bjw;var e=c-d;b=""+b+"
";var f=a.adh();this.bip=document.createElement("SPAN");this.bip.innerHTML=b;this.bip.style.position="absolute";this.bip.style.zIndex=_eofu_ek();this.bip.style.cursor="default";_eofu_el(this.bip,40);f.appendChild(this.bip);if(a.bhb){this.bis=document.createElement("IMG");f.appendChild(this.bis);this.bis.style.zIndex=_eofu_ek()+1;this.bis.style.display="none";this.bis.style.height="1px";this.bis.style.backgroundColor="black";this.bis.style.position="absolute";}var g=document.getElementById("eo_tv_drag_node");for(var h=0;hd-5)return this.bkq(true);else if(a-b<4)return this.bkq(false);else return this.bkq(null);}else return this.bkq(null);}if(this.bkg()){var e=this.ane.bit(a);if(e)return e;}return this;}function _eoftv_cy(a){var b=new Array();if(a==true){b[0]=this;if(this.att()&&this.bkg())b[1]=this.ane.getItemByIndex(0);else{var c=this;while(c&&c.bjc)c=c.getParentItem();if(c&&c.getParentItem())b[1]=this.getParentItem().ane.getItemByIndex(c.getIndex()+1);}}else if(a==false){var d=this.getIndex();if(d>0)b[0]=this.getParentItem().ane.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.are();if(a){if(!this.bkr){var d=_eofu_ab(this.bih);var e=_eofu_ac(this.bih);this.bkr=document.createElement("DIV");this.bkr.style.position="absolute";var f=_eofu_ah(this.bih);this.bkr.style.left=_eofu_aa(f.aaw);this.bkr.style.top=_eofu_aa(f.aax);this.bkr.style.width=_eofu_aa(d);this.bkr.style.height=_eofu_aa(e);this.bkr.oncontextmenu=_eoftv_y;this.bkr.style.zIndex=_eofu_ek()-2000;var g=this.aro(eo_im);this.bkr.className=g;if(!b)_eofu_el(this.bkr,40);var h=c.adh();h.appendChild(this.bkr);var i=new _eofu_b(f.aaw,f.aax,f.aaw+_eofu_ab(this.bih),f.aax+_eofu_ac(this.bih));c.bix(this.bkr,i);}}else{if(this.bkr&&this.bkr.parentNode){var h=c.adh();h.removeChild(this.bkr);this.bkr.oncontextmenu=null;this.bkr=null;}}}function _eoftv_da(a){var b=this.getParentItem();if(b&&!b.bkg())b.atk(true,true);if(!this.air)return;if(!this.bgl)return;var c=this.are();if(!_eofu_ab(c.bhf)||!_eofu_ac(c.bhf)){_eofu_ap(this,eo_bb,200);return;}var d=_eofu_ag(this.bih,c.bhf);var e=new _eofu_a(d.aaw,d.aax);if(c.bhf.scrollLeft)e.aaw-=c.bhf.scrollLeft;if(c.bhf.scrollTop)e.aax-=c.bhf.scrollTop;var f=_eofu_ab(c.bhf)-20;var g=_eofu_ac(c.bhf)-20;if(e.aax<0){c.bjk(d.aax,a);}else{e.aax+=_eofu_ac(this.air);if(e.aax>g)c.bjk(d.aax-g+_eofu_ac(this.air),a);}if(e.aaw<0){c.bjl(d.aaw,a);}else if(e.aaw>f){c.bjl(d.aaw-f,a);}return d;}function _eoftv_db(){var a=this.are();if(!a.aok)a.bhi=this;else this.bhj(false);}function _eoftv_dc(a){if(a==eo_ba){var b=this.are();if(b.bhr==this)this.atk(true,true);}else if(a==eo_bb){this.bhj(false);}}var eo_mx=null;var eo_my=null;function _eoftv_dd(a,b){eo_my=eo_GetObject(b);eo_mx(a,b);}function _eoftv_de(a){var b=this.are();b.bjg();if(b.bgy){var c=window[b.bgy];if(c){var d=false;eo_mx=eo_ShowContextMenu;window["eo_ShowContextMenu"]=_eoftv_dd;try{d=c(a,b,this);}catch(a){}window["eo_ShowContextMenu"]=eo_mx;if(eo_my){b.bhq=eo_my;eo_my.apf=b;eo_my=null;}if(d){if(!this.getSelected()){var e=this.aro(eo_im);this.arp(e,true);this.bjf=true;}b.bje=this;}}}}function _eoftv_df(a){if(!this.bkg()&&this.bju)this.are().bjh(this,false,a);}_eoftv_bf.prototype=new _eofnv_at();_eoftv_bf.prototype.bjn=_eoftv_bg;_eoftv_bf.prototype.bjo=_eoftv_bh;_eoftv_bf.prototype.aek=_eoftv_bi;_eoftv_bf.prototype.aor=_eoftv_bj;_eoftv_bf.prototype.bkb=_eoftv_bk;_eoftv_bf.prototype.agw=_eoftv_bl;_eoftv_bf.prototype.arm=_eoftv_bq;_eoftv_bf.prototype.aab=_eoftv_bu;_eoftv_bf.prototype.arp=_eoftv_bt;_eoftv_bf.prototype.asl=_eoftv_bv;_eoftv_bf.prototype.bga=_eoftv_bw;_eoftv_bf.prototype.asi=_eoftv_bx;_eoftv_bf.prototype.asm=_eoftv_by;_eoftv_bf.prototype.bkg=_eoftv_ca;_eoftv_bf.prototype.atk=_eoftv_bz;_eoftv_bf.prototype.bhz=_eoftv_cb;_eoftv_bf.prototype.bib=_eoftv_cc;_eoftv_bf.prototype.bgh=_eoftv_cd;_eoftv_bf.prototype.bkm=_eoftv_cf;_eoftv_bf.prototype.bkn=_eoftv_ce;_eoftv_bf.prototype.bko=_eoftv_cg;_eoftv_bf.prototype.biz=_eoftv_ch;_eoftv_bf.prototype.aty=_eoftv_ck;_eoftv_bf.prototype.bka=_eoftv_bs;_eoftv_bf.prototype.bkd=_eoftv_cl;_eoftv_bf.prototype.bhx=_eoftv_co;_eoftv_bf.prototype.asz=_eoftv_cp;_eoftv_bf.prototype.bkj=_eoftv_cq;_eoftv_bf.prototype.bkh=_eoftv_cr;_eoftv_bf.prototype.biu=_eoftv_cs;_eoftv_bf.prototype.aea=_eoftv_ct;_eoftv_bf.prototype.aeb=_eoftv_cv;_eoftv_bf.prototype.aed=_eoftv_cw;_eoftv_bf.prototype.bit=_eoftv_cx;_eoftv_bf.prototype.bhs=_eoftv_cz;_eoftv_bf.prototype.bhj=_eoftv_da;_eoftv_bf.prototype.bkp=_eoftv_cu;_eoftv_bf.prototype.bja=_eoftv_bm;_eoftv_bf.prototype.bjb=_eoftv_br;_eoftv_bf.prototype.bkq=_eoftv_cy;_eoftv_bf.prototype.abk=_eoftv_dc;_eoftv_bf.prototype.asj=_eoftv_de;_eoftv_bf.prototype.bjh=_eoftv_df;_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;function _eoftv_dg(a){if(a)this.bks(a);}function _eoftv_dh(a){if(!a)a=new Object();this.awk(a[0]);this.bkt(a[1],a[2]);}function _eoftv_di(a,b){this.bku=a;this.bkv=b;this.atr=_eoftv_ea;}function _eoftv_dj(){return true;}function _eoftv_dk(){this.axd();if(this.aak){for(var a=0;ah+1){var i=f.getItemByIndex(h+1);e=i.air;}}if(e)f.aoo.insertBefore(this.bby,e);else f.aoo.appendChild(this.bby);this.aoo=document.createElement("DIV");this.bby.appendChild(this.aoo);}var j=null;if(this.apn.aqy)j=this.apn.aqy.art(eo_jd);if(c)c.className=j;else this.aoo.className=j;var k=this.are();this.atr(k,j);if(!this.bkf){var l=this.are().acy();_eofu_as(this.aoo,eo_bq,this,l);_eofu_as(this.aoo,eo_bs,this,l);_eofu_as(this.aoo,eo_bo,this,l);this.bkw=false;for(b=0;b0)&&!this.bkf){this.afb();this.afd(true);}if(this.aak){for(b=0;b0)e=this.apn;}else if(a==eo_cq){e=this.aak[b-1];while(e.att()&&e.bkg()){e=e.ane.aak[e.ane.aak.length-1];}}else if(a==eo_cs){if(f.att()&&f.bkg()&&!d)e=f.ane.aak[0];else if(b0){var g=this.apn;b=g.alx();return g.apn.ane.axr(eo_cs,b,c,true);}}else if(a==eo_cr){if(f.att()){f.bga(false);return true;}}if(e){this.are().aqa(e);return true;}return false;}function _eoftv_ec(){switch(_eofu_bk(this.aot,eo_ke)){case eo_bz:return this.apn.bkj();case eo_ca:return true;case eo_cb:return false;}return false;}function _eoftv_ed(){switch(_eofu_bk(this.aot,eo_kf)){case eo_bz:return this.apn.bkh();case eo_ca:return true;case eo_cb:return false;}return false;}function _eoftv_ee(){switch(_eofu_bk(this.aot,eo_kg)){case eo_bz:return this.apn.biu();case eo_ca:return true;case eo_cb:return false;}return false;}function _eoftv_ef(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