var theImages = new Array()
// To add more image files, continue with the
// pattern below, adding to the array.

theImages[0] = 'http://peppermintstickcc.com/Spring10/images/random_sidebar/00.jpg'
theImages[1] = 'http://peppermintstickcc.com/Spring10/images/random_sidebar/01.jpg'
theImages[2] = 'http://peppermintstickcc.com/Spring10/images/random_sidebar/02.jpg'
theImages[3] = 'http://peppermintstickcc.com/Spring10/images/random_sidebar/03.jpg'
theImages[4] = 'http://peppermintstickcc.com/Spring10/images/random_sidebar/04.jpg'
theImages[5] = 'http://peppermintstickcc.com/Spring10/images/random_sidebar/05.jpg'
theImages[6] = 'http://peppermintstickcc.com/Spring10/images/random_sidebar/06.jpg'
theImages[7] = 'http://peppermintstickcc.com/Spring10/images/random_sidebar/07.jpg'
theImages[8] = 'http://peppermintstickcc.com/Spring10/images/random_sidebar/08.jpg'
theImages[9] = 'http://peppermintstickcc.com/Spring10/images/random_sidebar/09.jpg'
theImages[10] = 'http://peppermintstickcc.com/Spring10/images/random_sidebar/10.jpg'
theImages[11] = 'http://peppermintstickcc.com/Spring10/images/random_sidebar/11.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(){
document.write('<img src="'+theImages[whichImage]+'">');
}


