// ==============================================
// Copyright 2003 by jsCode.com
// Source: jsCode.com
// Author: etLux
// Free for all; but please leave in the header.
// ==============================================

// Set up the image files to be used.
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!


//===========================================
// START EDITABLE
//===========================================

/* FORMAT (copy and paste following line): 
theImages[X] = 'images/photos/FILENAME.jpg'
increase x accordingly
*/

theImages[0] = 'images/photos/sprint1.jpg'
theImages[1] = 'images/photos/sprint2.jpg'
theImages[2] = 'images/photos/sprint3.jpg'
theImages[3] = 'images/photos/woodgreen1.jpg'
theImages[4] = 'images/photos/sprint5.jpg'
theImages[5] = 'images/photos/sprint6.jpg'
theImages[6] = 'images/photos/sprint7.jpg'
theImages[7] = 'images/photos/sprint8.jpg'
theImages[8] = 'images/photos/sprint9.jpg'
theImages[9] = 'images/photos/dmf1.jpg'
theImages[10] = 'images/photos/dmf2.jpg'
theImages[11] = 'images/photos/downsview1.jpg'
theImages[12] = 'images/photos/midto1.jpg'
theImages[13] = 'images/photos/stchris1.jpg'
theImages[14] = 'images/photos/stchris2.jpg'
theImages[15] = 'images/photos/stchris3.jpg'
theImages[16] = 'images/photos/ess1.jpg'
theImages[17] = 'images/photos/ess2.jpg'
theImages[18] = 'images/photos/ess3.jpg'
theImages[19] = 'images/photos/ess4.jpg'
theImages[20] = 'images/photos/ess5.jpg'
theImages[21] = 'images/photos/woodgreen2.jpg'
theImages[22] = 'images/photos/woodgreen3.jpg'
theImages[23] = 'images/photos/woodgreen4.jpg'
theImages[24] = 'images/photos/woodgreen5.jpg'
theImages[25] = 'images/photos/stclair1.jpg'
theImages[26] = 'images/photos/stclair2.jpg'
theImages[27] = 'images/photos/stclair3.jpg'
theImages[28] = 'images/photos/stclair4.jpg'
theImages[29] = 'images/photos/stclair5.jpg'
theImages[30] = 'images/photos/humber1.jpg'
theImages[31] = 'images/photos/humber2.jpg'
theImages[32] = 'images/photos/midto2.jpg'
theImages[33] = 'images/photos/midto3.jpg'
theImages[34] = 'images/photos/midto4.jpg'
theImages[35] = 'images/photos/midto5.jpg'




//===========================================
// END EDITABLE
//===========================================


// ======================================
// do not change anything below this line
// ======================================

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]
}

function showImage(){
var whichImage = Math.round(Math.random()*(p-1));
document.write('<img src="'+theImages[whichImage]+'">');
}


//PUT IN BODY
//<script language="JavaScript">
//<!--
//showImage();
//-->
//</script>

