// 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/';

theImages[0] = 'http://www.indstate.edu/tech/images/pic0.gif'
theAlts[0] = 'College of Technology Pictures'

theImages[1] = 'http://www.indstate.edu/tech/images/pic1.gif'
theAlts[1] = 'College of Technology Pictures'

theImages[2] = 'http://www.indstate.edu/tech/images/pic2.gif'
theAlts[2] = 'College of Technology Pictures'

theImages[3] = 'http://www.indstate.edu/tech/images/pic3.gif'
theAlts[3] = 'College of Technology Pictures'

theImages[4] = 'http://www.indstate.edu/tech/images/pic4.gif'
theAlts[4] = 'College of Technology Pictures'

theImages[5] = 'http://www.indstate.edu/tech/images/pic5.gif'
theAlts[5] = 'College of Technology Pictures'

theImages[6] = 'http://www.indstate.edu/tech/images/pic6.gif'
theAlts[6] = 'College of Technology Pictures'

theImages[7] = 'http://www.indstate.edu/tech/images/pic7.gif'
theAlts[7] = 'College of Technology Pictures'

theImages[8] = 'http://www.indstate.edu/tech/images/pic8.gif'
theAlts[8] = 'College of Technology Pictures'

theImages[9] = 'http://www.indstate.edu/tech/images/pic9.gif'
theAlts[9] = 'College of Technology Pictures'

theImages[10] = 'http://www.indstate.edu/tech/images/pic10.gif'
theAlts[10] = 'College of Technology Pictures'

theImages[11] = 'http://www.indstate.edu/tech/images/pic11.gif'
theAlts[11] = 'College of Technology Pictures'

theImages[12] = 'http://www.indstate.edu/tech/images/pic12.gif'
theAlts[12] = 'College of Technology Pictures'

theImages[13] = 'http://www.indstate.edu/tech/images/pic13.gif'
theAlts[13] = 'College of Technology Pictures'

theImages[14] = 'http://www.indstate.edu/tech/images/pic14.gif'
theAlts[14] = 'College of Technology Pictures'

theImages[15] = 'http://www.indstate.edu/tech/images/pic15.gif'
theAlts[15] = 'College of Technology Pictures'

theImages[16] = 'http://www.indstate.edu/tech/images/pic16.gif'
theAlts[16] = 'College of Technology Pictures'

theImages[17] = 'http://www.indstate.edu/tech/images/pic17.gif'
theAlts[17] = 'College of Technology Pictures'

theImages[18] = 'http://www.indstate.edu/tech/images/pic18.gif'
theAlts[18] = 'College of Technology Pictures'

theImages[19] = 'http://www.indstate.edu/tech/images/pic19.gif'
theAlts[19] = 'College of Technology Pictures'

theImages[20] = 'http://www.indstate.edu/tech/images/pic20.gif'
theAlts[20] = 'College of Technology Pictures'

theImages[21] = 'http://www.indstate.edu/tech/images/pic21.gif'
theAlts[21] = 'College of Technology Pictures'

theImages[22] = 'http://www.indstate.edu/tech/images/pic22.gif'
theAlts[22] = 'College of Technology Pictures'

theImages[23] = 'http://www.indstate.edu/tech/images/pic23.gif'
theAlts[23] = 'College of Technology Pictures'

theImages[24] = 'http://www.indstate.edu/tech/images/pic24.gif'
theAlts[24] = 'College of Technology Pictures'

theImages[25] = 'http://www.indstate.edu/tech/images/pic25.gif'
theAlts[25] = 'College of Technology Pictures'

theImages[26] = 'http://www.indstate.edu/tech/images/pic26.gif'
theAlts[26] = 'College of Technology Pictures'

// 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 src="'+theImages[whichImage]+'" alt="' + theAlts[whichImage] + '">');
}