function validateRegisterWebcastDI002(doc) {
	var errorTxt;
	errorTxt = "";
	emailFld = doc.email.value;
	atsignLoc = emailFld.indexOf("@")
	dotLoc = emailFld.lastIndexOf(".")
	
	if (doc.first_name.value.length < 1) {
		errorTxt = errorTxt + "Enter required field: <strong>First Name</strong><br>"
	}
	if (doc.last_name.value.length < 2) {
		errorTxt = errorTxt + "Enter required field: <strong>Last Name</strong><br>"
	}
	if (doc.company.value.length < 2) {
		errorTxt = errorTxt + "Enter required field: <strong>Company</strong><br>"
	}
	if (doc.addr1.value.length < 2) {
		errorTxt = errorTxt + "Enter required field: <strong>Address 1</strong><br>"
	}
	if (doc.city.value.length < 2) {
		errorTxt = errorTxt + "Enter required field: <strong>City</strong><br>"
	}
	if (doc.state.selectedIndex == 0) {
		errorTxt = errorTxt + "Enter required field: <strong>State</strong><br>"
	}
	
	if (doc.zip.value.length == 0) {
		errorTxt = errorTxt + "Enter required field: <strong>Zip</strong><br>"
	} else if (validValues(doc.zip.value,"0123456789-") == false) {
		errorTxt = errorTxt + "Invalid format: <strong>Zip</strong> contains invalid values<br>"
	} else if (doc.zip.value.length < 5) {
		errorTxt = errorTxt + "Invalid format: <strong>Zip</strong> must be atleast 5 numbers in length<br>"
	}
	
	if (doc.email.value.length == 0) {
		errorTxt = errorTxt + "Enter required field: <strong>Email Addr</strong><br>"
	} else if (atsignLoc == -1) {  
		errorTxt = errorTxt + "Invalid format: You must enter a valid <strong>Email Addr</strong><br>"  // At sign not present
	} else if ((emailFld.charAt(atsignLoc - 1) == "") || (emailFld.charAt(atsignLoc - 1) == " ")) {   
		errorTxt = errorTxt + "Invalid format: You must enter a valid <strong>Email Addr</strong><br>"  // There is not a character in front of the at sign
	} else if ((emailFld.charAt(atsignLoc + 1) == "") || (emailFld.charAt(atsignLoc + 1) == " ")) {   
		errorTxt = errorTxt + "Invalid format: You must enter a valid <strong>Email Addr</strong><br>"  // There is not a character behind at sign
	} else if (dotLoc == -1) {
		errorTxt = errorTxt + "Invalid format: You must enter a valid <strong>Email Addr</strong><br>"  // No dot present
	} else if ((emailFld.charAt(dotLoc - 1) == "") || (emailFld.charAt(dotLoc - 1) == " ")) {   
		errorTxt = errorTxt + "Invalid format: You must enter a valid <strong>Email Addr</strong><br>"  // There is not a character in front of the dot
	} else if ((emailFld.charAt(dotLoc + 1) == "") || (emailFld.charAt(dotLoc + 1) == " ")) {   
		errorTxt = errorTxt + "Invalid format: You must enter a valid <strong>Email Addr</strong><br>"  // There is not a character behind the dot
	} else if (atsignLoc > dotLoc) {
		errorTxt = errorTxt + "Invalid format: You must enter a valid <strong>Email Addr</strong><br>"  // Dot is not behind the at sign
	}	
	
	if (doc.phone.value.length == 0) {
		errorTxt = errorTxt + "Enter required field: <strong>Phone</strong><br>"
	} else if (validValues(doc.phone.value,"0123456789-() .") == false) {
		errorTxt = errorTxt + "Invalid format: <strong>Phone</strong> contains invalid values<br>"
	} else if (doc.phone.value.length < 10) {
		errorTxt = errorTxt + "Invalid format: <strong>Phone</strong> must be atleast 10 numbers in length<br>"
	}
	
	if (errorTxt == "") {
		document.getElementById("errorMsgs").style.visibility = "hidden";
		doc.submit();
	} else {
		document.getElementById("errorMsgs").innerHTML = "<strong><font color='red'>FORM ERRORS:</font></strong><br><br>" + errorTxt;
		document.getElementById("errorMsgs").style.visibility = "visible";
	}
}