// Clears the standard text in input boxes and texfields

function alternate(elm){
	if (!elm.base) elm.base = elm.value
	if (elm.value == elm.base) elm.value = "";
	else if (elm.value == "") elm.value = elm.base;
}


// Checks the forms for correct input

function checkformcontact ( form )
{
	
         if (form.naam.value == "") {
        alert( "Het invullen van je naam is verplicht..." );
        form.naam.focus();
        return false ;
    }
	
         if (form.email.value == "") {
        alert( "Het invullen van je e-mailadres is verplicht..." );
        form.email.focus();
        return false ;
    }

		
 
	return true ;
}



function checkformaanmelden ( form )
{
	
         if (form.naam.value == "") {
        alert( "Het invullen van je naam is verplicht..." );
        form.naam.focus();
        return false ;
    }
	
         if (form.email.value == "") {
        alert( "Het invullen van je e-mailadres is verplicht..." );
        form.email.focus();
        return false ;
    }

		
 
	return true ;
}