jQuery(document).ready(function(){

		var textIB="texte de l'info bulle";
		var pos=0;
		var posY=0;
		//$('#infobulle').hide();
		// INFO BULLE
		function afficherInfoBulle(){
			
			$('#infobulle').stop().show();
			$('#infobulle #infobulletext').html(textIB);
			$('#infobulle').css('top',pos.top+23);
			$('#infobulle').css('left',pos.left+12);
			
			
		}
		function cacherInfoBulle(){
			$('#infobulle').css('opacity',1);
			$('#infobulle').stop().hide();
		}
		
		$('.bc').live('mouseenter mouseleave', function(event) {
			  if (event.type == 'mouseover') {
				
			    	textIB=$(this).children('.txtinfobulle').html();

					pos=$(this).position();
					if(textIB!=""){
						afficherInfoBulle();
					}

					
			  } else {
					cacherInfoBulle();
			  }
		});
	
})

