function valContactResidents(form){
	form.action = '/residents/contact/send'
	return true
}

function valContactVisitors(form){
	form.action = '/visitors/contact/send'
	return true
}


function valMe(form) {
  var err = 0;
  if (form.e.value == "" || form.e.value == "Email Address") {
    alert("Please a valid email address to continue");
    err = 1;
  }
  else {
    if (form.e.value.indexOf(".") < 2) {
      alert("Please a valid email address to continue");
	  err = 1;
	}
	else {
	  if (form.e.value.indexOf("@") == 0) {
        alert("Please a valid email address to continue");	  
	    err = 1;
	  }
	}
  }
  if (err == 1) {
    return false;
  }
  else {
    document.frmmlist.action = "/mlist/save";
  }
 form.cont.disabled=true; 
 form.cont.value='Saving';
 return true;
}  