// JavaScript Document

// -------- affichage aléatoire des bannières de pub -----------------
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="http://www.pro-equipement.com" target="_blank"><img src="images/pubs/ban1.gif" border=0 width=468 height=60 alt="pro-equipement.com"></a>';
	img[1]='<a href="http://www.depann2000.com" target="_blank"><img src="images/pubs/ban2.gif" border=0 width=468 height=60 alt="depann2000.com"></a>';
	img[2]='<a href="http://www.vehicules-de-collection.com" target="_blank"><img src="images/pubs/ban3.gif" border=0 width=468 height=60 alt="vehicules-de-collection.com"></a>';
	img[3]='<a href="http://www.depann2000.com" target="_blank"><img src="images/pubs/ban4.gif" border=0 width=468 height=60 alt="depann2000.com"></a>';
	<!-- attention, le nombre entre parenthese doit etre egal aux derniers entre crochet +1 exemple : ici 2+1=3 -->
	var n=rand_number(4); 
	document.write(img[n]);
}