//********************************************************************************************************** // 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.8.2 //********************************************************************************************************** var eo_hj=-1;var eo_hk=-1;function _eofme_a(a,b,c,d){this.akg=a;this.akh=new Array();this.akg.aki=this;this.akg.onmousedown=_eofme_m;this.akg.onmouseup=_eofme_n;this.akg.onkeydown=_eofme_o;this.akg.onkeyup=_eofme_p;this.akg.onkeypress=_eofme_q;this.akg.onfocus=_eofme_r;this.akg.onblur=_eofme_s;this.akg.onselectstart=_eofme_t;this.akg.ondragstart=_eofi_cl;this.akg.onselect=_eofi_cl;this.akj="\t"+b;this.akk=c;this.akl=d;}function _eofme_b(){this.akg.aki=this;this.akg.onmousedown=null;this.akg.onmouseup=null;this.akg.onkeydown=null;this.akg.onkeyup=null;this.akg.onkeypress=null;this.akg.onfocus=null;this.akg.onblur=null;this.akg.onselectstart=null;this.akg.ondragstart=null;this.akg.onselect=null;this.akg=null;}function _eofme_c(){var a=this.akg.value;if(a){if(this.akg.createTextRange){var b=this.akg.createTextRange();b.moveEnd("character",-a.length);b.select();}else if(this.akg.setSelectionRange)this.akg.setSelectionRange(0,0);}}function _eofme_d(){this.akh=new Array();this.akm=null;}function _eofme_e(){this.akn();}function _eofme_f(){var a="";if(this.akl)a=this.akl;else{for(var b=0;b=b)&&(c.abg=b)&&(d=0)break;}if(c>=0){if(!this.akm)this.akg.focus();if(this.alj(a.shiftKey?-1:1,false))return true;}}if(_eofu_cj(b)||(b==eo_cp)){switch(b){case eo_cl:this.alj(-1,true);break;case eo_cn:this.alj(1,true);break;case eo_cm:if(this.akm)this.akm.alk(1);this.akn();break;case eo_co:if(this.akm)this.akm.alk(-1);this.akn();break;case eo_cp:if(this.akm){var f=this.akm.all();if(f&2){this.akm.alm();this.akn();}if(f&1){this.alj(-1,true);}}break;}return true;}if(b==eo_cq){if(this.akm&&this.akm.u())this.akn();return true;}return false;}function _eofme_ae(a){if(this.akg.readOnly)return;if(!this.alh()){if(this.ali(a))return false;}if(this.akm){this.akl=null;if(!a)a=window.event;if(this.akm.akx(a)){this.akn();}var b=_eofu_ck(a);if((b==9)||(b==27))return;_eofi_dj(this.akg,a);return false;}}function _eofme_af(a){if(this.akg.readOnly)return;if(!this.akm){var b=_eofme_bv();for(var c=0;c0){d++;if(d>=this.akh.length){if(b)d=0;else return false;}}else{d--;if(d<0){if(b)d=this.akh.length-1;else return false;}}var e=this.akh[d];if(e.ald())continue;this.alf(e);return true;}return false;}function _eofme_ai(){return this.akh;}function _eofme_aj(){for(var a=0;a=0)b.setSelectionRange(c,c+this.aks());}}this.alx=true;}function _eofme_ao(){this.alx=false;this.bc();}function _eofme_ap(){var a=0;for(var b=0;bf)f=a[g].length;}this.ame=f;this.amb=d;if(!d)this.amb=0;this.amc=e;if(e==null)this.amc=a.length;if(bthis.amc)b=this.amc;this.amf=b;this.amg=c;}function _eofme_az(){var a=this.amf;if(a!=null){if(a>this.amc)a=this.amc;if(athis.amc)this.amf=this.amc;if(this.amf0){e++;c=Math.floor(c/10);}this.akt=e;}function _eofme_bh(){var a;if(this.amk){a=_eofu_eb(this.amk);if(athis.amc){return _eofme_bp(_eofme_bq(this.amc,this.amj),this.akt,true," ");}return _eofme_bp(this.amk,this.akt,true," ");}else{a=this.aj();if(a!=null){var b=this.akq.akk;if(b&&b.aml)return b.aml(this,a);else return _eofme_bp(_eofme_bq(a,this.amj),this.akt,true," ");}else{return _eofme_bp("",this.akt,true," ");}}}function _eofme_bi(){return this.akt;}function _eofme_bj(a){if(this.amk)this.as=_eofu_eb(this.amk);if(this.as==null)this.as=a;else this.as+=a;if(a>0){if(this.as>this.amc)this.as=this.amb;}else{if(this.as=48)&&(c<=57)){if(this.amk==null)this.amk="";this.amk+=String.fromCharCode(c);if(this.amk.length>this.akt)this.amk=this.amk.substr(this.amk.length-this.akt);this.alm();return true;}else return false;}function _eofme_bl(){var a=this.amk;if(a){a=_eofu_eb(a);if(athis.amc)a=this.amc;this.as=a;}this.amk=null;}function _eofme_bm(){if(!this.amk&&this.as)this.amk=this.as.toString();if(this.amk){this.amk=this.amk.substr(0,this.amk.length-1);if(this.amk)return 2;else{this.as=null;return 3;}}return 1;}function _eofme_bn(){this.amk=null;return true;}function _eofme_bo(){var a=this.alx&&this.amk?_eofu_eb(this.amk):this.as;if(a==null)return null;if(athis.amc)a=this.amc;return a;}_eofme_bg.prototype=new _eofme_ak();_eofme_bg.prototype.ako=_eofme_bh;_eofme_bg.prototype.aks=_eofme_bi;_eofme_bg.prototype.ald=_eofi_cl;_eofme_bg.prototype.alk=_eofme_bj;_eofme_bg.prototype.akx=_eofme_bk;_eofme_bg.prototype.bc=_eofme_bl;_eofme_bg.prototype.all=_eofme_bm;_eofme_bg.prototype.u=_eofme_bn;_eofme_bg.prototype.ami=_eofme_ax;_eofme_bg.prototype.aj=_eofme_bo;function _eofme_bp(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_bq(a,b){return _eofme_bp(a.toString(),b,true," ");}function _eofme_br(a){if(!a)a=window.event;if(!a)return false;var b=_eofu_ck(a);return a.shiftKey&&b==9;}function _eofme_bs(){eo_hj=-1;eo_hk=-1;}function _eofme_bt(a){_eofme_bs();if(_eofme_br(a))eo_hj=_eofi_ea();}function _eofme_bu(a){_eofme_bs();if(_eofme_br(a))eo_hk=_eofi_ea();}function _eofme_bv(){if((eo_hj>0)&&(eo_hk<0))return true;if((eo_hk>0)&&((_eofi_ea()-eo_hk)<200))return true;return false;}eo_LoadModules();if (!window.eo_modules)window.eo_modules="";window.eo_modules+="me|";