var theImages = new Array()

theImages[0] = 'images/agents/blondwoman.jpg'
theImages[1] = 'images/agents/chinonhand.jpg'
theImages[2] = 'images/agents/manwomansuits.jpg'
theImages[3] = 'images/agents/manwomenexecutive.jpg'
theImages[4] = 'images/agents/maninforeground.jpg'
theImages[5] = 'images/agents/twomen.jpg'
theImages[6] = 'images/agents/womaningreen.jpg'
theImages[7] = 'images/agents/womanonphone.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));
 
var text = "Since our inception, Union Standard has been committed to the independent insurance agent. Our objective is to provide our customers with the coverage they need at the best possible price. Independent agents are in the best position to provide that service to our customers.";


function showImage(){
    document.write('<img border=0 hspace=0 alt="'+text+'" align=right src="'+theImages[whichImage]+'">');
}

