/* Set a cookie to be sure that one exists.
   Note that this is outside the function*/

document.cookie = 'killme' + escape('nothing')

if (document.cookie == "") 
{
	/* if a cookie is not found - alert user -
	change cookieexists field value to false */
	alert("COOKIES need to be enabled! \nOr else, the website will act very weird.\n\nRegards,\nWebmaster@x1-concept.com");
	
	/* If the user has Cookies disabled an alert will let him know 
	that cookies need to be enabled to log on.*/ 
	
	document.Form1.cookieexists.value ="false"  
}






