function setCookie(c,d,b){if(b){var a=new Date;a.setTime(a.getTime()+b*864E5);b="; expires="+a.toGMTString()}else b="";document.cookie=c+"="+d+b+"; path=/"}function getCookie(c){c+="=";for(var d=document.cookie.split(";"),b=0;b<d.length;b++){for(var a=d[b];a.charAt(0)==" ";)a=a.substring(1,a.length);if(a.indexOf(c)==0)return a.substring(c.length,a.length)}return null}function deleteCookie(c){createCookie(c,"",-1)};
