
jQuery(document).ready(function(){

/*
jQuery("p").mouseover(function () { 	jQuery(this).css("background-color","#ffff00");});  
jQuery("p").mouseout(function () {	jQuery(this).css("background-color","transparent");});

jQuery(".cache").before('<p class="cache_btn">Affiche</p>');
jQuery(".cache").hide();
 
jQuery(".cache_btn").click(function () {
	jQuery(this).next().toggle("slow");
    });


	jQuery(".bulle").after("<div class='bulle_d'><div class='bulle_def'>"+jQuery(this).find("dfn").html()+"</div></div>");

	jQuery(".bulle").next().find("div").hide();
	jQuery(".bulle").find("dfn").hide();
	jQuery(".bulle").mouseover(function () {
		jQuery(this).next().find("div").show(400);
	});

	jQuery(".bulle").mouseout(function () {
		jQuery(this).next().find("div").stop(true,true);
		jQuery(this).next().find("div").hide(400);
	});	

jQuery("#nav").find('li').show();

jQuery("#nav").find('li').mouseover(function () { 
	jQuery(this).addClass( 'over'); 
	jQuery(".debug").html('over'); 
});

jQuery("#nav").find('li').mouseout(function ()  { 
	jQuery(this).removeClass( 'over');
	jQuery(".debug").html('out'); 
});


*/


jQuery(".faq").find('dd').hide();
jQuery(".faq").before('<a class="cache_btn">Tout replier</a>');

jQuery(".faq").find('dt').click(function () {
	jQuery(this).next().slideToggle(400);
});

jQuery(".cache_btn").click(function () {
	jQuery(this).next().find("dd").hide();
});




  });

