var expDays=1;var exp=new Date();exp.setTime(exp.getTime()+(expDays*60*60*1000));function getCookieVal(a){var b=document.cookie.indexOf(";",a);if(b==-1)b=document.cookie.length;return unescape(document.cookie.substring(a,b))}function GetCookie(a){var b=a+"=";var c=b.length;var d=document.cookie.length;var i=0;while(i<d){var j=i+c;if(document.cookie.substring(i,j)==b)return getCookieVal(j);i=document.cookie.indexOf(" ",i)+1;if(i==0)break}return null}function SetCookie(a,b){var c=SetCookie.arguments;var d=SetCookie.arguments.length;var e=(d>2)?c[2]:null;var f=(d>3)?c[3]:null;var g=(d>4)?c[4]:null;var h=(d>5)?c[5]:false;document.cookie=a+"="+escape(b)+((e==null)?"":("; expires="+e.toGMTString()))+((f==null)?"":("; path="+f))+((g==null)?"":("; domain="+g))+((h==true)?"; secure":"")}function DeleteCookie(a){var b=new Date();b.setTime(b.getTime()-1);var c=GetCookie(a);document.cookie=a+"="+c+"; expires="+b.toGMTString()}
