// JavaScript Document
// Set up the image files to be used.
var theImages = new Array(); // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'img/home_image_01.jpg';
theImages[1] = 'img/home_image_02.jpg';
theImages[2] = 'img/home_image_03.jpg';
theImages[3] = 'img/home_image_04.jpg';

// do not edit anything below this line

var p = theImages.length;
var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
	
	var imgRot = document.getElementById('mainImage');
	
	imgRot.src = theImages[whichImage];
}

