//********************************************************************************************************** // 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.17.2 //********************************************************************************************************** var eo_fl=-1;var eo_fm=-1;function _eofme_a(a,b,c,d){this.afn=a;this.afo=new Array();this.afn.afp=this;this.afn.onmousedown=_eofme_m;this.afn.onmouseup=_eofme_n;this.afn.onkeydown=_eofme_o;this.afn.onkeyup=_eofme_p;this.afn.onkeypress=_eofme_q;this.afn.onfocus=_eofme_r;this.afn.onblur=_eofme_s;this.afn.onselectstart=_eofme_t;this.afn.ondragstart=_eofi_cg;this.afn.onselect=_eofi_cg;this.afq="\t"+b;this.afr=c;this.afs=d;}function _eofme_b(){this.afn.afp=this;this.afn.onmousedown=null;this.afn.onmouseup=null;this.afn.onkeydown=null;this.afn.onkeyup=null;this.afn.onkeypress=null;this.afn.onfocus=null;this.afn.onblur=null;this.afn.onselectstart=null;this.afn.ondragstart=null;this.afn.onselect=null;this.afn=null;}function _eofme_c(){var a=this.afn.value;if(a){if(this.afn.createTextRange){var b=this.afn.createTextRange();b.moveEnd("character",-a.length);b.select();}else if(this.afn.setSelectionRange)this.afn.setSelectionRange(0,0);}}function _eofme_d(){this.afo=new Array();this.aft=null;}function _eofme_e(){this.afu();}function _eofme_f(){var a="";if(this.afs)a=this.afs;else{for(var b=0;b=b)&&(c.aba=b)&&(d=0)break;}if(c>=0){if(!this.aft)this.afn.focus();if(this.agq(a.shiftKey?-1:1,false))return true;}}if(_eofu_ci(b)||(b==eo_bn)){switch(b){case eo_bj:this.agq(-1,true);break;case eo_bl:this.agq(1,true);break;case eo_bk:if(this.aft)this.aft.agr(1);this.afu();break;case eo_bm:if(this.aft)this.aft.agr(-1);this.afu();break;case eo_bn:if(this.aft){var f=this.aft.ags();if(f&2){this.aft.agt();this.afu();}if(f&1){this.agq(-1,true);}}break;}return true;}if(b==eo_bo){if(this.aft&&this.aft.t())this.afu();return true;}return false;}function _eofme_ae(a){if(this.afn.readOnly)return;if(!this.ago()){if(this.agp(a))return false;}if(this.aft){this.afs=null;if(!a)a=window.event;if(this.aft.age(a)){this.afu();}var b=_eofu_cj(a);if((b==9)||(b==27))return;_eofi_db(this.afn,a);return false;}}function _eofme_af(a){if(this.afn.readOnly)return;if(!this.aft){var b=_eofme_bu();for(var c=0;c0){d++;if(d>=this.afo.length){if(b)d=0;else return false;}}else{d--;if(d<0){if(b)d=this.afo.length-1;else return false;}}var e=this.afo[d];if(e.agk())continue;this.agm(e);return true;}return false;}function _eofme_ai(){return this.afo;}_eofme_a.prototype.afl=_eofme_b;_eofme_a.prototype.agn=_eofme_c;_eofme_a.prototype.afy=_eofme_g;_eofme_a.prototype.agv=_eofme_i;_eofme_a.prototype.agw=_eofme_h;_eofme_a.prototype.agx=_eofme_j;_eofme_a.prototype.agb=_eofme_k;_eofme_a.prototype.afz=_eofme_l;_eofme_a.prototype.agy=_eofme_d;_eofme_a.prototype.agz=_eofme_e;_eofme_a.prototype.afu=_eofme_f;_eofme_a.prototype.afw=_eofme_u;_eofme_a.prototype.agh=_eofme_w;_eofme_a.prototype.agi=_eofme_x;_eofme_a.prototype.agm=_eofme_v;_eofme_a.prototype.bn=_eofme_y;_eofme_a.prototype.abi=_eofme_z;_eofme_a.prototype.agc=_eofme_aa;_eofme_a.prototype.ago=_eofme_ac;_eofme_a.prototype.agp=_eofme_ad;_eofme_a.prototype.agd=_eofme_ab;_eofme_a.prototype.age=_eofme_ae;_eofme_a.prototype.agf=_eofme_af;_eofme_a.prototype.agg=_eofme_ag;_eofme_a.prototype.agq=_eofme_ah;_eofme_a.prototype.aha=_eofme_ai;function _eofme_aj(){}function _eofme_ak(){return this.afx.afn;}function _eofme_al(){var a=this.ahb();if(a.createTextRange){var b=this.ahc();var c=a.createTextRange();c.moveStart("character",b);c.moveEnd("character",b+this.afz()-this.afx.afz());return c;}return null;}function _eofme_am(){if(this.afx.afs){this.ahb().select();return;}var a=this.ahd();if(a)a.select();else{var b=this.ahb();if(b.setSelectionRange){var c=this.ahc();if(c>=0)b.setSelectionRange(c,c+this.afz());}}this.ahe=true;}function _eofme_an(){this.ahe=false;this.az();}function _eofme_ao(){var a=0;for(var b=0;bf)f=a[g].length;}this.ahl=f;this.ahi=d;if(!d)this.ahi=0;this.ahj=e;if(e==null)this.ahj=a.length;if(bthis.ahj)b=this.ahj;this.ahm=b;this.ahn=c;}function _eofme_ay(){var a=this.ahm;if(a!=null){if(a>this.ahj)a=this.ahj;if(athis.ahj)this.ahm=this.ahj;if(this.ahm0){e++;c=Math.floor(c/ 10);}this.aga=e;}function _eofme_bg(){var a;if(this.ahr){a=_eofu_dr(this.ahr);if(athis.ahj){return _eofme_bo(_eofme_bp(this.ahj,this.ahq),this.aga,true," ");}return _eofme_bo(this.ahr,this.aga,true," ");}else{a=this.ai();if(a!=null){var b=this.afx.afr;if(b&&b.ahs)return b.ahs(this,a);else return _eofme_bo(_eofme_bp(a,this.ahq),this.aga,true," ");}else{return _eofme_bo("",this.aga,true," ");}}}function _eofme_bh(){return this.aga;}function _eofme_bi(a){if(this.ahr)this.ar=_eofu_dr(this.ahr);if(this.ar==null)this.ar=a;else this.ar+=a;if(a>0){if(this.ar>this.ahj)this.ar=this.ahi;}else{if(this.ar=48)&&(c<=57)){if(this.ahr==null)this.ahr="";this.ahr+=String.fromCharCode(c);if(this.ahr.length>this.aga)this.ahr=this.ahr.substr(this.ahr.length-this.aga);this.agt();return true;}else return false;}function _eofme_bk(){var a=this.ahr;if(a){a=_eofu_dr(a);if(athis.ahj)a=this.ahj;this.ar=a;}this.ahr=null;}function _eofme_bl(){if(!this.ahr&&this.ar)this.ahr=this.ar.toString();if(this.ahr){this.ahr=this.ahr.substr(0,this.ahr.length-1);if(this.ahr)return 2;else{this.ar=null;return 3;}}return 1;}function _eofme_bm(){this.ahr=null;return true;}function _eofme_bn(){var a=this.ahe&&this.ahr?_eofu_dr(this.ahr):this.ar;if(a==null)return null;if(athis.ahj)a=this.ahj;return a;}_eofme_bf.prototype=new _eofme_aj();_eofme_bf.prototype.afv=_eofme_bg;_eofme_bf.prototype.afz=_eofme_bh;_eofme_bf.prototype.agk=_eofi_cg;_eofme_bf.prototype.agr=_eofme_bi;_eofme_bf.prototype.age=_eofme_bj;_eofme_bf.prototype.az=_eofme_bk;_eofme_bf.prototype.ags=_eofme_bl;_eofme_bf.prototype.t=_eofme_bm;_eofme_bf.prototype.ahp=_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_fl=-1;eo_fm=-1;}function _eofme_bs(a){_eofme_br();if(_eofme_bq(a))eo_fl=_eofi_ds();}function _eofme_bt(a){_eofme_br();if(_eofme_bq(a))eo_fm=_eofi_ds();}function _eofme_bu(){if((eo_fl>0)&&(eo_fm<0))return true;if((eo_fm>0)&&((_eofi_ds()-eo_fm)<200))return true;return false;}eo_LoadModules();if (!window.eo_modules)window.eo_modules="";window.eo_modules+="me|";