//**********************************************************************************************************
// 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.62.2
//**********************************************************************************************************
function _eofei_a(a){ this.agn(a[1],a[2],a[3]);}function _eofei_b(a,b,c){this.f=a;this.ago=b;this.agp=c;}function _eofei_c(){return new _eofei_a([]);}function _eofei_d(a){if(!this.f&&a.f)this.f=a.f;if((this.ago==null)&&(a.ago!=null))this.ago=a.ago;if((this.agp==null)&&(a.agp!=null))this.agp=a.agp;}_eofei_a.prototype.agn=_eofei_b;function _eofei_e(a,b,c){if(typeof(_eofe_a)=="function"){return new _eofei_i(a,_eofe_a(b,true),b?b.agq():0,_eofe_a(c,false),c?c.agq():0);}else{return new _eofei_i(a,null,null);}}function _eofei_f(){if(!this.f)return eo_gm;else return this.f;}function _eofei_g(){if(this.ago!=null)return this.ago;else return 300;}function _eofei_h(){if(this.agp!=null)return this.agp;else return 10;}_eofei_a.prototype.agr=_eofei_d;_eofei_a.prototype.aan=_eofei_f;_eofei_a.prototype.agq=_eofei_g;_eofei_a.prototype.ags=_eofei_h;var eo_gn=0;var eo_go=1;var eo_gp=2;var eo_gq=3;var eo_gr=4;function _eofei_i(a,b,c,d,e){this.agt=eo_go;this.t=a;this.agu=b;if(!this.agu)this.agu=new _eofei_r(true);this.agu.agv=this;this.agw=d;if(!this.agw)this.agw=new _eofei_r(false);this.agw.agv=this;this.agx=c;this.agy=e;this.agz=0;}function _eofei_j(a){var b=a?this.agu:this.agw;return b&&b.aha;}function _eofei_k(){if(this.a)this.a.abv=null;}function _eofei_l(a){this.ahb();if(this.agt==eo_go){this.a=new Object();if(!a)this.agu.ahc();this.agt=eo_gp;this.t.ahd();if(a)this.ahe(100,true);else this.agu.ahf();}}function _eofei_m(a){this.ahb();if(this.agt==eo_gq){this.t.ahg();if(!a)this.agw.ahc();if(!this.agw.ahh())this.t.ahi();if(a){this.agt=eo_gr;this.ahe(100,true);}else{this.agt=eo_gr;this.agw.ahf();}}}function _eofei_n(a,b){this.agz=a;if(this.agz>100)this.agz=100;if(this.agz<0)this.agz=0;if(a>=99){if((this.agt==eo_gp)&&(this.t.ahj)){if(!b)this.agu.ahb();this.t.ahj();this.agt=eo_gq;return true;}if((this.agt==eo_gr)&&(this.t.ahk)){if(!b)this.agw.ahb();if(this.agw.ahh())this.t.ahi();this.t.ahk();this.agt=eo_go;return true;}}return false;}function _eofei_o(){if(this.agu){if(this.agt==eo_gp)this.agu.ahb();this.agu.t=null;this.agu=null;}if(this.agw){if(this.agt==eo_gr)this.agw.ahb();this.agw.t=null;this.agw=null;}}function _eofei_p(a){return a?this.agx:this.agy;}function _eofei_q(){if(this.agt==eo_gr){this.agw.ahb();this.agt=eo_go;}else if(this.agt==eo_gp){this.agu.ahb();this.agt=eo_gq;}}_eofei_i.prototype.ahl=_eofei_j;_eofei_i.prototype.ahd=_eofei_l;_eofei_i.prototype.ahi=_eofei_m;_eofei_i.prototype.ahe=_eofei_n;_eofei_i.prototype.agq=_eofei_p;_eofei_i.prototype.ahm=_eofei_o;_eofei_i.prototype.ahb=_eofei_q;_eofei_i.prototype.ahn=_eofei_k;function _eofei_r(a){this.aho=a;}function _eofei_s(){}function _eofei_t(){this.agv.ahe(100);}function _eofei_u(){}function _eofei_v(){return true;}_eofei_r.prototype.ahc=_eofei_s;_eofei_r.prototype.ahf=_eofei_t;_eofei_r.prototype.ahb=_eofei_u;_eofei_r.prototype.ahh=_eofei_v;_eofei_r.prototype.ach=_eofi_cr;eo_LoadModules();eo_ModuleLoaded('ei');