﻿// Include this Javascript only for pages that uses cookies or session states
// This Script will check if user has cookies are disabled and redirects to Cookies Warning page if disabled.

//function CookieCheck
<!--
 var tmpcookie = new Date();
 chkcookie = (tmpcookie.getTime() + '');
 document.cookie = "chkcookie=" + chkcookie + "; path=/";
  if (document.cookie.indexOf(chkcookie,0) < 0) {
    window.location = '/errormsg/CookiesWarning.aspx';
    }
//-->


