// JavaScript Document

function displayImage (numberOfPicture)
{
	images = new Array(numberOfPicture);
	
	for (var x = 1; x <= numberOfPicture; x++)
	{
		images[x-1] = "<img src='/images/banner/" + x + ".jpg'>";
	}

	index = Math.floor(Math.random() * images.length);
	
	document.write(images[index]);
}
