$/i;
    return re.test(email);
  }
  // get all data in form and return object
  function getFormData() {
    var data   = {
      city         : document.getElementById("city").value,
      start_date   : document.getElementsByName("start_date") > 0 ? document.getElementsByName("start_date")[1].value : '',
      end_date     : document.getElementsByName("end_date")   > 0 ? document.getElementsByName("end_date")[1].value   : '',
      sleeps       : document.getElementsByName("sleeps")         ? document.g