function ValidateForm(theForm){
 if(theForm.Form_Status.value == 'Submit') {
  if (theForm.Nominee_Prefix.value == ""){
   alert("Nominee Prefix required.");
   RevertFormStatus(theForm);
   theForm.Nominee_Prefix.focus();
   return false;
  }

  if(theForm.Nominee_First_Name.value == "" || theForm.Nominee_First_Name.value.length > 30){
   alert("Nominee First Name required.\n(Maximum length: 30 characters)");
   RevertFormStatus(theForm);
   theForm.Nominee_First_Name.focus();
   return false;
  }

  if(theForm.Nominee_Last_Name.value == "" || theForm.Nominee_Last_Name.value.length > 30){
   alert("Nominee Last Name required.\n(Maximum length: 30 characters)");
   theForm.Nominee_Last_Name.focus();
   return false;
  }


  if(theForm.Nominee_Organization.value == "" || theForm.Nominee_Organization.value.length > 50){
   alert("Nominee Organization required.\n(Maximum length: 50 characters)");
   RevertFormStatus(theForm);
   theForm.Nominee_Organization.focus();
   return false;
  }


  if(theForm.Nominee_Address_1.value == "" || theForm.Nominee_Address_1.value.length > 30){
   alert("Nominee Address 1 required.\n(Maximum length: 30 characters)");
   RevertFormStatus(theForm);
   theForm.Nominee_Address_1.focus();
   return false;
  }

  if(theForm.Nominee_City.value == "" || theForm.Nominee_City.value.length > 25){
   alert("Nominee City required.\n(Maximum length: 25 characters)");
   RevertFormStatus(theForm);
   theForm.Nominee_City.focus();
   return false;
  }


  if(theForm.Nominee_State.value == "" || theForm.Nominee_State.value.length > 2){
   alert("Nominee State required.\n(Maximum length: 2 characters)");
   RevertFormStatus(theForm);
   theForm.Nominee_State.focus();
   return false;
  }


  if(theForm.Nominee_Zip.value == "" || theForm.Nominee_Zip.value.length > 10){
   alert("Nominee Zip required.\n(Maximum length: 10 characters)");
   RevertFormStatus(theForm);
   theForm.Nominee_Zip.focus();
   return false;
  }


  if(theForm.Nominee_Phone.value == "" || theForm.Nominee_Phone.value.length > 12){
	alert("Nominee Phone required.\n(Maximum length: 12 characters)");
    RevertFormStatus(theForm);
	theForm.Nominee_Phone.focus();
	return false;
  }

  if(theForm.Show_Name.value == "" || theForm.Show_Name.value.length > 30){
   alert("Show Name required.\n(Maximum length: 30 characters)");
   RevertFormStatus(theForm);
   theForm.Show_Name.focus();
   return false;
  }


  if(theForm.Show_Location.value == "" || theForm.Show_Location.value.length > 30){
   alert("Show Location required.\n(Maximum length: 30 characters)");
   RevertFormStatus(theForm);
   theForm.Show_Location.focus();
   return false;
  }

  if(theForm.Manage_Years.value == "" || isNaN(theForm.Manage_Years.value)){
   alert("Years Managing Show required. (numeric)");
   RevertFormStatus(theForm);
   theForm.Manage_Years.focus();
   return false;
  }

  if(theForm.Exhibitors_Count.value == "" || isNaN(theForm.Exhibitors_Count.value)){
   alert("Exhibitors Count required. (numeric)");
   RevertFormStatus(theForm);
   theForm.Exhibitors_Count.focus();
   return false;
  }

  if(theForm.Booths_Count.value == "" || isNaN(theForm.Booths_Count.value)){
   alert("10 x 10 Booths Count required. (numeric)");
   RevertFormStatus(theForm);
   theForm.Booths_Count.focus();
   return false;
  }

  if(theForm.Nominator_First_Name.value == "" || theForm.Nominator_First_Name.value.length > 30){
   alert("Nominator First Name required.\n(Maximum length: 30 characters)");
   RevertFormStatus(theForm);
   theForm.Nominator_First_Name.focus();
   return false;
  }

  if(theForm.Nominator_Last_Name.value == "" || theForm.Nominator_Last_Name.value.length > 30){
   alert("Nominator Last Name required.\n(Maximum length: 30 characters)");
   RevertFormStatus(theForm);
   theForm.Nominator_Last_Name.focus();
   return false;
  }

  if(theForm.Nominator_Organization.value == "" || theForm.Nominator_Organization.value.length > 50){
   alert("Nominator Organization required.\n(Maximum length: 50 characters)");
   RevertFormStatus(theForm);
   theForm.Nominator_Organization.focus();
   return false;
  }

  if(theForm.Nominator_Address_1.value == "" || theForm.Nominator_Address_1.value.length > 30){
   alert("Nominator Address 1 required.\n(Maximum length: 30 characters)");
   RevertFormStatus(theForm);
   theForm.Nominator_Address_1.focus();
   return false;
  }
  
  if(theForm.Nominator_City.value == "" || theForm.Nominee_City.value.length > 25){
   alert("Nominator City required.\n(Maximum length: 25 characters)");
   RevertFormStatus(theForm);
   theForm.Nominee_City.focus();
   return false;
  }


  if(theForm.Nominator_State.value == "" || theForm.Nominee_State.value.length > 2){
   alert("Nominator State required.\n(Maximum length: 2 characters)");
   RevertFormStatus(theForm);
   theForm.Nominee_State.focus();
   return false;
  }

  if(theForm.Nominator_Zip.value == "" || theForm.Nominator_Zip.value.length > 10){
   alert("Nominator Zip required.\n(Maximum length: 10 characters)");
   RevertFormStatus(theForm);
   theForm.Nominator_Zip.focus();
   return false;
  }


  if(theForm.Nominator_Phone.value == "" || theForm.Nominator_Phone.value.length > 12){
	alert("Nominator Phone required.\n(Maximum length: 12 characters)");
    RevertFormStatus(theForm);
	theForm.Nominator_Phone.focus();
	return false;
  }


  if(theForm.Nominator_Email.value == "" || theForm.Nominator_Email.value.length > 50){
   alert("Nominator Email required.\n(Maximum length: 50 characters)");
   RevertFormStatus(theForm);
   theForm.Nominator_Email.focus();
   return false;
  }
 }
 return true;
}


function RevertFormStatus(theForm){
 theForm.Form_Status.value = '';
}

