function checkForm(){
	checkNotEmpty=new Array("firstname","lastname","email","schoolname",'tel','schooladdr','schoolpc','schoolcity');

	for(i=0;i< checkNotEmpty.length;i++){
		if($F(checkNotEmpty[i])==""){
			alert("U heeft niet alle verplichte velden ingevoerd!");
			return false;
		}
	}
		
	if(!validEmail($F('email'))){
		alert("Uw email adres is niet juist ingevoerd!");
		return false;
	}
	return true;
}

initSignupForm= function(){
	if($('signupform')){
		$('signupform').onsubmit=checkForm;
	}
}

Event.observe(window, 'load', initSignupForm, false);