function validateContactForm() {
with (document.contact) {
var alertMsg = "There is a problem with the following fields:\n";
if (question.value == "") alertMsg += "\n--question or comment";
if (contactName.value == "(name)") alertMsg += "\n--your name";
if (email.value == "(email)") alertMsg += "\n--email address";
if (phone.value == "(phone)") alertMsg += "\n--phone number";
if (spamFilter.value != "june") alertMsg += "\n--spam filter. (please type in lowercase)";
if (alertMsg != "There is a problem with the following fields:\n") {
alert(alertMsg);
return false;
} else {
return true;
} } }

