$(document).ready(function(){
		$("#contactform").validate({
		messages: {
		contactname: "Vul aub uw naam in / S'il vous pla&icirc;t entrer votre nom / Please enter your name",
		//subject:"Vul aub een onderwerp in",
		//jaaraankomst:"Vul aub een jaar van aankomst in",
		//dagaankomst:"Vul aub een dag van aankomst in",
		//aankomstdatummaand:"Vul aub een maand van aankomst in",
		email: {
		required: "Wij hebben uw e-mailadres nodig om contact op te nemen / We need your email address to contact you / Nous avons besoin de votre adresse e-mail pour vous contacter",
		email: "Uw e-mailadres moet een @ bevatten en deze vorm hebben: naam@domein.com / Your email address must contain an @ and needs to be in this format: name@domain.com / Votre adresse e-mail doit contenir un @ et doit &ecirc;tre dans ce format: nom@domaine.fr"
		},
		message: "Vul aub een bericht in"
		}
		})
		
		
				// Vrije uren

	//Hide (Collapse) the toggle containers on load

	$(".hide").hide(); 



	//Switch the "Open" and "Close" state per click

	$("p.extra").toggle(function(){

		$(this).addClass("active");

		}, function () {

		$(this).removeClass("active");

	});


//Slide up and down on click

	$("p.extra").click(function(){

		$(this).next(".hide").fadeToggle("1200");

		$(this).next().next(".hide").fadeToggle("2000");

	});
	
	
	
	var myString = 'kids';
$('.hide').hide();

$("input").blur(function () {
var value = $(this).val();
    if($(this).val().match(myString)) {
        $('.hide').hide();
    } else {
        $('.hide').show();
    }
});
	
	
				
});


