var theImages = new Array()
theImages[0] = '/builderwire20/home/images/bellevue1.jpg'
theImages[1] = '/builderwire20/home/images/cabinets2b.jpg'
theImages[2] = '/builderwire20/home/images/cabinets2d.jpg'
theImages[3] = '/builderwire20/home/images/doors1.jpg'
theImages[4] = '/builderwire20/home/images/experience1.jpg'
theImages[5] = '/builderwire20/home/images/framing1.jpg'
theImages[6] = '/builderwire20/home/images/rooftop1.jpg'
theImages[7] = '/builderwire20/home/images/webstore1.jpg'
theImages[8] = '/builderwire20/home/images/cabinets2a.jpg'
theImages[9] = '/builderwire20/home/images/cabinets2c.jpg'
theImages[10] = '/builderwire20/home/images/cabinets2e.jpg'
theImages[11] = '/builderwire20/home/images/estimating1.jpg'
theImages[12] = '/builderwire20/home/images/forklift1.jpg'
theImages[13] = '/builderwire20/home/images/FSCwood1.jpg'
theImages[14] = '/builderwire20/home/images/timbers1.jpg'
theImages[15] = '/builderwire20/home/images/windows1.jpg'
theImages[16] = '/builderwire20/home/images/framing2.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]+'">');
}
