// JavaScript Document

<!--
var theImages = new Array() // do not change this
// To add more image files, continue with the
// pattern below, adding to the array. Rememeber
// to increment the theImages[x] index!

theImages[0] = 'http://www.southfayette.org/high_school/gfx/random/student_computer.jpg'
theImages[1] = 'http://www.southfayette.org/high_school/gfx/random/students_hands.jpg'
theImages[2] = 'http://www.southfayette.org/high_school/gfx/random/students_basketball.jpg'
theImages[3] = 'http://www.southfayette.org/high_school/gfx/random/students_pep.jpg'
theImages[4] = 'http://www.southfayette.org/high_school/gfx/random/students_band.jpg'
theImages[5] = 'http://www.southfayette.org/high_school/gfx/random/students_brass.jpg'
theImages[6] = 'http://www.southfayette.org/high_school/gfx/random/students_jumpshot.jpg'
theImages[7] = 'http://www.southfayette.org/high_school/gfx/random/students_preschool.jpg'
theImages[8] = 'http://www.southfayette.org/high_school/gfx/random/students_study.jpg'

var j = 0
var p = theImages.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}

var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'" border="0">');
}

//-->

