<!--

// start of array

// array setup to hold image names
var theImages = new Array()

// more images can be used by adding their name and location to the array
theImages[0] = 'jpg/homepage/world_championships_640x480.jpg'
//theImages[1] = 'jpg/homepage/oxalys_gainsborough_640x480.jpg'
//theImages[2] = 'jpg/homepage/zephyr_gainsborough_640x480.jpg'
//theImages[2] = 'jpg/homepage/tojeiro_moon_640x480.jpg'

// end of array

var p = theImages.length;
var preBuffer = new Array()

for (i = 0; i < p; i++)
	{
	preBuffer[i] = new Image()
	preBuffer[i].src = theImages[i]
	}

// variable setup to pick a random image
var whichImage = Math.round(Math.random()*(p-1));

	{
	document.write('<img src="' + theImages[whichImage] + '" width="640" height="480" alt="" />');
	}

//-->
