
<!--
// Function to see if a value has been entered:

var sendTo_a, sendTo_b, sendTo_c;
  
function isEmpty(inputStr) {
   if (inputStr == null || inputStr == "") {
      return true
   }
   return false
}

function checkForm(form1) {
	  if (isEmpty(form1.txtAreaHelp.value)) {
      alert ("Please fill in the How can we help you field.");
      form1.txtAreaHelp.focus();
      return false;
      }
	  if (isEmpty(form1.txtFirstName.value)) {
      alert ("Please fill in the First Name field.");
      form1.txtFirstName.focus();
      return false;
      }
	  if (isEmpty(form1.txtLastName.value)) {
      alert ("Please fill in the Last Name field.");
      form1.txtLastName.focus();
      return false;
	  }
	  if (isEmpty(form1.txtCompany.value)) {
      alert ("Please fill in the Company Name field.");
      form1.txtCompany.focus();
      return false;
	  }
	  if (isEmpty(form1.txtEmail.value)) {
      alert ("Please fill in the Email field.");
      form1.txtEmail.focus();
      return false;
	  }
	  if (isEmpty(form1.txtPhone.value)) {
      alert ("Please fill in the Phone field.");
      form1.txtPhone.focus();
      return false;
	  }
	  if (document.form1.country[document.form1.country.selectedIndex].text =="Please Select") {
	  alert ("Please fill in the Country field.");
      form1.country.focus();
      return false;
	  }
	  if (document.form1.business[document.form1.business.selectedIndex].text =="Please Select") {
	  alert ("Please fill in the Business field.");
      form1.business.focus();
      return false;
	  }
	
      	  
	  
	  if (document.form1.business[document.form1.business.selectedIndex].text =="Alcohol") {
	  document.form1.xx_to_smtp.value="Ed_Coenen@cargill.com,Marcel_Veenstra@cargill.com,Wouter_Vanolphen@cargill.com";
	   }
	   else {
	   document.form1.xx_to_smtp.value="Isabelle_Larsonneur@cargill.com";
	   }
}
-->

