function submitForm() {
	FormValid = "True";
	if (document.SubmitForm.OptIn.checked == true) { 
		if (document.SubmitForm.E_FName.value=='') {
			alert("First Name is required"); FormValid = "False"; return;
		}
		if (document.SubmitForm.E_LName.value=='') {
			alert("Last Name is required"); FormValid = "False"; return;
		}
		if (document.SubmitForm.E_Email.value=='') {
			alert("Email Address is required"); FormValid = "False"; return;
		}
		var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
		var address = document.SubmitForm.E_Email.value;
		if(reg.test(address) == false) {
			alert("Your Email Address does not appear to be in proper form");  FormValid = "False"; return;
		}
		if (document.SubmitForm.E_Zip.value=='') {
			alert("Postal Code is required");  FormValid = "False"; return;
		}
		if (FormValid == "True") {
			document.SubmitForm.submit();
			return true;		
		}
	} else { 
		alert("You must check the opt in button and agree to the terms of the contest in order to submit this form");
	}
}
