function stopEnter(ev) {
  var key;
  if (window.event)
    key = window.event.keyCode;
  else
    key = ev.which;
  if (key == 13) return false;
}

function vForm() {
  if ((!document.prelim.dtype[0].checked) &&
  (!document.prelim.dtype[1].checked))
   {
    alert("Please check a donation type")
    return false
  }
  donation = document.prelim.level.value;
  if (donation == 0) {
    alert("Please select a level")
    return false
  }
  if (donation == -1) {
    donation = document.prelim.other.value;
    if (isNaN(donation) || donation==0) {
      alert("Please enter the amount of your donation")
      return false
    }
  }
  if (document.prelim.dtype[0].checked) dtype = "Sponsor";
  else dtype = "Member";
  
  document.iFace.ePNAccount.value="1106224"
  document.iFace.ItemDesc.value = dtype + " donation"
  document.iFace.ItemCost.value = donation
  document.iFace.submit()
  return false
}

