/* goSetHeight */
function goSetHeight(dit){	

	var maximaHeight = 0;
	
	$(dit).each(function(){
							   
		nuHeight = $(this).height();
		if(nuHeight > maximaHeight){
			
			maximaHeight = $(this).height();
		}
		
	});

	$(dit).each(function(){
		$(this).height(maximaHeight);
	});
	
};

// submit form
function submitMe(formId){
	$(formId).submit();
}

// taalkeuze
function showTaalkeuze(){
	$("#taalkeuze li").toggle();
	$("#taalkeuze li.in").show();
	
	$('body').one("click", function() {
		// Hide the menus
		$("#taalkeuze li").toggle();
		$("#taalkeuze li.in").show();
	});

}

// extra info
$(document).ready(function() {
	// put all your jQuery goodness in here.
	$(".extra .extra-k").addClass("close");
	$(".extra .extra-c").hide();
	
	
	$(".extra .extra-k").bind("click", function(){
    	// showAnswer(this);
		$(this).parent().find(".extra-c").slideToggle();
		$(this).toggleClass("close");
    });
	
	

});

function showAnswer(deze){
	iOpen = $(deze).attr("class");
	
	$("#faq .item .answer").hide();
	$("#faq .item h2").addClass("close");
	
	if(iOpen == "close"){
		$(deze).parent().find(".answer").show();
		$(deze).removeClass("close");
	}
}
