function ValidateForm(f){
	with(f){
		if (isEmpty(Name.value)) {
			alert("Please enter your Name");
			Name.focus();
			return false;
		}

		// Check to see if the email has been entered
		if ( !isEmpty(Email.value) ) {
			// Check to see if the email is in the format of an email address
			if ( !isEmail(Email.value ) ) {
				alert("Please enter a valid email addres");
				Email.focus();
				return false;
			}
		}

		if (isEmpty(Phone.value)) {
			alert("Please enter your Phone number");
			Phone.focus();
			return false;
		}
	}
	return true;
}