// 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] = '/images/11.jpg'
theImages[1] = '/images/12.jpg'
theImages[2] = '/images/13.jpg'
theImages[3] = '/images/14.jpg'
theImages[4] = '/images/15.jpg'
theImages[5] = '/images/16.jpg'

// do not edit anything below this line

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]+'">');
}


//second image swap

var theImages2 = new Array()

theImages2[0] = '/images/21.jpg'
theImages2[1] = '/images/22.jpg'
theImages2[2] = '/images/23.jpg'
theImages2[3] = '/images/24.jpg'
theImages2[4] = '/images/25.jpg'
theImages2[5] = '/images/26.jpg'


// do not edit anything below this line

var j = 0
var p = theImages2.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages2[i]
}
var whichImage2 = Math.round(Math.random()*(p-1));
function showImage2(){
document.write('<img src="'+theImages2[whichImage2]+'">');
}

//third image swap

var theImages3 = new Array()

theImages3[0] = '/images/31.jpg'
theImages3[1] = '/images/32.jpg'
theImages3[2] = '/images/33.jpg'
theImages3[3] = '/images/34.jpg'
theImages3[4] = '/images/35.jpg'



// do not edit anything below this line

var j = 0
var p = theImages3.length;
var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages3[i]
}
var whichImage3 = Math.round(Math.random()*(p-1));
function showImage3(){
document.write('<img src="'+theImages3[whichImage3]+'">');
}


