	function validate()
	{
		if (document.contactForm.name.value == "") {
		alert("You left your name blank. Please type in your name.");
		document.contactForm.name.focus();
		return false;
	    }

 		if ((document.contactForm.email.value == "") && (document.contactForm.phone.value == "")) {
		alert("You need to fill out either your email address or phone number.");
		document.contactForm.email.focus();
		return false;
	    }

 		if (document.contactForm.email.value !== "") {
			if (document.contactForm.email.value.indexOf("@")<2) {
				alert("Please enter a valid Email Address!");
				document.contactForm.email.focus();
				return false;
			}
	    }

 		if (document.contactForm.secretCode.value !== "LD7T7") {
		alert("Please enter a valid security code. Codes are Case-sensitive");
		document.contactForm.secretCode.focus();
		return false;
		}

 		if (document.contactForm.comments.value == "") {
		alert("You left the comments field blank.");
		document.contactForm.comments.focus();
		return false;
		}
	}