function ValidateReservatie(theForm)
{
  var missing = ""
  if (theForm.naam.value == "")
    missing += "  - Naam\n"
  if (theForm.telefoon.value == "")
    missing += "  - Telefoon\n"		   		   
  if (theForm.email.value == "")
    missing += "  - Email\n"		
  if (theForm.reservatie_datum.value == "")
    missing += "  - Datum\n"	
  if (theForm.aantal_personen.value == "")
    missing += "  - Aantal personen\n"		   	   		   
  if (missing != "")
  {
   alert("De volgende velden zijn verplicht:\n"  + missing)
   return false
   }
  else 
   return true
}

function ValidateContact(theForm)
{
 var missing = ""
 if (theForm.naam.value == "")
   missing += "  - Naam\n"		   		   
 if (theForm.email.value == "")
   missing += "  - Email\n"	
 if (theForm.tekst.value == "")
   missing += "  - Bericht\n"		   	   		   
 if (missing != "")
 {
  alert("De volgende velden zijn verplicht:\n" + missing)
  return false
  }
 else 
   return true
}

function ValidateNieuwsbrief(theForm)
{
 var missing = ""	   		   
 if (theForm.email.value == "")
   missing += "  - Email\n"		   	   		   
 if (missing != "")
 {
  alert("Emailadres is verplicht !")
  return false
  }
 else 
   return true
}
