<!-- Fichier cartescripts.js -->
//script bannière aléatoire 1
function rand_number(n)
{
	var x;
	x=Math.round(Math.random()*100);
	x%=n;
	return x;
}
function banner1()
{
	var img = new Array();
	<!-- vous pouvez rajouter ou supprimez des images -->
	img[0]='<a href="photo1.php" class="img" target="_blank"><img src="folder01/photo1.jpg" class="img0" style="width: 150px; height: 100px" alt="" /></a>';
	img[1]='<a href="photo5.php" class="img" target="_blank"><img src="folder01/photo5.jpg" class="img0" style="width: 150px; height: 100px" alt="" /></a>';
	<!-- attention, le nombre entre parenthese doit etre egal aux derniers entre crochet +1 exemple : ici 2+1=3 -->
	var n=rand_number(2); 
	document.write(img[n]);
}

//script bannière aléatoire 2
function rand_number(n)
{
	var x;
	x=Math.round(Math.random()*100);
	x%=n;
	return x;
}
function banner2()
{
	var img = new Array();
	<!-- vous pouvez rajouter ou supprimez des images -->
	img[0]='<a href="photo2.php" class="img" target="_blank"><img src="folder01/photo2.jpg" class="img0" style="width: 150px; height: 100px" alt="" /></a>';
	img[1]='<a href="photo6.php" class="img" target="_blank"><img src="folder01/photo6.jpg" class="img0" style="width: 150px; height: 100px" alt="" /></a>';
	<!-- attention, le nombre entre parenthese doit etre egal aux derniers entre crochet +1 exemple : ici 2+1=3 -->
	var n=rand_number(2); 
	document.write(img[n]);
}

//script bannière aléatoire 3
function rand_number(n)
{
	var x;
	x=Math.round(Math.random()*100);
	x%=n;
	return x;
}
function banner3()
{
	var img = new Array();
	<!-- vous pouvez rajouter ou supprimez des images -->
	img[0]='<a href="photo3.php" class="img" target="_blank"><img src="folder01/photo3.jpg" class="img0" style="width: 150px; height: 100px" alt="" /></a>';
	img[1]='<a href="photo7.php" class="img" target="_blank"><img src="folder01/photo7.jpg" class="img0" style="width: 150px; height: 100px" alt="" /></a>';
	<!-- attention, le nombre entre parenthese doit etre egal aux derniers entre crochet +1 exemple : ici 2+1=3 -->
	var n=rand_number(2); 
	document.write(img[n]);
}

//script bannière aléatoire 4
function rand_number(n)
{
	var x;
	x=Math.round(Math.random()*100);
	x%=n;
	return x;
}
function banner4()
{
	var img = new Array();
	<!-- vous pouvez rajouter ou supprimez des images -->
	img[0]='<a href="photo4.php" class="img" target="_blank"><img src="folder01/photo4.jpg" class="img0" style="width: 150px; height: 100px" alt="" /></a>';
	img[1]='<a href="photo8.php" class="img" target="_blank"><img src="folder01/photo8.jpg" class="img0" style="width: 150px; height: 100px" alt="" /></a>';
	<!-- attention, le nombre entre parenthese doit etre egal aux derniers entre crochet +1 exemple : ici 2+1=3 -->
	var n=rand_number(2); 
	document.write(img[n]);
}