//**********************************************************************************************************
// 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.20.2
//**********************************************************************************************************
function _eofei_a(a){ this.ahv(a[1],a[2],a[3]);}function _eofei_b(a,b,c){this.f=a;this.ahw=b;this.ahx=c;}function _eofei_c(){return new _eofei_a([]);}function _eofei_d(a){if(!this.f&&a.f)this.f=a.f;if((this.ahw==null)&&(a.ahw!=null))this.ahw=a.ahw;if((this.ahx==null)&&(a.ahx!=null))this.ahx=a.ahx;}_eofei_a.prototype.ahv=_eofei_b;function _eofei_e(a,b,c){if(typeof(_eofe_a)=="function"){return new _eofei_i(a,_eofe_a(b,true),b?b.ahy():0,_eofe_a(c,false),c?c.ahy():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.ahw!=null)return this.ahw;else return 300;}function _eofei_h(){if(this.ahx!=null)return this.ahx;else return 10;}_eofei_a.prototype.ahz=_eofei_d;_eofei_a.prototype.aaw=_eofei_f;_eofei_a.prototype.ahy=_eofei_g;_eofei_a.prototype.aia=_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.aib=eo_hb;this.t=a;this.aic=b;if(!this.aic)this.aic=new _eofei_r(true);this.aic.aid=this;this.aie=d;if(!this.aie)this.aie=new _eofei_r(false);this.aie.aid=this;this.aif=c;this.aig=e;this.aih=0;}function _eofei_j(a){var b=a?this.aic:this.aie;return b&&b.aii;}function _eofei_k(){if(this.a)this.a.acf=null;}function _eofei_l(a){this.aij();if(this.aib==eo_hb){this.a=new Object();if(!a)this.aic.aik();this.aib=eo_hc;this.t.ail();if(a)this.aim(100,true);else this.aic.ain();}}function _eofei_m(a){this.aij();if(this.aib==eo_hd){this.t.aio();if(!a)this.aie.aik();if(!this.aie.aip())this.t.aiq();if(a){this.aib=eo_he;this.aim(100,true);}else{this.aib=eo_he;this.aie.ain();}}}function _eofei_n(a,b){this.aih=a;if(this.aih>100)this.aih=100;if(this.aih<0)this.aih=0;if(a>=99){if((this.aib==eo_hc)&&(this.t.air)){if(!b)this.aic.aij();this.t.air();this.aib=eo_hd;return true;}if((this.aib==eo_he)&&(this.t.ais)){if(!b)this.aie.aij();if(this.aie.aip())this.t.aiq();this.t.ais();this.aib=eo_hb;return true;}}return false;}function _eofei_o(){if(this.aic){if(this.aib==eo_hc)this.aic.aij();this.aic.t=null;this.aic=null;}if(this.aie){if(this.aib==eo_he)this.aie.aij();this.aie.t=null;this.aie=null;}}function _eofei_p(a){return a?this.aif:this.aig;}function _eofei_q(){if(this.aib==eo_he){this.aie.aij();this.aib=eo_hb;}else if(this.aib==eo_hc){this.aic.aij();this.aib=eo_hd;}}_eofei_i.prototype.ait=_eofei_j;_eofei_i.prototype.ail=_eofei_l;_eofei_i.prototype.aiq=_eofei_m;_eofei_i.prototype.aim=_eofei_n;_eofei_i.prototype.ahy=_eofei_p;_eofei_i.prototype.aiu=_eofei_o;_eofei_i.prototype.aij=_eofei_q;_eofei_i.prototype.aiv=_eofei_k;function _eofei_r(a){this.aiw=a;}function _eofei_s(){}function _eofei_t(){this.aid.aim(100);}function _eofei_u(){}function _eofei_v(){return true;}_eofei_r.prototype.aik=_eofei_s;_eofei_r.prototype.ain=_eofei_t;_eofei_r.prototype.aij=_eofei_u;_eofei_r.prototype.aip=_eofei_v;_eofei_r.prototype.acr=_eofi_cv;eo_LoadModules();eo_ModuleLoaded('ei');