// JavaScript Document

<!-- Begin
// 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/banner.jpg'
theImages[1] = '../images/abt_bnr.jpg'
theImages[2] = '../images/prd1.jpg'
theImages[3] = '../images/prd_2.jpg'
theImages[4] = '../images/prd_div_bnr.jpg'
theImages[5] = '../images/img_9.jpg'
theImages[6] = '../images/img_5.jpg'
theImages[7] = '../images/img_8.jpg'
theImages[8] = '../images/sand_grad_prop.jpg'
theImages[9] = '../images/img_12.jpg'
theImages[10] = '../images/img_10.jpg'
theImages[11] = '../images/img_11.jpg'
theImages[12] = '../images/img_13.jpg'

var theImages1 = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array.

theImages1[0] = 'images/banner.jpg'
theImages1[1] = 'images/abt_bnr.jpg'
theImages1[2] = 'images/prd1.jpg'
theImages1[3] = 'images/prd_2.jpg'
theImages1[4] = 'images/prd_div_bnr.jpg'
theImages1[5] = 'images/img_9.jpg'
theImages1[6] = 'images/img_5.jpg'
theImages1[7] = 'images/img_8.jpg'
theImages1[8] = 'images/sand_grad_prop.jpg'
theImages1[9] = 'images/img_12.jpg'
theImages1[10] = 'images/img_10.jpg'
theImages1[11] = 'images/img_11.jpg'
theImages1[12] = 'images/img_13.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]+'">');
}


var a = 0
var b = theImages1.length;
var preBuffer1 = new Array()
for (i = 0; i < b; i++){
   preBuffer1[i] = new Image()
   preBuffer1[i].src = theImages1[i]
}
var whichImage1 = Math.round(Math.random()*(b-1));
function showImage1(){
document.write('<img src="'+theImages1[whichImage1]+'">');
}
//  End -->
