
var theImages = new Array()

theImages[0] = 'common/img/home/1.jpg'
theImages[1] = 'common/img/home/2.jpg'
theImages[2] = 'common/img/home/3.jpg'
theImages[3] = 'common/img/home/4.jpg'
theImages[4] = 'common/img/home/5.jpg'
theImages[5] = 'common/img/home/6.jpg'
theImages[6] = 'common/img/home/7.jpg'
theImages[7] = 'common/img/home/8.jpg'
theImages[8] = 'common/img/home/9.jpg'
theImages[9] = 'common/img/home/10.jpg'
theImages[10] = 'common/img/home/11.jpg'
theImages[11] = 'common/img/home/12.jpg'
theImages[12] = 'common/img/home/13.jpg'
theImages[13] = 'common/img/home/14.jpg'
theImages[14] = 'common/img/home/15.jpg'
theImages[15] = 'common/img/home/16.jpg'
theImages[16] = 'common/img/home/17.jpg'


var j = 0
var p = theImages.length;
var preBuffer = new Array()
for (i = 0; i < p; i++)
	{
	preBuffer[i] = new Image()
	preBuffer[i].src = theImages[i]
	}
var whichImage = Math.round(Math.random()*(p-1));
function showImage()
	{
	document.write('<img src="'+theImages[whichImage]+'" alt=\"Cliquez ici pour voir l\'image suivante !\" onclick=\"location.reload();\">');
	}
