function loginKandidaatValidateStep1(f)
{
	if (isEmpty(f.www_naam1)) return error(f.www_naam1,"Voornaam : Verplicht");
	else if (isEmpty(f.www_naam3)) return error(f.www_naam3,"Achternaam : Verplicht");
	else if (isEmpty(f.www_telefoon1)) return error(f.www_telefoon1,"Telefoon 1 : Verplicht");
	else if (!isNumeric(f.www_telefoon1,false))	return error(f.www_telefoon1,"Telefoon 1 : alleen cijfers");
	else if (!isNumeric(f.www_telefoon2,false))	return error(f.www_telefoon1,"Telefoon 2 : alleen cijfers");	
	else if (!isNumeric(f.www_fax1,false)) return error(f.www_fax1,"Fax : alleen cijfers");
	else if (isEmpty(f.www_email)) return error(f.www_email,"Email : Verplicht");
	else if (!isValidEmail(f.www_email)) return error(f.www_email,"Email ongeldig");
	else if (isEmpty(f.www_geboortedatum_a)) return error(f.www_geboortedatum_a,"Geboortedatum : Verplicht");
	else if (isEmpty(f.www_geboortedatum_b)) return error(f.www_geboortedatum_a,"Geboortedatum : Verplicht");
	else if (isEmpty(f.www_geboortedatum_c)) return error(f.www_geboortedatum_a,"Geboortedatum : Verplicht");
	else if (checkDay(f.www_geboortedatum_a)) 
	{
		if (checkMonth(f.www_geboortedatum_b))
		{
			if (checkYear(f.www_geboortedatum_c))
			{
				return true
			}
		}
	}
	return false;
}

function loginKandidaatValidateStep2(f)
{
	if (isEmpty(f.www_adres1))	return error(f.www_adres1,"Straatnaam : Verplicht")
	else if (isEmpty(f.www_adres2)) return error(f.www_adres2,"Nummer : Verplicht");
	else if (!isNumeric(f.www_adres2,false)) return error(f.www_adres2,"Nummer ongeldig");
	else if (isEmpty(f.www_postcode1)) return error(f.www_postcode1,"Postcode cijfers : Verplicht");
	else if (!checkPostcode1(f.www_postcode1)) return error(f.www_postcode1,"Postcode cijfers ongeldig");
	else if (isEmpty(f.www_postcode2)) return error(f.www_postcode2,"Postcode letters : Verplicht");
	else if (isEmpty(f.www_woonplaats)) return error(f.www_woonplaats,"Woonplaats : Verplicht");
	return true;
}

function loginKandidaatValidateStep3(f)
{
	if (f.www_wachtwoord.value.length < 6)
	{
		return error(f.www_wachtwoord,"Wachtwoord : Dient minimaal 6 karakters lang te zijn.");
	}
	if (passwordDifference(f.www_wachtwoord,f.www_wachtwoord_retype))
	{
		return error(f.www_wachtwoord,"Wachtwoord : Komt niet overeen.");
	}
	return true;
}

function loginKandidaatValidateStep4(f)
{
	return true;
}
