$(document).ready(function() {
	
	//Masque les élement a ne pas voir.
	$("#text").hide();
	$("#hide").hide();
	
	$("a").click(function() {		
		//Si clique sur #show
		if ((this).id == "show") {
		   	$("#text").slideDown();
		 	$("#hide").fadeIn();
			$(this).hide();
		};
		
		//Si clique sur #hide
		if ((this).id == "hide") {
			$("#text").slideUp();
		 	$("#show").fadeIn();
			$(this).hide();
		};		
	});
	
});
