//**********************************************************************************************************
// EO.Web Script Library. Copyright (C) 2004-2006 Essential Objects, Inc. All rights reserved.
// Visit Us on the Web: http://www.essentialobjects.com
// Version: 5.0.43.2
//**********************************************************************************************************
function _eofei_a(a){ this.afh(a[1],a[2],a[3]);}function _eofei_b(a,b,c){this.f=a;this.afi=b;this.afj=c;}function _eofei_c(){return new _eofei_a([]);}function _eofei_d(a){if(!this.f&&a.f)this.f=a.f;if((this.afi==null)&&(a.afi!=null))this.afi=a.afi;if((this.afj==null)&&(a.afj!=null))this.afj=a.afj;}_eofei_a.prototype.afh=_eofei_b;function _eofei_e(a,b,c){if(typeof(_eofe_a)=="function"){return new _eofei_i(a,_eofe_a(b,true),b?b.afk():0,_eofe_a(c,false),c?c.afk():0);}else{return new _eofei_i(a,null,null);}}function _eofei_f(){if(!this.f)return eo_fn;else return this.f;}function _eofei_g(){if(this.afi!=null)return this.afi;else return 300;}function _eofei_h(){if(this.afj!=null)return this.afj;else return 10;}_eofei_a.prototype.afl=_eofei_d;_eofei_a.prototype.aak=_eofei_f;_eofei_a.prototype.afk=_eofei_g;_eofei_a.prototype.afm=_eofei_h;var eo_fo=0;var eo_fp=1;var eo_fq=2;var eo_fr=3;var eo_fs=4;function _eofei_i(a,b,c,d,e){this.afn=eo_fp;this.s=a;this.afo=b;if(!this.afo)this.afo=new _eofei_r(true);this.afo.afp=this;this.afq=d;if(!this.afq)this.afq=new _eofei_r(false);this.afq.afp=this;this.afr=c;this.afs=e;this.aft=0;}function _eofei_j(a){var b=a?this.afo:this.afq;return b&&b.afu;}function _eofei_k(){if(this.a)this.a.abq=null;}function _eofei_l(a){this.afv();if(this.afn==eo_fp){this.a=new Object();if(!a)this.afo.afw();this.afn=eo_fq;this.s.afx();if(a)this.afy(100,true);else this.afo.afz();}}function _eofei_m(a){this.afv();if(this.afn==eo_fr){this.s.aga();if(!a)this.afq.afw();if(!this.afq.agb())this.s.agc();if(a){this.afn=eo_fs;this.afy(100,true);}else{this.afn=eo_fs;this.afq.afz();}}}function _eofei_n(a,b){this.aft=a;if(this.aft>100)this.aft=100;if(this.aft<0)this.aft=0;if(a>=99){if((this.afn==eo_fq)&&(this.s.agd)){if(!b)this.afo.afv();this.s.agd();this.afn=eo_fr;return true;}if((this.afn==eo_fs)&&(this.s.age)){if(!b)this.afq.afv();if(this.afq.agb())this.s.agc();this.s.age();this.afn=eo_fp;return true;}}return false;}function _eofei_o(){if(this.afo){if(this.afn==eo_fq)this.afo.afv();this.afo.s=null;this.afo=null;}if(this.afq){if(this.afn==eo_fs)this.afq.afv();this.afq.s=null;this.afq=null;}}function _eofei_p(a){return a?this.afr:this.afs;}function _eofei_q(){if(this.afn==eo_fs){this.afq.afv();this.afn=eo_fp;}else if(this.afn==eo_fq){this.afo.afv();this.afn=eo_fr;}}_eofei_i.prototype.agf=_eofei_j;_eofei_i.prototype.afx=_eofei_l;_eofei_i.prototype.agc=_eofei_m;_eofei_i.prototype.afy=_eofei_n;_eofei_i.prototype.afk=_eofei_p;_eofei_i.prototype.agg=_eofei_o;_eofei_i.prototype.afv=_eofei_q;_eofei_i.prototype.agh=_eofei_k;function _eofei_r(a){this.agi=a;}function _eofei_s(){}function _eofei_t(){this.afp.afy(100);}function _eofei_u(){}function _eofei_v(){return true;}_eofei_r.prototype.afw=_eofei_s;_eofei_r.prototype.afz=_eofei_t;_eofei_r.prototype.afv=_eofei_u;_eofei_r.prototype.agb=_eofei_v;_eofei_r.prototype.acc=_eofi_cl;eo_LoadModules();eo_ModuleLoaded('ei');