function ClientCookie(b){this.name=b;this.value=null;this.domain=null;this.path=null;this.expirationDate=null;this.init()}ClientCookie.prototype.init=function(){var f=-1;var d=-1;if(this.cookieExists()){f=document.cookie.indexOf(this.name)}if(f>-1){var e;d=document.cookie.indexOf(";",f);if(d==-1){e=document.cookie.substring(f,document.cookie.length)}else{e=document.cookie.substring(f,d)}this.value=e.substring(e.indexOf("=")+1,e.length)}};ClientCookie.prototype.setValue=function(b){this.value=b};ClientCookie.prototype.getValue=function(){return this.value};ClientCookie.prototype.setDomain=function(b){this.domain=b};ClientCookie.prototype.setExpirationDate=function(b){this.expirationDate=b.toGMTString()};ClientCookie.prototype.setPath=function(b){this.path=b};ClientCookie.prototype.cookieExists=function(){var b=-1;if(document.cookie.length>0){b=document.cookie.indexOf(this.name)}return(b>-1)};ClientCookie.prototype.saveCookie=function(){var b;b=escape(this.name)+"="+(this.value)+";";if(this.domain){b+="domain="+this.domain+";"}if(this.path){b+="path="+this.path+";"}if(this.expirationDate){b+="expires="+this.expirationDate}document.cookie=b};
