//**********************************************************************************************************
// 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.41.2
//**********************************************************************************************************
function _eofei_a(a){ this.ain(a[1],a[2],a[3]);}function _eofei_b(a,b,c){this.az=a;this.aio=b;this.aip=c;}function _eofei_c(){return new _eofei_a([]);}function _eofei_d(a){if(!this.az&&a.az)this.az=a.az;if((this.aio==null)&&(a.aio!=null))this.aio=a.aio;if((this.aip==null)&&(a.aip!=null))this.aip=a.aip;}_eofei_a.prototype.ain=_eofei_b;function _eofei_e(a,b,c){if(typeof(_eofe_a)=="function"){return new _eofei_i(a,_eofe_a(b,true),b?b.aiq():0,_eofe_a(c,false),c?c.aiq():0);}else{return new _eofei_i(a,null,null);}}function _eofei_f(){if(!this.az)return eo_hf;else return this.az;}function _eofei_g(){if(this.aio!=null)return this.aio;else return 300;}function _eofei_h(){if(this.aip!=null)return this.aip;else return 10;}_eofei_a.prototype.air=_eofei_d;_eofei_a.prototype.acd=_eofei_f;_eofei_a.prototype.aiq=_eofei_g;_eofei_a.prototype.ais=_eofei_h;var eo_hg=0;var eo_hh=1;var eo_hi=2;var eo_hj=3;var eo_hk=4;function _eofei_i(a,b,c,d,e){this.ait=eo_hh;this.bk=a;this.aiu=b;if(!this.aiu)this.aiu=new _eofei_r(true);this.aiu.aiv=this;this.aiw=d;if(!this.aiw)this.aiw=new _eofei_r(false);this.aiw.aiv=this;this.aix=c;this.aiy=e;this.aiz=0;}function _eofei_j(a){var b=a?this.aiu:this.aiw;return b&&b.aja;}function _eofei_k(){if(this.a)this.a.acz=null;}function _eofei_l(a){this.ajb();if(this.ait==eo_hh){this.a=new Object();if(!a)this.aiu.ajc();this.ait=eo_hi;this.bk.ajd();if(a)this.aje(100,true);else this.aiu.ajf();}}function _eofei_m(a){this.ajb();if(this.ait==eo_hj){this.bk.ajg();if(!a)this.aiw.ajc();if(!this.aiw.ajh())this.bk.aji();if(a){this.ait=eo_hk;this.aje(100,true);}else{this.ait=eo_hk;this.aiw.ajf();}}}function _eofei_n(a,b){this.aiz=a;if(this.aiz>100)this.aiz=100;if(this.aiz<0)this.aiz=0;if(a>=99){if((this.ait==eo_hi)&&(this.bk.ajj)){if(!b)this.aiu.ajb();this.bk.ajj();this.ait=eo_hj;return true;}if((this.ait==eo_hk)&&(this.bk.ajk)){if(!b)this.aiw.ajb();if(this.aiw.ajh())this.bk.aji();this.bk.ajk();this.ait=eo_hh;return true;}}return false;}function _eofei_o(){if(this.aiu){if(this.ait==eo_hi)this.aiu.ajb();this.aiu.bk=null;this.aiu=null;}if(this.aiw){if(this.ait==eo_hk)this.aiw.ajb();this.aiw.bk=null;this.aiw=null;}}function _eofei_p(a){return a?this.aix:this.aiy;}function _eofei_q(){if(this.ait==eo_hk){this.aiw.ajb();this.ait=eo_hh;}else if(this.ait==eo_hi){this.aiu.ajb();this.ait=eo_hj;}}_eofei_i.prototype.ajl=_eofei_j;_eofei_i.prototype.ajd=_eofei_l;_eofei_i.prototype.aji=_eofei_m;_eofei_i.prototype.aje=_eofei_n;_eofei_i.prototype.aiq=_eofei_p;_eofei_i.prototype.ajm=_eofei_o;_eofei_i.prototype.ajb=_eofei_q;_eofei_i.prototype.ajn=_eofei_k;function _eofei_r(a){this.ajo=a;}function _eofei_s(){}function _eofei_t(){this.aiv.aje(100);}function _eofei_u(){}function _eofei_v(){return true;}_eofei_r.prototype.ajc=_eofei_s;_eofei_r.prototype.ajf=_eofei_t;_eofei_r.prototype.ajb=_eofei_u;_eofei_r.prototype.ajh=_eofei_v;_eofei_r.prototype.adl=_eofi_bz;eo_LoadModules();eo_ModuleLoaded('ei');