function rand_number(n)
{
	var x;
	x=Math.round(Math.random()*100);
	x%=n;
	return x;
}
function banner()
{
	var img = new Array();
	<!-- vous pouvez rajouter ou supprimez des images -->
	img[0]='<a href="index.htm"><img src="picto/header/header1.jpg" border=0 width=850 height=190 alt="retour accueil Baie Attitude"></a>';
	img[1]='<a href="index.htm"><img src="picto/header/header2.jpg" border=0 width=850 height=190 alt="retour accueil Baie Attitude"></a>';
	img[2]='<a href="index.htm"><img src="picto/header/header3.jpg" border=0 width=850 height=190 alt="retour accueil Baie Attitude"></a>';
	img[3]='<a href="index.htm"><img src="picto/header/header4.jpg" border=0 width=850 height=190 alt="retour accueil Baie Attitude"></a>';	
	img[4]='<a href="index.htm"><img src="picto/header/header5.jpg" border=0 width=850 height=190 alt="retour accueil Baie Attitude"></a>';
	img[5]='<a href="index.htm"><img src="picto/header/header6.jpg" border=0 width=850 height=190 alt="retour accueil Baie Attitude"></a>';
	img[6]='<a href="index.htm"><img src="picto/header/header7.jpg" border=0 width=850 height=190 alt="retour accueil Baie Attitude"></a>';
	img[7]='<a href="index.htm"><img src="picto/header/header8.jpg" border=0 width=850 height=190 alt="retour accueil Baie Attitude"></a>';
	img[8]='<a href="index.htm"><img src="picto/header/header9.jpg" border=0 width=850 height=190 alt="retour accueil Baie Attitude"></a>';
	img[9]='<a href="index.htm"><img src="picto/header/header10.jpg" border=0 width=850 height=190 alt="retour accueil Baie Attitude"></a>';
	<!-- attention, le nombre entre parenthese doit etre egal aux derniers entre crochet +1 exemple : ici 2+1=3 -->
	var n=rand_number(10); 
	document.write(img[n]);
}