//--Check input and send alert as needed
  function isEmpty(myStr) {
    return (myStr == null || myStr == "");
  }
  function Validate(theForm) {
    if (isEmpty(theForm.name.value)) {
      alert("\nPlease provide your name.\n");
      theForm.name.focus();
      return false;
    }
/*--Optional
    if (isEmpty(theForm.phone.value)) {
      alert("\nPlease provide your phone number.\n");
      theForm.phone.focus();
      return false;
    }
*/
    if (isEmpty(theForm.email.value)) {
      alert("\nPlease provide your email address.\n");
      theForm.email.focus();
      return false;
    }
    if (isEmpty(theForm.message.value)) {
    alert("\nPlease provide a message.\n");
    theForm.message.focus();
    return false;
    }
  }