function CheckCookieEnable()
{
var checkName="CheckCookieEnableName";
var value=Math.floor(Math.random()*1000000);
var date=new Date();
date.setFullYear(date.getFullYear()+1);
document.cookie=checkName+"="+value+";path=/;expires="+date.toUTCString();
if(GetCookie(checkName)==value)
return true;
return false;
}