function contactCheck() {
	var str = document.form1;
	var chkEmail = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/ ; // Valid email RegExp
	var zipNum = /^\d+$/ ; // Numeric check
	
	if (str.name.value == "") {
		alert("Please provide your name.");
		str.name.focus();
		return false;
	}
	if (str.email.value == "") {
		alert("Please provide your email address.");
		str.email.focus();
		return false;
	}
	if(str.email.value != "") {
		if (!chkEmail.test(str.email.value)) {
			alert(str.email.value + '  is not a valid email address.\nPlease try again.');
			str.email.focus();
			str.email.select();
			return false;
		}
	}
	if(str.zip.value != "") {
		if (!zipNum.test(str.zip.value)) {
			alert(str.zip.value + '  is not a valid zip code.\nPlease try again.');
			str.zip.focus();
			str.zip.select();
			return false;
		}
	}
	if (str.carmk.value == "") {
		alert("Please provide your car's make.");
		str.carmk.focus();
		return false;
	}
	if (str.carmdl.value == "") {
		alert("Please provide your car's model.");
		str.carmdl.focus();
		return false;
	}
	if (str.themess.value == "") {
		alert("Please type your message.");
		str.themess.focus();
		return false;
	}
	if (str.code.value == "") {
		alert("Please type the characters seen in the picture.");
		str.code.focus();
		return false;
	}
}