
// set up images
var theImages = new Array() // don't change this
theImages[0] = 'images/donations/donation01.jpg'
theImages[1] = 'images/donations/donation02.jpg'
theImages[2] = 'images/donations/donation03.jpg'
// don't change anything below!
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 donationImage(){
document.write('<img src="'+theImages[whichImage]+'">');
}
