<!--
function MasterFormValidate(theForm)
{

  if (theForm.First_Name.value == "")
  {
    alert("Please enter a value for the \"First Name\" field.");
    theForm.First_Name.focus();
    return (false);
  }

  if (theForm.First_Name.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"First Name\" field.");
    theForm.First_Name.focus();
    return (false);
  }

  if (theForm.Last_Name.value == "")
  {
    alert("Please enter a value for the \"Last Name\" field.");
    theForm.Last_Name.focus();
    return (false);
  }

  if (theForm.Last_Name.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"Last Name\" field.");
    theForm.Last_Name.focus();
    return (false);
  }

  if (theForm.Email.value == "")
  {
    alert("Please enter a value for the \"Email\" field.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Email.value.length < 4)
  {
    alert("Please enter at least 4 characters in the \"Email\" field.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.RetypeEmail.value !== theForm.Email.value)
  {
    alert("The \"Email\" address you have entered does not match the \"Email\" field.");
    theForm.RetypeEmail.focus();
    return (false);
  }

  if (theForm.Enquiry_Type.selectedIndex < 0)
  {
    alert("Please select one of the \"Enquiry Type\" options.");
    theForm.Enquiry_Type.focus();
    return (false);
  }
  
   if (theForm.Enquiry_Type.selectedIndex == 0)
  {
    alert("Please select one of the Enquiry Type options.");
    theForm.Enquiry_Type.focus();
    return (false);
  }
   
  if (theForm.Enquiry_Details.value == "" || theForm.Enquiry_Details.value == "Type your Enquiry Details here...")
  {
    alert("Please type in your Enquiry Details.");
    theForm.Enquiry_Details.focus();
    return (false);
  }
  
  	var Vco = ""
	Vco = theForm.Enquiry_Type.options[theForm.Enquiry_Type.selectedIndex].text;
	theForm.Subject.value=theForm.Enquiry_Type.options[theForm.Enquiry_Type.selectedIndex].text;
  
  return (true);
}
//-->
