function validator(form) { 

  if (form.name.value == "") {
    alert("Please provide us with the Event Name.");
    form.name.focus();
    return false;
  }
  if (form.city.value == "") {
    alert("Please provide us with the City in which the event will take place.");
    form.city.focus();
    return false;
  }
  if (form.state.value == 0) {
    alert("Please provide us with the State in which the event will take place.");
    form.state.focus();    
    return false;
  }
  if (form.date.value == "") {
    alert("Please provide us with the From Date of the event.");
    form.date.focus();
    return false;
  }
  if (form.date2.value == "") {
    alert("Please provide us with the To Date of the event.  If it is the same as the From Date, then please choose the same date.");
    form.date2.focus();
    return false;
  }
  if (form.time.value == "") {
    alert("Please provide us with the Time(s) the event will take place.");
    form.time.focus();
    return false;
  }  
  if (form.description.value == "") {
    alert("Please provide us with a Brief Event Description.");
    form.description.focus();
    return false;
  }
  if (form.contact.value == "") {
    alert("Please provide us with a Contact Name.");
    form.contact.focus();
    return false;
  }      
  if (form.email.value == "") {
    alert("Please provide us with a Contact Email Address.");
    form.email.focus();
    return false;
  }
  if (form.spam.value != "BIRDY") {
    alert("The SpamCheck characters you entered do not match.  Characters are case-sensitive.  Please try again.");
    form.spam.focus();
    return false;
  }
  
return true; 
} 
