function window_onload()
{
 /* check for a cookie */
  if (document.cookie == "")
  {
    /* if a cookie is not found - alert user */
    window.location.href = "cookies.asp"
  }
  return true;
}
