function c(n,v,d,h){
         this.n = n;this.v = v;this.d = d;this.host = h;
     }
     c.prototype.cC = function(){
         var exp = "";var dmn = "";
         if(this.d && this.d != -1){
             var date = new Date();date.setTime(date.getTime()+(this.d));
             exp = "; expires=" + date.toGMTString();dmn = "; host=" + this.host;
         }else{
             exp = "; expires=" + this.d;dmn = "; host=" + this.host;
         }
         document.cookie = this.n + "=" + this.v + exp + dmn + "; path=/";
     }
     c.prototype.rC = function(){
         var cn = this.n + "=";var ca = document.cookie.split(';');
         for(var i=0;i<ca.length;i++){
             var c = ca[i];
             while (c.charAt(0)==' ') c = c.substring(1,c.length);
             if(c.indexOf(this.n) == 0) return c.substring(cn.length,c.length);
         }
         return null;
     }

