//********************************************************************************************************** // EO.Web Script Library. Copyright (C) 2006-2018 Essential Objects, Inc. All rights reserved. // Visit Us on the Web: http://www.essentialobjects.com // Version: 18.2.53.0 //********************************************************************************************************** EO18253.f.ava=function(a){ this.amc(a[1],a[2],a[3]);};EO18253.f.avb=function(a,b,c){this.aao=a;this.amd=b;this.ame=c;};EO18253.f.avc=function(){return new EO18253.f.ava([]);};EO18253.f.avd=function(a){if(!this.aao&&a.aao)this.aao=a.aao;if((this.amd==null)&&(a.amd!=null))this.amd=a.amd;if((this.ame==null)&&(a.ame!=null))this.ame=a.ame;};EO18253.f.ava.prototype.amc=EO18253.f.avb;EO18253.f.ave=function(a,b,c){if(typeof(EO18253.f.avw)=="function"){return new EO18253.f.avi(a,EO18253.f.avw(b,true),b?b.amf():0,EO18253.f.avw(c,false),c?c.amf():0);}else{return new EO18253.f.avi(a,null,null);}};EO18253.f.avf=function(){if(!this.aao)return EO18253.g.aeq;else return this.aao;};EO18253.f.avg=function(){if(this.amd!=null)return this.amd;else return 300;};EO18253.f.avh=function(){if(this.ame!=null)return this.ame;else return 10;};EO18253.f.ava.prototype.amg=EO18253.f.avd;EO18253.f.ava.prototype.ado=EO18253.f.avf;EO18253.f.ava.prototype.amf=EO18253.f.avg;EO18253.f.ava.prototype.amh=EO18253.f.avh;EO18253.g.ael=0;EO18253.g.aem=1;EO18253.g.aen=2;EO18253.g.aeo=3;EO18253.g.aep=4;EO18253.f.avi=function(a,b,c,d,e){this.ami=EO18253.g.aem;this.aaz=a;this.amj=b;if(!this.amj)this.amj=new EO18253.f.avr(true);this.amj.amk=this;this.aml=d;if(!this.aml)this.aml=new EO18253.f.avr(false);this.aml.amk=this;this.amm=c;this.amn=e;this.amo=0;};EO18253.f.avj=function(a){var b=a?this.amj:this.aml;return b&&b.amp;};EO18253.f.avk=function(){if(this.af)this.af.aah=null;};EO18253.f.avl=function(a){this.amq();if(this.ami==EO18253.g.aem){this.af=new Object();if(!a)this.amj.amr();this.ami=EO18253.g.aen;this.aaz.ams();if(a)this.amt(100,true);else this.amj.amu();}};EO18253.f.avm=function(a){this.amq();if(this.ami==EO18253.g.aeo){this.aaz.amv();if(!a)this.aml.amr();if(!this.aml.amw())this.aaz.amx();if(a){this.ami=EO18253.g.aep;this.amt(100,true);}else{this.ami=EO18253.g.aep;this.aml.amu();}return true;}return false;};EO18253.f.avn=function(a,b){this.amo=a;if(this.amo>100)this.amo=100;if(this.amo<0)this.amo=0;if(a>=99){if((this.ami==EO18253.g.aen)&&(this.aaz.amy)){if(!b)this.amj.amq();this.aaz.amy();this.ami=EO18253.g.aeo;return true;}if((this.ami==EO18253.g.aep)&&(this.aaz.amz)){if(!b)this.aml.amq();if(this.aml.amw())this.aaz.amx();this.aaz.amz();this.ami=EO18253.g.aem;return true;}}return false;};EO18253.f.avo=function(){if((this.ami==EO18253.g.aen)||(this.ami==EO18253.g.aep))this.amt(100,true);if(this.amj){this.amj.aaz=null;this.amj=null;}if(this.aml){this.aml.aaz=null;this.aml=null;}};EO18253.f.avp=function(a){return a?this.amm:this.amn;};EO18253.f.avq=function(){if(this.ami==EO18253.g.aep){this.aml.amq();this.ami=EO18253.g.aem;}else if(this.ami==EO18253.g.aen){this.amj.amq();this.ami=EO18253.g.aeo;}};EO18253.f.avi.prototype.ana=EO18253.f.avj;EO18253.f.avi.prototype.ams=EO18253.f.avl;EO18253.f.avi.prototype.amx=EO18253.f.avm;EO18253.f.avi.prototype.amt=EO18253.f.avn;EO18253.f.avi.prototype.amf=EO18253.f.avp;EO18253.f.avi.prototype.anb=EO18253.f.avo;EO18253.f.avi.prototype.amq=EO18253.f.avq;EO18253.f.avi.prototype.anc=EO18253.f.avk;EO18253.f.avr=function(a){this.and=a;};EO18253.f.avs=function(){};EO18253.f.avt=function(){this.amk.amt(100);};EO18253.f.avu=function(){};EO18253.f.avv=function(){return true;};EO18253.f.avr.prototype.amr=EO18253.f.avs;EO18253.f.avr.prototype.amu=EO18253.f.avt;EO18253.f.avr.prototype.amq=EO18253.f.avu;EO18253.f.avr.prototype.amw=EO18253.f.avv;EO18253.f.avr.prototype.aey=EO18253.f.afn;EO18253.g.d.j("ei");