function ValidateForm() {
	thisForm = eval("document.contactForm");
	errorMessage="Error!\n\n";
	
	if (trim(thisForm.contactName.value).length == 0) {
		errorMessage += "* You must enter a CONTACT NAME.\n";
	} else if (htmlCodeCheck(thisForm.contactName.value) >= 0) {
		errorMessage += "* The CONTACT NAME field cannot contain HTML code.\n";
	}
	if (htmlCodeCheck(thisForm.companyName.value) >= 0) {
		errorMessage += "* The COMPANY NAME field cannot contain HTML code.\n";
	}
	if (htmlCodeCheck(thisForm.address.value) >= 0) {
		errorMessage += "* The ADDRESS field cannot contain HTML code.\n";
	}		
	if (htmlCodeCheck(thisForm.address2.value) >= 0) {
		errorMessage += "* The ADDITIONAL ADDRESS field cannot contain HTML code.\n";
	} 		  
	if (htmlCodeCheck(thisForm.city.value) >= 0) {
		errorMessage += "* The CITY field cannot contain HTML code.\n";
	}		 
	if (htmlCodeCheck(thisForm.state.value) >= 0) {
		errorMessage += "* The STATE field cannot contain HTML code.\n";
	}		 
	if (htmlCodeCheck(thisForm.zip.value) >= 0) {
		errorMessage += "* The ZIP CODE field cannot contain HTML code.\n";
	} 						
	if (htmlCodeCheck(thisForm.phone.value) >= 0) {
		errorMessage += "* The PHONE field cannot contain HTML code.\n";
	} 				
	if(!checkEmail(thisForm.email.value)) {
	errorMessage = errorMessage + "* You must enter a VALID EMAIL ADDRESS.\n";
	}
	if (htmlCodeCheck(thisForm.websiteURL.value) >= 0) {
		errorMessage += "* The CURRENT URL field cannot contain HTML code.\n";
	}		
	if (thisForm.information[0].checked == false && thisForm.information[1].checked == false && thisForm.information[2].checked == false && thisForm.information[3].checked == false) {
		errorMessage += "* I would like information about the FOLLOWING SERVICES:\n";
	} 
	
	if (htmlCodeCheck(thisForm.comments.value) >= 0) {
		errorMessage += "* The COMMENTS field cannot contain HTML code.\n";
	}
	 
	if (errorMessage.length > 10) {
		alert(errorMessage);
		return false;
	} else {
		return true;
	}	
}
