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