function openPhoto(url,  longueur, hauteur){
	hauteur2 = hauteur*1 + 20;
	
	var id = Math.round( Math.random() * 100 );
			var gauche = ( screen.width - longueur ) / 2;
	  		var haut = ( screen.height - hauteur2 ) / 2;

	window.open("openPhoto.php?url="+url, "Visu", "toolbar=no, location=no, directories=no, status=no, scrollbars=no, resizable=no, copyhistory=no, width="+longueur+", height="+hauteur2+", left="+gauche+", top="+haut+"");

}

