//**********************************************************************************************************
// 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.50.2
//**********************************************************************************************************
function _eofei_a(a){ this.air(a[1],a[2],a[3]);}function _eofei_b(a,b,c){this.ba=a;this.ais=b;this.ait=c;}function _eofei_c(){return new _eofei_a([]);}function _eofei_d(a){if(!this.ba&&a.ba)this.ba=a.ba;if((this.ais==null)&&(a.ais!=null))this.ais=a.ais;if((this.ait==null)&&(a.ait!=null))this.ait=a.ait;}_eofei_a.prototype.air=_eofei_b;function _eofei_e(a,b,c){if(typeof(_eofe_a)=="function"){return new _eofei_i(a,_eofe_a(b,true),b?b.aiu():0,_eofe_a(c,false),c?c.aiu():0);}else{return new _eofei_i(a,null,null);}}function _eofei_f(){if(!this.ba)return eo_hl;else return this.ba;}function _eofei_g(){if(this.ais!=null)return this.ais;else return 300;}function _eofei_h(){if(this.ait!=null)return this.ait;else return 10;}_eofei_a.prototype.aiv=_eofei_d;_eofei_a.prototype.acd=_eofei_f;_eofei_a.prototype.aiu=_eofei_g;_eofei_a.prototype.aiw=_eofei_h;var eo_hm=0;var eo_hn=1;var eo_ho=2;var eo_hp=3;var eo_hq=4;function _eofei_i(a,b,c,d,e){this.aix=eo_hn;this.bk=a;this.aiy=b;if(!this.aiy)this.aiy=new _eofei_r(true);this.aiy.aiz=this;this.aja=d;if(!this.aja)this.aja=new _eofei_r(false);this.aja.aiz=this;this.ajb=c;this.ajc=e;this.ajd=0;}function _eofei_j(a){var b=a?this.aiy:this.aja;return b&&b.aje;}function _eofei_k(){if(this.a)this.a.adb=null;}function _eofei_l(a){this.ajf();if(this.aix==eo_hn){this.a=new Object();if(!a)this.aiy.ajg();this.aix=eo_ho;this.bk.ajh();if(a)this.aji(100,true);else this.aiy.ajj();}}function _eofei_m(a){this.ajf();if(this.aix==eo_hp){this.bk.ajk();if(!a)this.aja.ajg();if(!this.aja.ajl())this.bk.ajm();if(a){this.aix=eo_hq;this.aji(100,true);}else{this.aix=eo_hq;this.aja.ajj();}return true;}return false;}function _eofei_n(a,b){this.ajd=a;if(this.ajd>100)this.ajd=100;if(this.ajd<0)this.ajd=0;if(a>=99){if((this.aix==eo_ho)&&(this.bk.ajn)){if(!b)this.aiy.ajf();this.bk.ajn();this.aix=eo_hp;return true;}if((this.aix==eo_hq)&&(this.bk.ajo)){if(!b)this.aja.ajf();if(this.aja.ajl())this.bk.ajm();this.bk.ajo();this.aix=eo_hn;return true;}}return false;}function _eofei_o(){if(this.aiy){if(this.aix==eo_ho)this.aiy.ajf();this.aiy.bk=null;this.aiy=null;}if(this.aja){if(this.aix==eo_hq)this.aja.ajf();this.aja.bk=null;this.aja=null;}}function _eofei_p(a){return a?this.ajb:this.ajc;}function _eofei_q(){if(this.aix==eo_hq){this.aja.ajf();this.aix=eo_hn;}else if(this.aix==eo_ho){this.aiy.ajf();this.aix=eo_hp;}}_eofei_i.prototype.ajp=_eofei_j;_eofei_i.prototype.ajh=_eofei_l;_eofei_i.prototype.ajm=_eofei_m;_eofei_i.prototype.aji=_eofei_n;_eofei_i.prototype.aiu=_eofei_p;_eofei_i.prototype.ajq=_eofei_o;_eofei_i.prototype.ajf=_eofei_q;_eofei_i.prototype.ajr=_eofei_k;function _eofei_r(a){this.ajs=a;}function _eofei_s(){}function _eofei_t(){this.aiz.aji(100);}function _eofei_u(){}function _eofei_v(){return true;}_eofei_r.prototype.ajg=_eofei_s;_eofei_r.prototype.ajj=_eofei_t;_eofei_r.prototype.ajf=_eofei_u;_eofei_r.prototype.ajl=_eofei_v;_eofei_r.prototype.adn=_eofi_ca;eo_LoadModules();eo_ModuleLoaded('ei');