<!-- Begin Rotating Image script

// Set up the image files to be used.
var imgOne = new Array()   // campus buildings  -- haas, arts, library, chapel, victor
var imgTwo = new Array()   // people -- athletics & activities
var imgThree = new Array()  // campus buildings  -- all other buildings
var imgFour = new Array()  // people -- arts & cultural events

imgOne[0] = "/banner/1/academicrow.jpg"
imgOne[1] = "/banner/1/artsnight.jpg"
imgOne[2] = "/banner/1/baker.jpg"
imgOne[3] = "/banner/1/bakernight.jpg"
imgOne[4] = "/banner/1/biblia.jpg"
imgOne[5] = "/banner/1/chapel.jpg"
imgOne[6] = "/banner/1/chapelinside.jpg"
imgOne[7] = "/banner/1/chapelwindow.jpg"
imgOne[8] = "/banner/1/clock.jpg"
imgOne[9] = "/banner/1/green.jpg"
imgOne[10] = "/banner/1/haasdoors.jpg"
imgOne[11] = "/banner/1/haasnight.jpg"
imgOne[12] = "/banner/1/haasstepssnow.jpg"
imgOne[13] = "/banner/1/haastower.jpg"
imgOne[14] = "/banner/1/haasvictor.jpg"
imgOne[15] = "/banner/1/pavilion.jpg"
imgOne[16] = "/banner/1/pavilionnight.jpg"
imgOne[17] = "/banner/1/pavilionoutside.jpg"
imgOne[18] = "/banner/1/pavilionstudents.jpg"
imgOne[19] = "/banner/1/peteclose.jpg"
imgOne[20] = "/banner/1/peteflags.jpg"
imgOne[21] = "/banner/1/petereddoors.jpg"
imgOne[22] = "/banner/1/reddoors.jpg"
imgOne[23] = "/banner/1/seal.jpg"
imgOne[24] = "/banner/1/stainedglass.jpg"
imgOne[25] = "/banner/1/trexler.jpg"
imgOne[26] = "/banner/1/trexlerfront.jpg"
imgOne[27] = "/banner/1/victorsnow.jpg"

imgTwo[0] = "/banner/2/alphachi.jpg"
imgTwo[1] = "/banner/2/baseball.jpg"
imgTwo[2] = "/banner/2/bbq.jpg"
imgTwo[3] = "/banner/2/bike.jpg"
imgTwo[4] = "/banner/2/bugs.jpg"
imgTwo[5] = "/banner/2/bungee.jpg"
imgTwo[6] = "/banner/2/cheerleaders.jpg"
imgTwo[7] = "/banner/2/countingcrows.jpg"
imgTwo[8] = "/banner/2/dj.jpg"
imgTwo[9] = "/banner/2/fan.jpg"
imgTwo[10] = "/banner/2/festival.jpg"
imgTwo[11] = "/banner/2/fhockey.jpg"
imgTwo[12] = "/banner/2/football.jpg"
imgTwo[13] = "/banner/2/gradwalk.jpg"
imgTwo[14] = "/banner/2/greenhouse.jpg"
imgTwo[15] = "/banner/2/handshake.jpg"
imgTwo[16] = "/banner/2/hike.jpg"
imgTwo[17] = "/banner/2/insideunion.jpg"
imgTwo[18] = "/banner/2/javajoes.jpg"
imgTwo[19] = "/banner/2/jazzimprov.jpg"
imgTwo[20] = "/banner/2/lacrosse.jpg"
imgTwo[21] = "/banner/2/soccer.jpg"
imgTwo[22] = "/banner/2/studentbench.jpg"
imgTwo[23] = "/banner/2/studentplaza.jpg"
imgTwo[24] = "/banner/2/students.jpg"
imgTwo[25] = "/banner/2/studyoutside.jpg"
imgTwo[26] = "/banner/2/track.jpg"
imgTwo[27] = "/banner/2/tvstudio.jpg"

imgThree[0] = "/banner/3/bleachers.jpg"
imgThree[1] = "/banner/3/brown.jpg"
imgThree[2] = "/banner/3/brownsnow.jpg"
imgThree[3] = "/banner/3/east.jpg"
imgThree[4] = "/banner/3/eastentrance.jpg"
imgThree[5] = "/banner/3/ettinger211.jpg"
imgThree[6] = "/banner/3/ettingersnow.jpg"
imgThree[7] = "/banner/3/field.jpg"
imgThree[8] = "/banner/3/fieldhouse.jpg"
imgThree[9] = "/banner/3/honors.jpg"
imgThree[10] = "/banner/3/ml.jpg"
imgThree[11] = "/banner/3/moyer.jpg"
imgThree[12] = "/banner/3/moyer2.jpg"
imgThree[13] = "/banner/3/moyer3.jpg"
imgThree[14] = "/banner/3/outsideclass.jpg"
imgThree[15] = "/banner/3/robertson.jpg"
imgThree[16] = "/banner/3/south.jpg"
imgThree[17] = "/banner/3/southinside.jpg"
imgThree[18] = "/banner/3/southside.jpg"
imgThree[19] = "/banner/3/stadium.jpg"
imgThree[20] = "/banner/3/taylor.jpg"
imgThree[21] = "/banner/3/trumbower.jpg"
imgThree[22] = "/banner/3/trumbowerclose.jpg"
imgThree[23] = "/banner/3/trumbowerflag.jpg"
imgThree[24] = "/banner/3/trumbowersnow.jpg"
imgThree[25] = "/banner/3/union.jpg"
imgThree[26] = "/banner/3/walkmoyer.jpg"
imgThree[27] = "/banner/3/walsonsnow.jpg"

imgFour[0] = "/banner/4/anthropology.jpg"
imgFour[1] = "/banner/4/ballet.jpg"
imgFour[2] = "/banner/4/barr.jpg"
imgFour[3] = "/banner/4/biology.jpg"
imgFour[4] = "/banner/4/chemist.jpg"
imgFour[5] = "/banner/4/chemistry.jpg"
imgFour[6] = "/banner/4/choirmen.jpg"
imgFour[7] = "/banner/4/choirwomen.jpg"
imgFour[8] = "/banner/4/didoaeneas.jpg"
imgFour[9] = "/banner/4/didoaeneas2.jpg"
imgFour[10] = "/banner/4/dunham.jpg"
imgFour[11] = "/banner/4/environment.jpg"
imgFour[12] = "/banner/4/gardner.jpg"
imgFour[13] = "/banner/4/herrickborrick.jpg"
imgFour[14] = "/banner/4/kovatsbernat.jpg"
imgFour[15] = "/banner/4/littleshop1.jpg"
imgFour[16] = "/banner/4/littleshop2.jpg"
imgFour[17] = "/banner/4/lovechance1.jpg"
imgFour[18] = "/banner/4/lovechance2.jpg"
imgFour[19] = "/banner/4/mcguire.jpg"
imgFour[20] = "/banner/4/modern.jpg"
imgFour[21] = "/banner/4/music.jpg"
imgFour[22] = "/banner/4/newjersey.jpg"
imgFour[23] = "/banner/4/niesenbaum.jpg"
imgFour[24] = "/banner/4/peck.jpg"
imgFour[25] = "/banner/4/printing.jpg"
imgFour[26] = "/banner/4/rudski.jpg"
imgFour[27] = "/banner/4/women_artists.jpg"

var b = imgOne.length
var thisImg1 = Math.round(Math.random()*(b-1));
var thisImg2 = Math.round(Math.random()*(b-1));
var thisImg3 = Math.round(Math.random()*(b-1));
var thisImg4 = Math.round(Math.random()*(b-1));


function showImage(display) {
if (display == "any") {
	var r = 4-1;   // 4 = number of images;  subtract 1 due to next line
	display = (Math.round(Math.random()*r))+1;   // add 1 for non-zero number
}

if (display == "all") {
   document.write('<td width="25%" align="center" valign="middle"><img src="'+imgOne[thisImg1]+'" alt="" width="181" height="115" hspace="2" vspace="1"></td>');
   document.write('<td width="25%" align="center" valign="middle"><img src="'+imgTwo[thisImg2]+'" alt="" width="181" height="115" hspace="2" vspace="1"></td>');
   document.write('<td width="25%" align="center" valign="middle"><img src="'+imgThree[thisImg3]+'" alt="" width="181" height="115" hspace="2" vspace="1"></td>');
   document.write('<td width="25%" align="center" valign="middle"><img src="'+imgFour[thisImg4]+'" alt="" width="181" height="115" hspace="2" vspace="1"></td>');
   }
else if (display == "one" || display == "1") {
   document.write('<img src="'+imgOne[thisImg1]+'" width="181" height="115" hspace="2" vspace="1"><br>');
   }
else if (display == "two" || display == "2") {
   document.write('<img src="'+imgTwo[thisImg2]+'" width="181" height="115" hspace="2" vspace="1"><br>');
   }
else if (display == "three" || display == "3") {
   document.write('<img src="'+imgThree[thisImg3]+'" width="181" height="115" hspace="2" vspace="1"><br>');
   }
else if (display == "four" || display == "4") {
   document.write('<img src="'+imgFour[thisImg4]+'" width="181" height="115" hspace="2" vspace="1"><br>');
   }
   
}

//  -->
