// the following line sets the image array for use, do not change it
var theImages = new Array()

// set the path to your images
theImages[0] = 'slideshow/edamame.jpg'
theImages[1] = 'slideshow/kozara.jpg'
theImages[2] = 'slideshow/nikudango.jpg'
theImages[3] = 'slideshow/salad.jpg'
theImages[4] = 'slideshow/sushi.jpg'
theImages[5] = 'slideshow/tofu.jpg'
theImages[6] = 'slideshow/tonkatsu.jpg'
theImages[7] = 'slideshow/banzai_restaurant.jpg'


// to add more images continue with the pattern above

// do not edit the following 
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]+'">');
}
