//<!-- Begin

var theImages = new Array()

// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'images/rotate/1.jpg'
theImages[1] = 'images/rotate/2.jpg'
theImages[2] = 'images/rotate/3.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]+'">');
}

//  End -->

//<!-- Begin

var theImages2 = new Array()

// To add more image files, continue with the
// pattern below, adding to the array.

theImages2[0] = 'images/rotate2/1.jpg'
theImages2[1] = 'images/rotate2/2.jpg'
theImages2[2] = 'images/rotate2/3.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]+'">');
}

//  End -->

//<!-- Begin

var theImages3 = new Array()

// To add more image files, continue with the
// pattern below, adding to the array.

theImages3[0] = 'images/rotate3/1.jpg'
theImages3[1] = 'images/rotate3/2.jpg'
theImages3[2] = 'images/rotate3/3.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]+'">');
}

//  End -->


