function popupcentree(page,largeur,hauteur,options)
{
var top=(screen.height-hauteur)/2;
var left=(screen.width-largeur)/2;
var win=window.open(page,"popop","top="+top+",left="+left+",width="+largeur+",height="+hauteur+","+options);
win.focus;
}

function afficheVignette(chemin,chemin2)
	{
	document.write('<a href="'+chemin2+'" rel="shadowbox[]"><IMG SRC="'+chemin+'" HSPACE=0 VSPACE=0 BORDER=0 ALT="cliquez ici pour agrandir" class="cadre"></A>');
	//document.write('<a href="javascript:afficheMaxi(\''+chemin2+'\')"><IMG SRC="'+chemin+'" HSPACE=0 VSPACE=0 BORDER=0 ALT="cliquez ici pour agrandir" class="cadre"></A>');
	}
function afficheMaxi(chemin2)
	{
	i1 = new Image;
	i1.src = chemin2;
	html = '<HTML><HEAD><TITLE>Image</TITLE></HEAD><BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0 onBlur="self.close();"><CENTER><IMG SRC="'+chemin2+'" BORDER=0 NAME=imageTest onLoad="window.resizeTo(document.imageTest.width+34,document.imageTest.height+62)"></CENTER></BODY></HTML>';
	popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=0,resizable=1');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close();
	}
	
	

function change_couleur_fond(maligne)
 {
	document.getElementById(maligne).style.backgroundColor = '#FFCC00';
 }