<!-- Begin
function validate_faq_form() {

	if (trimString(document.faq_form.firstname.value) == "")
	{
		alert("Please tell us your first name.");
		return;
	}
	
	if (trimString(document.faq_form.location.value) == "")
	{
		alert("Please tell us the Maryland location that you're interested in.");
		return;
	}
	
	if (trimString(document.faq_form.email.value) == "")
	{
		alert("Please tell us your email address.");
		return;
	}
	
	if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(trimString(faq_form.email.value))){
		}
		else {
		alert("The email address you entered is invalid. Please re-enter it.")
	  return;
	  }
	  

	if (document.faq_form.termsagreement.checked)
		 {

		 }
	else
		 {
			alert("Please verify that you agree to the terms and conditions");
	return;
		 }

	if (trimString(document.faq_form.antispam.value) == "")
	{
		alert("Please enter the antispam code.");
		return;
	}

	 
	document.getElementById('faq_form_submit').innerHTML = "<span class=\"errormessage\">Request processing, please wait ...</span>";
 document.faq_form.submit()
}


//  End -->

