$(document).ready(function(){
	if ($("#leblocmo")) {
	if ($("#lebdp")) { // pr pied de page
		taillecran2=$(window).height();
		//alert($(window).height());
		offcon=$("#leblocmo").offset() ;
		//taillesite=38+$("#top").height()+$("#moncontenu").height()+20+$("#lebdp").height();
		taillesite=offcon.top+$("#leblocmo").height()+$("#footer").height()+30+$("#botbot").height();
		//alert(taillesite);
		difff=taillecran2-taillesite;
		//alert(difff);
		if (difff>0) {$("#lebdp").css('height',difff);}
		
	}
	}
	$("a[rel^='prettyPhoto']").prettyPhoto({theme:'light_square'});
	$.fn.ezpz_tooltip.positions.panpan = function(contentInfo, mouseX, mouseY, offset, targetInfo) {
	contentInfo['top'] = targetInfo.top+10;
	contentInfo['left'] = targetInfo.left-targetInfo.width-contentInfo.width;
	return contentInfo;
	};
$(".tooltip-targetong").ezpz_tooltip({
	contentPosition: 'aboveFollow'
});
$(".tooltip-targetpanier").ezpz_tooltip({
	contentPosition: 'panpan',offset:'0'
});
$(".tooltip-target").ezpz_tooltip({
	contentPosition: 'aboveStatic'
});
$(".tooltip-targetongbas").ezpz_tooltip({
	contentPosition: 'rightFollow'
});
$(".tooltip-targetslide").ezpz_tooltip({
	contentPosition: 'aboveFollow', offset:'0'
});
});
