function bloc_deroulant(objet) {
	objet.next().slideToggle("normal");
	objet.toggleClass("selected");
	objet.parent().toggleClass("bloc_deroulant_selected");

	return false;
}

$(document).ready(function(){

	// Blocs déroulants
	$(".zone_deroulante:not(.ouvert)").hide();

	$("a.lien_deroulant").click(
		function(){
			return bloc_deroulant($(this));
		}
	);

	// Submit d'un form sur le keydown d'un champs pour IE
	if (navigator.appName == "Microsoft Internet Explorer") {
		$("input").keydown(function(e){
			if(e.keyCode == 13) {
				$(this).parents("form").submit();
				return false;
			}
		});
	}

});

