function openFaq(faq, key) {
	// sluiten van alle geopende antwoorden
	$("div.answer").each(function(){
		$(this).hide(0, function(){
			$(this).prev().removeClass('hi');
			$(this).detach();
		});
	});
	
	// openen van gevraagde antwoorden
	$.ajax({
		type: "POST",
		url: "/Ajax/openFaq.php",
		cache: false,
		data: {faq: faq, key: key},
		success: function(msg) {
			$(".faq_"+key).after(msg);
			$("div.answer").prev().addClass('hi');
			$("div.answer").show(0);
		},
		error: function(msg) {
			alert(msg.responseText);
		}
	});

	return false;
}

