function validateContactForm() {
	var theForm = document.getElementById("contactForm");
	var valid = true; // flag, must be true to proceed
	
	if(theForm.firstName.value == "") {
		alert("Please enter your first name");
		valid=false;
		theForm.firstName.focus();
	}
	
	else if(theForm.lastName.value == "") {
		alert("Please enter your last name");
		valid=false;
		theForm.lastName.focus();
	}
	
	else if(theForm.email.value == "") {
		alert("Please enter your email address");
		valid=false;
		theForm.email.focus();
	}

	else if(theForm.msg.value == "") {
		alert("Please enter your message");
		valid=false;
		theForm.msg.focus();
	}

	return(valid);
}