//**********************************************************************************************************
// EO.Web Script Library. Copyright (C) 2006-2008 Essential Objects, Inc. All rights reserved.
// Visit Us on the Web: http://www.essentialobjects.com
// Version: 7.0.24.2
//**********************************************************************************************************
function _eofei_a(a){ this.aia(a[1],a[2],a[3]);}function _eofei_b(a,b,c){this.f=a;this.aib=b;this.aic=c;}function _eofei_c(){return new _eofei_a([]);}function _eofei_d(a){if(!this.f&&a.f)this.f=a.f;if((this.aib==null)&&(a.aib!=null))this.aib=a.aib;if((this.aic==null)&&(a.aic!=null))this.aic=a.aic;}_eofei_a.prototype.aia=_eofei_b;function _eofei_e(a,b,c){if(typeof(_eofe_a)=="function"){return new _eofei_i(a,_eofe_a(b,true),b?b.aid():0,_eofe_a(c,false),c?c.aid():0);}else{return new _eofei_i(a,null,null);}}function _eofei_f(){if(!this.f)return eo_gz;else return this.f;}function _eofei_g(){if(this.aib!=null)return this.aib;else return 300;}function _eofei_h(){if(this.aic!=null)return this.aic;else return 10;}_eofei_a.prototype.aie=_eofei_d;_eofei_a.prototype.aaw=_eofei_f;_eofei_a.prototype.aid=_eofei_g;_eofei_a.prototype.aif=_eofei_h;var eo_ha=0;var eo_hb=1;var eo_hc=2;var eo_hd=3;var eo_he=4;function _eofei_i(a,b,c,d,e){this.aig=eo_hb;this.t=a;this.aih=b;if(!this.aih)this.aih=new _eofei_r(true);this.aih.aii=this;this.aij=d;if(!this.aij)this.aij=new _eofei_r(false);this.aij.aii=this;this.aik=c;this.ail=e;this.aim=0;}function _eofei_j(a){var b=a?this.aih:this.aij;return b&&b.ain;}function _eofei_k(){if(this.a)this.a.acf=null;}function _eofei_l(a){this.aio();if(this.aig==eo_hb){this.a=new Object();if(!a)this.aih.aip();this.aig=eo_hc;this.t.aiq();if(a)this.air(100,true);else this.aih.ais();}}function _eofei_m(a){this.aio();if(this.aig==eo_hd){this.t.ait();if(!a)this.aij.aip();if(!this.aij.aiu())this.t.aiv();if(a){this.aig=eo_he;this.air(100,true);}else{this.aig=eo_he;this.aij.ais();}}}function _eofei_n(a,b){this.aim=a;if(this.aim>100)this.aim=100;if(this.aim<0)this.aim=0;if(a>=99){if((this.aig==eo_hc)&&(this.t.aiw)){if(!b)this.aih.aio();this.t.aiw();this.aig=eo_hd;return true;}if((this.aig==eo_he)&&(this.t.aix)){if(!b)this.aij.aio();if(this.aij.aiu())this.t.aiv();this.t.aix();this.aig=eo_hb;return true;}}return false;}function _eofei_o(){if(this.aih){if(this.aig==eo_hc)this.aih.aio();this.aih.t=null;this.aih=null;}if(this.aij){if(this.aig==eo_he)this.aij.aio();this.aij.t=null;this.aij=null;}}function _eofei_p(a){return a?this.aik:this.ail;}function _eofei_q(){if(this.aig==eo_he){this.aij.aio();this.aig=eo_hb;}else if(this.aig==eo_hc){this.aih.aio();this.aig=eo_hd;}}_eofei_i.prototype.aiy=_eofei_j;_eofei_i.prototype.aiq=_eofei_l;_eofei_i.prototype.aiv=_eofei_m;_eofei_i.prototype.air=_eofei_n;_eofei_i.prototype.aid=_eofei_p;_eofei_i.prototype.aiz=_eofei_o;_eofei_i.prototype.aio=_eofei_q;_eofei_i.prototype.aja=_eofei_k;function _eofei_r(a){this.ajb=a;}function _eofei_s(){}function _eofei_t(){this.aii.air(100);}function _eofei_u(){}function _eofei_v(){return true;}_eofei_r.prototype.aip=_eofei_s;_eofei_r.prototype.ais=_eofei_t;_eofei_r.prototype.aio=_eofei_u;_eofei_r.prototype.aiu=_eofei_v;_eofei_r.prototype.acr=_eofi_cv;eo_LoadModules();eo_ModuleLoaded('ei');