 // fonction tooltip homepage menu header
 
 this.tooltip = function(){
 /* CONFIG */
 xOffset = 10;
 yOffset = -130;
 // these 2 variable determine popup's distance from the cursor
 // you might want to adjust to get the right result
 /* END CONFIG */
 $("a.tooltip").hover(function(e){
 this.t = this.title;
 this.title = "";
 $("body").append("<p id='tooltip'>"+ this.t +"</p>");
 $("#tooltip")
 .css("top",(e.pageY - xOffset) + "px")
 .css("left",(e.pageX + yOffset) + "px")
 .fadeIn("fast");
 },
 function(){
this.title = this.t;
 $("#tooltip").remove();
 });
 $("a.tooltip").mousemove(function(e){
 $("#tooltip")
.css("top",(e.pageY - xOffset) + "px")
 .css("left",(e.pageX + yOffset) + "px");
 });
}; 
 
 
 $(document).ready(function(){ 
 
			
	//gestion tooltip
		 tooltip(); 
		 
var content = $('#content-right');
var sidebar = $('#content-left');
 content_height = parseInt(content.height());
 content_height += parseInt(content.css('padding-top'));
 content_height += parseInt(content.css('padding-bottom'));
 sidebar_height = content_height;
 sidebar.css('min-height', sidebar_height);

var content_blog = $('#sidebar_newssport');
var sidebar_blog = $('#contentleft');
 content_height_blog = parseInt(content_blog.height());
 content_height_blog += parseInt(content_blog.css('padding-top'));
 content_height_blog += parseInt(content_blog.css('padding-bottom'));
 sidebar_height_blog = content_height_blog;
 sidebar_blog.css('min-height', sidebar_height_blog);

 });
