function RegisterForm_Validator(theForm)
{

  
  if (theForm.strFirstName.value == "")
  {
    alert("Please enter a value for the \"First Name\" field.");
    theForm.strFirstName.focus();
    return (false);
  }
  
  if (theForm.strLastName.value == "")
  {
    alert("Please enter a value for the \"Last Name\" field.");
    theForm.strLastName.focus();
    return (false);
  }
 
  if (theForm.strTitle.value == "")
  {
    alert("Please enter a value for the \"Title/Position\" field.");
    theForm.strTitle.focus();
    return (false);
  }
  
  strError = validateEmail(theForm.strEmail.value)
  if (strError != "") {
		alert(strError);
    	theForm.strEmail.focus();
    	return (false);
  }

  if (theForm.strCompanyName.value == "")
  {
    alert("Please enter a value for the \"Company Name\" field.");
    theForm.strCompanyName.focus();
    return (false);
  }   
 
  /*  
  if (theForm.strStreet.value == "")
  {
    alert("Please enter a value for the \"Address\" field.");
    theForm.strStreet.focus();
    return (false);
  }
  
 if (theForm.strCity.value == "")
  {
    alert("Please enter a value for the \"City\" field.");
    theForm.strCity.focus();
    return (false);
  }
  
  if (theForm.lngStateID){
	  if (theForm.lngStateID.value == "0")
	  {
	    alert("Please select a \"State/Province.\"");
	    theForm.lngStateID.focus();
	    return (false);
	  }
  }
  
  if (theForm.strZIP.value == "")
  {
    alert("Please enter a value for the \"Postal Code\" field.");
    theForm.strZIP.focus();
    return (false);
  }
 
  if ((theForm.strPhoneArea2.value == "" && theForm.strPhone2.value == "")) {
  	alert("Please enter a value for the \"Phone\" field.");
    theForm.strPhone2.focus();
   	return (false);
  }
  
  if ((theForm.strCellArea.value == "" && theForm.strCell.value == "")) {
  	alert("Please enter a value for the \"Phone\" field.");
    theForm.strCell.focus();
   	return (false);
  }
 */
  
 if (!(theForm.selMiscellaneous1[0].checked || theForm.selMiscellaneous1[1].checked || theForm.selMiscellaneous1[2].checked)){
    alert("Please select an answer to Question #1.");
    theForm.selMiscellaneous1[0].focus();
    return (false);
  }

 if (!(theForm.selMiscellaneous2[0].checked || theForm.selMiscellaneous2[1].checked || theForm.selMiscellaneous2[2].checked)){
    alert("Please select an answer to Question #2.");
    theForm.selMiscellaneous2[0].focus();
    return (false);
  }

 if (!(theForm.selMiscellaneous3[0].checked || theForm.selMiscellaneous3[1].checked || theForm.selMiscellaneous3[2].checked)){
    alert("Please select an answer to Question #3.");
    theForm.selMiscellaneous3[0].focus();
    return (false);
  }

 if (!(theForm.selMiscellaneous4[0].checked || theForm.selMiscellaneous4[1].checked || theForm.selMiscellaneous4[2].checked)){
    alert("Please select an answer to Question #4.");
    theForm.selMiscellaneous4[0].focus();
    return (false);
  }

 if (!(theForm.selMiscellaneous5[0].checked || theForm.selMiscellaneous5[1].checked || theForm.selMiscellaneous5[2].checked)){
    alert("Please select an answer to Question #5.");
    theForm.selMiscellaneous5[0].focus();
    return (false);
  }

 if (!(theForm.selMiscellaneous6[0].checked || theForm.selMiscellaneous6[1].checked || theForm.selMiscellaneous6[2].checked)){
    alert("Please select an answer to Question #6.");
    theForm.selMiscellaneous6[0].focus();
    return (false);
  }
  
 if (theForm.strMiscellaneous7.value == "")
  {
    alert("Please provide an answer to the Question #7.");
    theForm.strMiscellaneous7.focus();
    return (false);
  }

 if (!(theForm.selMiscellaneous8[0].checked || theForm.selMiscellaneous8[1].checked || theForm.selMiscellaneous8[2].checked)){
    alert("Please select an answer to Question #8.");
    theForm.selMiscellaneous8[0].focus();
    return (false);
  }


  
  
   return (true);  
}