<!--
//field checking PMA-C

function CheckRequiredFields() {
var errormessage = new String();

if(WithoutContent(document.contact.voornaam.value))
	{ errormessage += "\n\nVul a.u.b. je Voornaam in."; }
if(WithoutContent(document.contact.achternaam.value))
	{ errormessage += "\n\nVul a.u.b. je Achternaam in."; }
if(WithoutContent(document.contact.email.value))
	{ errormessage += "\n\nVul a.u.b. je E-mail in."; }
if(WithoutContent(document.contact.bus_dayphone.value))
	{ errormessage += "\n\nVul a.u.b. je Telefoonnummer in."; }

var str=document.contact.level_2.valuevar pos=str.indexOf("reeds volgeboekt")if (pos>=0){errormessage += "\n\nOngeldige Datum of geen beschikbare plaatsen meer";}
if(errormessage.length > 2) {
	alert('Opmerking:' + errormessage);
	return false;
	}
return true;
} 

// end of function CheckRequiredFields_ContactNL()

//field checking PMA Contact NL

function CheckRequiredFields_ContactNL() {
var errormessage = new String();

if(WithoutContent(document.contactNL.naam.value))
	{ errormessage += "\n\nVul a.u.b. je Naam in."; }
if(WithoutContent(document.contactNL.email.value))
	{ errormessage += "\n\nVul a.u.b. je E-mail in."; }
if(WithoutContent(document.contactNL.dayphone.value))
	{ errormessage += "\n\nVul a.u.b. je Telefoonnummer in."; }
if(WithoutContent(document.contactNL.onderwerp.value))
	{ errormessage += "\n\nVul a.u.b. een Onderwerp in."; }
if(WithoutContent(document.contactNL.bericht.value))
	{ errormessage += "\n\nVul a.u.b. je Bericht in."; }


if(errormessage.length > 2) {
	alert('Opmerking:' + errormessage);
	return false;
	}
return true;
} 

// end of function CheckRequiredFields_ContactNL()

//field checking EN
function CheckRequiredFieldsEN() {
var errormessage = new String();

if(WithoutContent(document.contactEN.naam.value))
	{ errormessage += "\n\nPlease enter your Name."; }
if(WithoutContent(document.contactEN.email.value))
	{ errormessage += "\n\nPlease enter your E-mail."; }
if(WithoutContent(document.contactEN.dayphone.value))
	{ errormessage += "\n\nPlease enter your Phonenumber in."; }
if(WithoutContent(document.contactEN.onderwerp.value))
	{ errormessage += "\n\nPlease select your Subject."; }
if(WithoutContent(document.contactEN.bericht.value))
	{ errormessage += "\n\nPlease enter your Message."; }


if(errormessage.length > 2) {
	alert('Opmerking:' + errormessage);
	return false;
	}
return true;
} // end of function CheckRequiredFieldsEN()

function WithoutContent(ss) {
if(ss.length > 0) { return false; }
return true;
}

//end field checking
//field checking EN
function CheckRequiredFields_de20min() {
var errormessage = new String();

if(WithoutContent(document.de20min.name.value))
	{ errormessage += "\n\nVul a.u.b. je Naam in."; }
if(WithoutContent(document.de20min.email.value))
	{ errormessage += "\n\nVul a.u.b. je E-mail in."; }

if(errormessage.length > 2) {
	alert('Opmerking:' + errormessage);
	return false;
	}
return true;
} // end of function CheckRequiredFieldsEN()

function WithoutContent(ss) {
if(ss.length > 0) { return false; }
return true;
}

//end field checking-->
