// JavaScript Document
var theImages = new Array()

// REPLACE THIS
theImages[0] = '/images/styles/269/2/header1.jpg';
theImages[1] = '/images/styles/269/2/header4.jpg';
theImages[2] = '/images/styles/269/2/header5.jpg';
theImages[3] = '/images/styles/269/2/header7.jpg';
theWidth     = 967;
theHeight    = 252;
// DONE REPLACE THIS

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]+'" border="0" width="'+theWidth+'" height="'+theHeight+'">');
}


