var theImages = new Array()

theImages[0] = 'header%20images/oxford1.jpg'
theImages[1] = 'header%20images/oxford2.jpg'
theImages[2] = 'header%20images/oxford3.jpg'
theImages[3] = 'header%20images/library1.jpg'
theImages[4] = 'header%20images/london1.jpg'
theImages[5] = 'header%20images/1941_derby_1.jpg'
theImages[6] = 'header%20images/1941_derby_2.jpg'
theImages[7] = 'header%20images/camp_zachary_taylor_1918.jpg'
theImages[8] = 'header%20images/central_park_1.jpg'
theImages[9] = 'header%20images/hobart.jpg'
theImages[10] = 'header%20images/louisville.jpg'
theImages[11] = 'header%20images/moore.jpg'
theImages[12] = 'header%20images/new_york_city_1.jpg'
theImages[13] = 'header%20images/new_york_city_2.jpg'
theImages[14] = 'header%20images/new_york_city_3.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="http://www.jeffreylancaster.com/'+theImages[whichImage]+'" width="880">');
}
showImage();