// Set up the image files to be used.
var theImages = new Array() // do not change this
var theAlts = new Array() //do not change this
// To add more image files, continue with the
// pattern below, adding to the arrays.
// theAlts is an array that holds the ALT text
// accompanying the images
// NOTE: when putting in text for theAlts, double
// quotes and single quotes/apostrophes are special characters
// and must be treated differently.  In place of a double quote
// character you must put &quot;  In place of a single quote/apostrophe
// you must put \'  Without these substitutions, the javascript may not
// function properly.

var imagepath = 'images/side_personal/';

theImages[0] = imagepath + 'rot_car.jpg'
theAlts[0] = ''

theImages[1] = imagepath + 'rot_college.jpg'
theAlts[1] = ''

theImages[2] = imagepath + 'rot_family.jpg'
theAlts[2] = ''

theImages[3] = imagepath + 'rot_family2.jpg'
theAlts[3] = ''

theImages[4] = imagepath + 'rot_family3.jpg'
theAlts[4] = ''

theImages[5] = imagepath + 'rot_house.jpg'
theAlts[5] = ''

theImages[6] = imagepath + 'rot_mother.jpg'
theAlts[6] = ''


// do not edit anything below this line

var j = 0
var p = theImages.length;
var preBuffer = new Array()

var whichImage = Math.round(Math.random()*(p-1));

preBuffer = new Image();
preBuffer.src = theImages[whichImage];

function showImage(){
document.write('<img width="163" height="98" src="'+theImages[whichImage]+'" alt="' + theAlts[whichImage] + '">');
}
