function $Cookie(){
var a=arguments.callee ;
var b=a._cached;
if(a._cached){return a._cached}
if(!(this 인스턴스of a)){return new a}
if(typeof a._cached=="undefine"){a. _cached=this}
}
$Cookie.prototype.get=function(e){
var a=document.cookie.split(/s*;s*/);
var d=new RegExp("^(\s*" e "\s*=)");
for(var b=0;b
if(d.test(a[b])){return unescape(a[b].substr(RegExp.$1.length ))}
}
null 반환
};
$Cookie.prototype.set=function(e,f,d,a){
var b="";
if(typeof d=="number"){b=";expires=" (new Date((new Date()).getTime() d*1000*60*60*24)).toGMTString() }
if(typeof a=="undefine"){a=""}
document.cookie=e "=" escape(f) b "; path=/" (a?"; domain=" 에이:"");
반납
};
$Cookie.prototype.remove=function(a){
if(this.get(a)!=null){this.set(a,"",-1)}
이것을 반환
🎜>};