$(function(){
		   
		// Les infobulles.
		$("#menu a, #copyright a").mouseover(function() {
                    
		if($(this).attr('title') == "") return false;
		
		$("body").append('<span class="infobulle"></span>');
		var bulle = $(".infobulle:last");
		bulle.append($(this).attr('title'));
		
		$(this).attr("title","");
                
		var posTop = $(this).offset().top-$(this).height(); // On r�cup�re la position du lien.
		var posLeft = $(this).offset().left+$(this).width()/2-bulle.width()/2; // On r�cup�re la position du lien.
		
		bulle.css({
			left:posLeft+5,
			top:posTop-85,
			opacity:0
		});
		
		bulle.animate({
			opacity:0.99
		},700);
		
	$("a").mouseout(function() {
							 
		var bulle = $(".infobulle:last");
		
		$(this).attr("title",bulle.text());
		
		bulle.animate({
			opacity:0
		},
		function()
                {
                    bulle.remove();
                });
		
	})
	
	});
	
});

function changerContenu(texte)
{
$("#content").fadeOut(500,function(){
	$("#content").empty();
	$("#content").append(texte);
	$("#content").fadeIn(700);
});
}
