
// 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] = new Array();
theImages[0][0] = "./images/swap/rotary_homepic_1.jpg";
theImages[0][1] = "./images/swap/rotary_homequote_1.gif";

theImages[1] = new Array();
theImages[1][0] = "./images/swap/rotary_homepic_2.jpg";
theImages[1][1] = "./images/swap/rotary_homequote_2.gif";

theImages[2] = new Array();
theImages[2][0] = "./images/swap/rotary_homepic_3.jpg";
theImages[2][1] = "./images/swap/rotary_homequote_3.gif";

theImages[3] = new Array();
theImages[3][0] = "./images/swap/rotary_homepic_4.jpg";
theImages[3][1] = "./images/swap/rotary_homequote_4.gif";


// 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 Array();
   preBuffer[i][0] = new Image()
   preBuffer[i][1] = new Image()
   preBuffer[i][0].src = theImages[i][0]
   preBuffer[i][1].src = theImages[i][1]
}

var whichImage = Math.round(Math.random()*(p-1));
function showImage(numToShow){
	document.write('<img src="'+theImages[whichImage][numToShow]+'">');
}

//  End -->

	

