//**********************************************************************************************************
// EO.Web Script Library. Copyright (C) 2006-2008 Essential Objects, Inc. All rights reserved.
// Visit Us on the Web: http://www.essentialobjects.com
// Version: 6.0.18.1
//**********************************************************************************************************
function _eofei_a(a){ this.agd(a[1],a[2],a[3]);}function _eofei_b(a,b,c){this.f=a;this.age=b;this.agf=c;}function _eofei_c(){return new _eofei_a([]);}function _eofei_d(a){if(!this.f&&a.f)this.f=a.f;if((this.age==null)&&(a.age!=null))this.age=a.age;if((this.agf==null)&&(a.agf!=null))this.agf=a.agf;}_eofei_a.prototype.agd=_eofei_b;function _eofei_e(a,b,c){if(typeof(_eofe_a)=="function"){return new _eofei_i(a,_eofe_a(b,true),b?b.agg():0,_eofe_a(c,false),c?c.agg():0);}else{return new _eofei_i(a,null,null);}}function _eofei_f(){if(!this.f)return eo_gg;else return this.f;}function _eofei_g(){if(this.age!=null)return this.age;else return 300;}function _eofei_h(){if(this.agf!=null)return this.agf;else return 10;}_eofei_a.prototype.agh=_eofei_d;_eofei_a.prototype.aal=_eofei_f;_eofei_a.prototype.agg=_eofei_g;_eofei_a.prototype.agi=_eofei_h;var eo_gh=0;var eo_gi=1;var eo_gj=2;var eo_gk=3;var eo_gl=4;function _eofei_i(a,b,c,d,e){this.agj=eo_gi;this.t=a;this.agk=b;if(!this.agk)this.agk=new _eofei_r(true);this.agk.agl=this;this.agm=d;if(!this.agm)this.agm=new _eofei_r(false);this.agm.agl=this;this.agn=c;this.ago=e;this.agp=0;}function _eofei_j(a){var b=a?this.agk:this.agm;return b&&b.agq;}function _eofei_k(){if(this.a)this.a.abs=null;}function _eofei_l(a){this.agr();if(this.agj==eo_gi){this.a=new Object();if(!a)this.agk.ags();this.agj=eo_gj;this.t.agt();if(a)this.agu(100,true);else this.agk.agv();}}function _eofei_m(a){this.agr();if(this.agj==eo_gk){this.t.agw();if(!a)this.agm.ags();if(!this.agm.agx())this.t.agy();if(a){this.agj=eo_gl;this.agu(100,true);}else{this.agj=eo_gl;this.agm.agv();}}}function _eofei_n(a,b){this.agp=a;if(this.agp>100)this.agp=100;if(this.agp<0)this.agp=0;if(a>=99){if((this.agj==eo_gj)&&(this.t.agz)){if(!b)this.agk.agr();this.t.agz();this.agj=eo_gk;return true;}if((this.agj==eo_gl)&&(this.t.aha)){if(!b)this.agm.agr();if(this.agm.agx())this.t.agy();this.t.aha();this.agj=eo_gi;return true;}}return false;}function _eofei_o(){if(this.agk){if(this.agj==eo_gj)this.agk.agr();this.agk.t=null;this.agk=null;}if(this.agm){if(this.agj==eo_gl)this.agm.agr();this.agm.t=null;this.agm=null;}}function _eofei_p(a){return a?this.agn:this.ago;}function _eofei_q(){if(this.agj==eo_gl){this.agm.agr();this.agj=eo_gi;}else if(this.agj==eo_gj){this.agk.agr();this.agj=eo_gk;}}_eofei_i.prototype.ahb=_eofei_j;_eofei_i.prototype.agt=_eofei_l;_eofei_i.prototype.agy=_eofei_m;_eofei_i.prototype.agu=_eofei_n;_eofei_i.prototype.agg=_eofei_p;_eofei_i.prototype.ahc=_eofei_o;_eofei_i.prototype.agr=_eofei_q;_eofei_i.prototype.ahd=_eofei_k;function _eofei_r(a){this.ahe=a;}function _eofei_s(){}function _eofei_t(){this.agl.agu(100);}function _eofei_u(){}function _eofei_v(){return true;}_eofei_r.prototype.ags=_eofei_s;_eofei_r.prototype.agv=_eofei_t;_eofei_r.prototype.agr=_eofei_u;_eofei_r.prototype.agx=_eofei_v;_eofei_r.prototype.ace=_eofi_co;eo_LoadModules();eo_ModuleLoaded('ei');