function Validate() {
		
	if (document.login.Username.value == "") {
		window.alert("Please enter a Username.");
		return false;
	}
	
	if (document.login.Password.value == "") {
		window.alert("Please enter a Password.");
		return false;
	}

	return true;
}

function CheckEmail() {
		
	if (document.pass_help.Email.value == "") {
		window.alert("Please enter an e-mail address.");
		return false;
	}
	
	if (document.pass_help.Email.value.indexOf('@', 0) == -1 || document.pass_help.Email.value.indexOf('.', 0) == -1) { 
	   window.alert("Please enter a valid e-mail address."); 
	   return false;
	}

	return true;
}

function validatepurp()
{
	if (document.activate.purpose.value == "") {
		window.alert("Please select a method in which you aquired Wave Medical.");
		return false;
	}
}