
// 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. Rememeber
// to increment the theImages[x] index!

theImages[0] = 'images/random/people1/pic1.jpg'
theImages[1] = 'images/random/people1/pic13.jpg'
theImages[2] = 'images/random/people1/pic14.jpg'
theImages[3] = 'images/random/people1/pic17.jpg'
theImages[4] = 'images/random/people1/pic18.jpg'
theImages[5] = 'images/random/people1/pic21.jpg'
theImages[6] = 'images/random/people1/pic3.jpg'


// ======================================
// do not change 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]+'">');
}

// Set up the image files to be used.
var theImages2 = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array. Rememeber
// to increment the theImages[x] index!

theImages2[0] = 'images/random/things/pic6.jpg'
theImages2[1] = 'images/random/things/pic7.jpg'
theImages2[2] = 'images/random/things/pic8.jpg'
theImages2[3] = 'images/random/things/pic9.jpg'
theImages2[4] = 'images/random/things/pic10.jpg'
theImages2[5] = 'images/random/things/pic11.jpg'
theImages2[6] = 'images/random/things/pic12.jpg'
theImages2[7] = 'images/random/things/pic19.jpg'
theImages2[8] = 'images/random/things/pic20.jpg'



// ======================================
// do not change anything below this line
// ======================================

var j2 = 0
var p2 = theImages2.length;

var preBuffer2 = new Array()
for (i = 0; i < p2; i++){
   preBuffer2[i] = new Image()
   preBuffer2[i].src = theImages2[i]
}

var whichImage2 = Math.round(Math.random()*(p2-1));
function showImage2(){
document.write('<img src="'+theImages2[whichImage2]+'">');
}


// Set up the image files to be used.
var theImages3 = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array. Rememeber
// to increment the theImages[x] index!

theImages3[0] = 'images/random/people2/pic2.jpg'
theImages3[1] = 'images/random/people2/pic4.jpg'
theImages3[2] = 'images/random/people2/pic5.jpg'
theImages3[3] = 'images/random/people2/pic15.jpg'
theImages3[4] = 'images/random/people2/pic16.jpg'
theImages3[5] = 'images/random/people2/pic22.jpg'



// ======================================
// do not change anything below this line
// ======================================

var j3 = 0
var p3 = theImages3.length;

var preBuffer3 = new Array()
for (i = 0; i < p3; i++){
   preBuffer3[i] = new Image()
   preBuffer3[i].src = theImages3[i]
}

var whichImage3 = Math.round(Math.random()*(p3-1));
function showImage3(){
document.write('<img src="'+theImages3[whichImage3]+'">');
}

