// 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/rotation/workforce/';

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

theImages[11] = imagepath + 'econ_man_sparks.jpg'
theAlts[11] = ''

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

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

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

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

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

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

theImages[7] = imagepath + 'union_hospital.jpg'
theAlts[7] = ''

theImages[8] = imagepath + 'bemis_1.jpg'
theAlts[8] = ''

theImages[9] = imagepath + 'asian.jpg'
theAlts[9] = ''

theImages[10] = imagepath + 'csn.jpg'
theAlts[10] = ''

theImages[11] = imagepath + 'smith_wf.jpg'
theAlts[11] = ''

theImages[12] = imagepath + 'regional_h.jpg'
theAlts[12] = ''

// 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="218" height="227" src="'+theImages[whichImage]+'" alt="' + theAlts[whichImage] + '">');
}
