// Java Document

function rand_number(n)
{
	var x;
	x=Math.round(Math.random()*100);
	x%=n;
	return x;
}
function images()
{
	var img = new Array();
	<!-- vous pouvez rajouter ou supprimez des images -->
	img[0]='<img class="boite" src="images/1.jpg" border=0 width=150 height=200 alt="Images1">';
	img[1]='<img class="boite" src="images/2.jpg" border=0 width=150 height=200 alt="Images2">';
	img[2]='<img class="boite" src="images/3.jpg" border=0 width=150 height=200 alt="Images3">';
	<!-- attention, le nombre entre parenthese doit etre egal aux derniers entre crochet +1 exemple : ici 2+1=3 -->
	var n=rand_number(3); 
	document.write(img[n]);
}

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

