// 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] = imagepath + 'r_index_1.jpg'theAlts[0] = 'EnerStar'theImages[1] = imagepath + 'r_index_2.jpg'theAlts[1] = 'EnerStar'theImages[2] = imagepath + 'r_index_3.jpg'theAlts[2] = 'EnerStar'theImages[3] = imagepath + 'r_index_4.jpg'theAlts[3] = 'EnerStar'theImages[4] = imagepath + 'r_index_5.jpg'theAlts[4] = 'EnerStar'theImages[5] = imagepath + 'r_index_6.jpg'theAlts[5] = 'EnerStar'theImages[6] = imagepath + 'r_index_7.jpg'theAlts[6] = 'EnerStar'// 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="770" height="189" src="'+theImages[whichImage]+'" alt="' + theAlts[whichImage] + '">');}