  
var theImages = new Array()
//Random-loading images
theImages[0] = 'img/homepage/autumn-stones.jpg'
theImages[1] = 'img/homepage/autumn-tallstones.jpg'
theImages[2] = 'img/homepage/spring-trees.jpg'
theImages[3] = 'img/homepage/statue.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(){
if(whichImage==0){
document.write('<a href ="http://www.columbiacemetery.org/photos.html"><img src="'+theImages[0]+'" border=0 width=650></a>');
}
else if(whichImage==1){
document.write('<a href ="http://www.columbiacemetery.org/photos.html"><img src="'+theImages[1]+'" border=0 width=650></a>');
}
else if(whichImage==2){
document.write('<a href ="http://www.columbiacemetery.org/photos.html"><img src="'+theImages[2]+'" border=0 width=650></a>');
}
else if(whichImage==3){
document.write('<a href ="http://www.columbiacemetery.org/photos.html"><img src="'+theImages[3]+'" border=0 width=650></a>');
}
}
 