//********************************************************************************************************** // EO.Web Script Library. Copyright (C) 2004-2006 Essential Objects, Inc. All rights reserved. // Visit Us on the Web: http://www.essentialobjects.com // Version: 3.1.20.1 //********************************************************************************************************** var eo_fx=-1;var eo_fy=-1;function _eofme_a(a,b,c,d){this.agb=a;this.agc=new Array();this.agb.agd=this;this.agb.onmousedown=_eofme_m;this.agb.onmouseup=_eofme_n;this.agb.onkeydown=_eofme_o;this.agb.onkeyup=_eofme_p;this.agb.onkeypress=_eofme_q;this.agb.onfocus=_eofme_r;this.agb.onblur=_eofme_s;this.agb.onselectstart=_eofme_t;this.agb.ondragstart=_eofi_cg;this.agb.onselect=_eofi_cg;this.age="\t"+b;this.agf=c;this.agg=d;}function _eofme_b(){this.agb.agd=this;this.agb.onmousedown=null;this.agb.onmouseup=null;this.agb.onkeydown=null;this.agb.onkeyup=null;this.agb.onkeypress=null;this.agb.onfocus=null;this.agb.onblur=null;this.agb.onselectstart=null;this.agb.ondragstart=null;this.agb.onselect=null;this.agb=null;}function _eofme_c(){var a=this.agb.value;if(a){if(this.agb.createTextRange){var b=this.agb.createTextRange();b.moveEnd("character",-a.length);b.select();}else if(this.agb.setSelectionRange)this.agb.setSelectionRange(0,0);}}function _eofme_d(){this.agc=new Array();this.agh=null;}function _eofme_e(){this.agi();}function _eofme_f(){var a="";if(this.agg)a=this.agg;else{for(var b=0;b=b)&&(c.aba=b)&&(d=0)break;}if(c>=0){if(!this.agh)this.agb.focus();if(this.ahe(a.shiftKey?-1:1,false))return true;}}if(_eofu_ci(b)||(b==eo_bn)){switch(b){case eo_bj:this.ahe(-1,true);break;case eo_bl:this.ahe(1,true);break;case eo_bk:if(this.agh)this.agh.ahf(1);this.agi();break;case eo_bm:if(this.agh)this.agh.ahf(-1);this.agi();break;case eo_bn:if(this.agh){var f=this.agh.ahg();if(f&2){this.agh.ahh();this.agi();}if(f&1){this.ahe(-1,true);}}break;}return true;}if(b==eo_bo){if(this.agh&&this.agh.t())this.agi();return true;}return false;}function _eofme_ae(a){if(this.agb.readOnly)return;if(!this.ahc()){if(this.ahd(a))return false;}if(this.agh){this.agg=null;if(!a)a=window.event;if(this.agh.ags(a)){this.agi();}var b=_eofu_cj(a);if((b==9)||(b==27))return;_eofi_db(this.agb,a);return false;}}function _eofme_af(a){if(this.agb.readOnly)return;if(!this.agh){var b=_eofme_bu();for(var c=0;c0){d++;if(d>=this.agc.length){if(b)d=0;else return false;}}else{d--;if(d<0){if(b)d=this.agc.length-1;else return false;}}var e=this.agc[d];if(e.agy())continue;this.aha(e);return true;}return false;}function _eofme_ai(){return this.agc;}_eofme_a.prototype.afz=_eofme_b;_eofme_a.prototype.ahb=_eofme_c;_eofme_a.prototype.agm=_eofme_g;_eofme_a.prototype.ahj=_eofme_i;_eofme_a.prototype.ahk=_eofme_h;_eofme_a.prototype.ahl=_eofme_j;_eofme_a.prototype.agp=_eofme_k;_eofme_a.prototype.agn=_eofme_l;_eofme_a.prototype.ahm=_eofme_d;_eofme_a.prototype.ahn=_eofme_e;_eofme_a.prototype.agi=_eofme_f;_eofme_a.prototype.agk=_eofme_u;_eofme_a.prototype.agv=_eofme_w;_eofme_a.prototype.agw=_eofme_x;_eofme_a.prototype.aha=_eofme_v;_eofme_a.prototype.bn=_eofme_y;_eofme_a.prototype.abi=_eofme_z;_eofme_a.prototype.agq=_eofme_aa;_eofme_a.prototype.ahc=_eofme_ac;_eofme_a.prototype.ahd=_eofme_ad;_eofme_a.prototype.agr=_eofme_ab;_eofme_a.prototype.ags=_eofme_ae;_eofme_a.prototype.agt=_eofme_af;_eofme_a.prototype.agu=_eofme_ag;_eofme_a.prototype.ahe=_eofme_ah;_eofme_a.prototype.aho=_eofme_ai;function _eofme_aj(){}function _eofme_ak(){return this.agl.agb;}function _eofme_al(){var a=this.ahp();if(a.createTextRange){var b=this.ahq();var c=a.createTextRange();c.moveStart("character",b);c.moveEnd("character",b+this.agn()-this.agl.agn());return c;}return null;}function _eofme_am(){if(this.agl.agg){this.ahp().select();return;}var a=this.ahr();if(a)a.select();else{var b=this.ahp();if(b.setSelectionRange){var c=this.ahq();if(c>=0)b.setSelectionRange(c,c+this.agn());}}this.ahs=true;}function _eofme_an(){this.ahs=false;this.az();}function _eofme_ao(){var a=0;for(var b=0;bf)f=a[g].length;}this.ahz=f;this.ahw=d;if(!d)this.ahw=0;this.ahx=e;if(e==null)this.ahx=a.length;if(bthis.ahx)b=this.ahx;this.aia=b;this.aib=c;}function _eofme_ay(){var a=this.aia;if(a!=null){if(a>this.ahx)a=this.ahx;if(athis.ahx)this.aia=this.ahx;if(this.aia0){e++;c=Math.floor(c/ 10);}this.ago=e;}function _eofme_bg(){var a;if(this.aif){a=_eofu_dr(this.aif);if(athis.ahx){return _eofme_bo(_eofme_bp(this.ahx,this.aie),this.ago,true," ");}return _eofme_bo(this.aif,this.ago,true," ");}else{a=this.ai();if(a!=null){var b=this.agl.agf;if(b&&b.aig)return b.aig(this,a);else return _eofme_bo(_eofme_bp(a,this.aie),this.ago,true," ");}else{return _eofme_bo("",this.ago,true," ");}}}function _eofme_bh(){return this.ago;}function _eofme_bi(a){if(this.aif)this.ar=_eofu_dr(this.aif);if(this.ar==null)this.ar=a;else this.ar+=a;if(a>0){if(this.ar>this.ahx)this.ar=this.ahw;}else{if(this.ar=48)&&(c<=57)){if(this.aif==null)this.aif="";this.aif+=String.fromCharCode(c);if(this.aif.length>this.ago)this.aif=this.aif.substr(this.aif.length-this.ago);this.ahh();return true;}else return false;}function _eofme_bk(){var a=this.aif;if(a){a=_eofu_dr(a);if(athis.ahx)a=this.ahx;this.ar=a;}this.aif=null;}function _eofme_bl(){if(!this.aif&&this.ar)this.aif=this.ar.toString();if(this.aif){this.aif=this.aif.substr(0,this.aif.length-1);if(this.aif)return 2;else{this.ar=null;return 3;}}return 1;}function _eofme_bm(){this.aif=null;return true;}function _eofme_bn(){var a=this.ahs&&this.aif?_eofu_dr(this.aif):this.ar;if(a==null)return null;if(athis.ahx)a=this.ahx;return a;}_eofme_bf.prototype=new _eofme_aj();_eofme_bf.prototype.agj=_eofme_bg;_eofme_bf.prototype.agn=_eofme_bh;_eofme_bf.prototype.agy=_eofi_cg;_eofme_bf.prototype.ahf=_eofme_bi;_eofme_bf.prototype.ags=_eofme_bj;_eofme_bf.prototype.az=_eofme_bk;_eofme_bf.prototype.ahg=_eofme_bl;_eofme_bf.prototype.t=_eofme_bm;_eofme_bf.prototype.aid=_eofme_aw;_eofme_bf.prototype.ai=_eofme_bn;function _eofme_bo(a,b,c,d){if(!a)a="";else b-=a.length;while(b>0){if(c)a=d+a;else a=a+d;b-=d.length;}return a;}function _eofme_bp(a,b){return _eofme_bo(a.toString(),b,true," ");}function _eofme_bq(a){if(!a)a=window.event;if(!a)return false;var b=_eofu_cj(a);return a.shiftKey&&b==9;}function _eofme_br(){eo_fx=-1;eo_fy=-1;}function _eofme_bs(a){_eofme_br();if(_eofme_bq(a))eo_fx=_eofi_ds();}function _eofme_bt(a){_eofme_br();if(_eofme_bq(a))eo_fy=_eofi_ds();}function _eofme_bu(){if((eo_fx>0)&&(eo_fy<0))return true;if((eo_fy>0)&&((_eofi_ds()-eo_fy)<200))return true;return false;}eo_LoadModules();if (!window.eo_modules)window.eo_modules="";window.eo_modules+="me|";