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