var age=getCookie('UnderAge');
if (age==null)
  {
	//alert('no cookie');
	window.location = "index.asp";
  }
else if (age=="no")
  {
	//alert('old enough');
  }
  else if (age=="yes")
  {
	//alert('too young');
	window.location = "index.asp";
  }
    else
  {
	//alert('no info');
	window.location = "index.asp";
  }
