/***********************************************
 copyright : (C) 2009 - DesignBox ShopSoft      
 Web: www.designbox.nl  Mail: info@designbox.nl 
 change date : 11 - 02- 2009                    
 **********************************************/

function checkTeamnaam(oForm){
	if(oForm.teamnaam.value=="") {
		alert("Vul a.u.b. uw Teamnaam in.");
		oForm.teamnaam.focus();
		return false;
	} return true;
}

function checkMail(oForm){
	if(oForm.email.value==""){
		alert("Vul a.u.b. uw emailadres in.");
		oForm.email.focus();
		return false;
	}
	if(oForm.email.value.indexOf('@')==-1 || oForm.email.value.indexOf('@')==0 || oForm.email.value.indexOf('@')==(oForm.email.value.length-1)){
		alert("Het emailadres is niet correct, probeer het nog eens.");
		oForm.email.focus();
		return false;
	}
	if(oForm.email.value.indexOf('.')==-1 || oForm.email.value.indexOf('.')==0 || oForm.email.value.indexOf('.')==(oForm.email.value.length-1)){
		alert("Het emailadres is niet correct, probeer het nog eens.");
		oForm.email.focus();
		return false;
	}
	return true;
}

function checkAchternaam(oForm){
	if(oForm.achternaam.value=="") {
		alert("Vul a.u.b. uw achternaam in.");
		oForm.achternaam.focus();
		return false;
	} return true;
}

function checkAdres(oForm){
	if(oForm.adres.value=="") {
		alert("Vul a.u.b. uw adres in.");
		oForm.adres.focus();
		return false;
	} return true;
}

function checkPostcode(oForm){
	if(oForm.postcode.value=="") {
		alert("Vul a.u.b. uw postcode in.");
		oForm.postcode.focus();
		return false;
	} return true;
}

function checkPlaats(oForm){
	if(oForm.plaats.value=="") {
		alert("Vul a.u.b. de woonplaats in.");
		oForm.plaats.focus();
		return false;
	} return true;
}

function checkMobiel(oForm){
	if(oForm.mobiel.value=="") {
		alert("Vul a.u.b. uw mobiele nummer in.");
		oForm.mobiel.focus();
		return false;
	} return true;
}

function checkPersonen(oForm){
	if(oForm.aantal_personen.value=="") {
		alert("Vul a.u.b. het aantal personen in.");
		oForm.aantal_personen.focus();
		return false;
	} return true;
}

function checkBoten(oForm){
	if(oForm.aantal_boten.value=="") {
		alert("Vul a.u.b. het aantal personen in.");
		oForm.aantal_boten.focus();
		return false;
	} return true;
}

function checkNorobot(oForm){
	if(oForm.norobot.value=="") {
		alert("Vul a.u.b. de anti spam code in.");
		oForm.norobot.focus();
		return false;
	} return true;
}

function Verstuur(oForm){
	if(!checkTeamnaam(oForm)) return false;
	if(!checkMail(oForm)) return false;
	if(!checkAchternaam(oForm)) return false;
	if(!checkAdres(oForm)) return false;
	if(!checkPostcode(oForm)) return false;
	if(!checkPlaats(oForm)) return false;
	if(!checkMobiel(oForm)) return false;
	if(!checkPersonen(oForm)) return false;
	if(!checkBoten(oForm)) return false;
	if(!checkNorobot(oForm)) return false;
	return true;
}
