$(document).ready(function(){
/**centre verticalement**/
	$('.bloc-content p a').hover(function(){
		$(this).find("span").addClass('spanOnHover');
		
		var heigthParent = $(this).find("span").height();
		var heightText = $(this).find("strong.centered").height();

		var top = (heigthParent - heightText) / 2;
		$(this).find("strong.centered").css('top', top);

	}, function(){$(this).find("span").removeClass('spanOnHover')}); 
/**popin**/
	$("a[rel='test']").colorbox();
});
