// JavaScript Document

<!-- Begin
	var theImages = new Array(15) 

		theImages[0] = '/images/mainimage/1.jpg'
		theImages[1] = '/images/mainimage/2.jpg'
		theImages[2] = '/images/mainimage/3.jpg'
		theImages[3] = '/images/mainimage/4.jpg'
		theImages[4] = '/images/mainimage/5.jpg'
		theImages[5] = '/images/mainimage/6.jpg'
		theImages[6] = '/images/mainimage/7.jpg'
		theImages[7] = '/images/mainimage/8.jpg'
		theImages[8] = '/images/mainimage/9.jpg'
		theImages[9] = '/images/mainimage/10.jpg'
		theImages[10] = '/images/mainimage/11.jpg'
		theImages[11] = '/images/mainimage/12.jpg'
		theImages[12] = '/images/mainimage/13.jpg'
		theImages[13] = '/images/mainimage/14.jpg'
		theImages[14] = '/images/mainimage/15.jpg'
		theImages[15] = '/images/mainimage/16.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 p = theImages.length;
	var whichImage = Math.round(Math.random()*(p-1));
	function showImage(){
		document.write('<img src="'+theImages[whichImage]+'">');
}

//  End -->
