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] = 'library/statue.jpg'
theImages[1] = 'library/giving.jpg'
theImages[2] = 'library/kids4.jpg'
theImages[3] = 'library/kids3.jpg'
theImages[4] = 'library/goodImg2.jpg'
theImages[5] = 'library/FATHER.jpg'
theImages[6] = 'library/csltw.jpg'
theImages[7] = 'library/photo8.jpg'

// ======================================
// 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]
}

var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
   document.write('<img src="'+theImages[whichImage]+'"width="200" height="276">');
                //#<img src="library/statue.png" width="200" height="276">
}

function day(){
var day = 0;
if (day == 1){
  document.write('<img src="img/snowday.gif" width="200" height="119">')
}else{
  document.write('<img src="img/spacer.gif" width="2" height="1">')
}

}

//-->