/*
 * Compressed by JSA(www.xidea.org)
 */
Cookie={get:function($){tmp=document.cookie.match((new RegExp($+"=[a-zA-Z0-9.()=|%/]+($|;)","g")));if(!tmp||!tmp[0])return null;else return unescape(tmp[0].substring($.length+1,tmp[0].length).replace(";",""))||null},set:function(D,B,C,A,_,$){cookie=[D+"="+escape(B),"path="+((!A||A=="")?"/":A),"domain="+((!_||_=="")?window.location.hostname:_)];if(C)cookie.push("expires="+Cookie.hoursToExpireDate(C));if($)cookie.push("secure");return document.cookie=cookie.join("; ")},unset:function(A,_,$){_=(!_||typeof _!="string")?"":_;$=(!$||typeof $!="string")?"":$;if(Cookie.get(A))Cookie.set(A,"","Thu, 01-Jan-70 00:00:01 GMT",_,$)},hoursToExpireDate:function($){if(parseInt($)=="NaN")return"";else{now=new Date();now.setTime(now.getTime()+(parseInt($)*60*60*1000));return now.toGMTString()}},test:function(){Cookie.set("b49f729efde9b2578ea9f00563d06e57","true");if(Cookie.get("b49f729efde9b2578ea9f00563d06e57")=="true"){Cookie.unset("b49f729efde9b2578ea9f00563d06e57");return true}return false},dump:function(){if(typeof console!="undefined")console.log(document.cookie.split(";"))}}
