function testSessionCookie () {
  document.cookie ="testSessionCookie=Enabled";
  if (getCookieValue ("testSessionCookie")!="Enabled")
  {
    window.location = "/disabled_cookies.asp";
  }
     
}


function getCookieValue (cookieName) {
var results = document.cookie.match(cookieName + '=(.*?)(;|$)');
if (results)
    return (unescape (results[1]) );
else return false;
}

