function cc(){
	/* check for a cookie */
	if (document.cookie == ""){
		/* if a cookie is not found - alert user - change cookieexists field value to false */
		document.getElementById('cookieexists').value ="false"
		/* If the user has Cookies disabled an alert will let him know that cookies need to be enabled to log on.*/
		document.getElementById('cookieexists').value ="false"
	} else {
		/* this sets the value to true and nothing else will happen, the user will be able to log on*/
		document.getElementById('cookieexists').value ="true"
	}

	if(document.getElementById('cookieexists').value == "true"){
		document.getElementById('checkforjavaandcookie').style.display ="none";
	}
}

/* Set a cookie to be sure that one exists.  Note that this is outside the function*/
document.cookie = 'killme' + escape('nothing')
// -->