function check_cookie()
{
 var cookieName = 'testCookie' + (new Date().getTime());
   document.cookie = cookieName + '=cookieValue';
   var cookiesEnabled = document.cookie.indexOf(cookieName) != -1;

   if (!cookiesEnabled)
   alert("It appears that you do not have cookies enabled.\nYou must turn cookies on for our site to function correctly.\nFor more information on cookies goto -\n http://www.cookiecentral.com/faq/");
}


function check_cookie2()
{
var cookiesEnabled = false;
if(document.cookie == '') {
   document.cookie = 'cookiesEnabled=yes';
   if(document.cookie.indexOf('cookiesEnabled=yes') != -1) {
    cookiesEnabled = true; 
   }
} else { 
 cookiesEnabled = true;
}

   if (!cookiesEnabled)
   alert("It appears that you do not have cookies enabled.\nYou must turn cookies on for our site to function correctly.\nFor more information on cookies goto -\n http://www.cookiecentral.com/faq/");

}

function check_cookie3()
{
   var tmpcookie = new Date();
   chkcookie = (tmpcookie.getTime() + '');
   document.cookie = "chkcookie=" + chkcookie + "; path=/";
    if (document.cookie.indexOf(chkcookie,0) < 0) {
      window.location = 'nocookies.html';
      }
    else {
      window.location = 'cookies.html';
    }

}
