function EmailOK(control) {
 txt=control.value;
  if (txt.indexOf("@")<2){
   alert("I'm sorry. This email address seems to be incorrect. Please"
   +" check the prefix and '@' sign.");
   control.focus()
   return false;
   }
   return true; }

function FValidateControl(control, prompt) {
  if (control.value=="") {
    alert("The " + prompt +" field is a required field, and it must be filled in before your form can be sent to our server.")
    control.focus()
    return false }
  return true }

function FSubmitValidation(form) {
if (!FValidateControl(form.realname,'Name')) return false
if (!EmailOK(form.email)) return false
/* if (!FValidateControl(form.address,'Address')) return false */
/* if (!FValidateControl(form.city,'City')) return false */
/* if (!FValidateControl(form.state,'State')) return false */
/* if (!FValidateControl(form.zip,'Zip')) return false */
   return true }