
function noSubmit() {
  return !(window.event && window.event.keyCode == 13);
}

function FValidateText(control, label) {
  if (control.value=="") {
    alert(label+" is a required field, and it must be filled in before your request can be processed.");
    control.focus();
    return false; }
  return true; }

function FSubmitValidation(form) {
if (!FValidateText(form.congregation_name, "Congregation Name")) { return false; }
if (!FValidateText(form.street_address, "Street Address")) { return false; }
if (!FValidateText(form.city_location, "City")) { return false; }
if (!FValidateText(form.state_location, "State")) { return false; }
if (!FValidateText(form.postalcode, "Zip")) { return false; }
if (!FValidateText(form.user_name, "Submitter's name")) { return false; }
return true; }

