function validateLogin() {
	var valid = true;
	if (document.frmlogin.Username.value.length == 0)	{
		alert("Please Enter a Username.");
		document.frmlogin.Username.focus();
		valid = false;
	}
	else if (!validateEmail(document.frmlogin.Username.value,1)) {
		alert("Please enter a valid Username.");
		document.frmlogin.Username.focus();
		valid = false;
	}
	return valid;
}

	
function checkCookie() {
	if (document.cookie.indexOf('JSESSIONID') < 0) {
	   alert("Please note, you may not have cookies enabled for our website. For more information refer to 'Cookies - what does this mean?'");
	}
}