var theImages = new Array()
theImages[0] = '<img src="images/random_irving.jpg" alt="" class="border">'
theImages[1] = '<img src="images/random_wynn.jpg" alt="" class="border">'
theImages[2] = '<img src="images/random_bolet.jpg" alt="" class="border">'
theImages[3] = '<img src="images/random_cole.jpg" alt="" class="border">'
theImages[4] = '<img src="images/random_gleasonpryor.jpg" alt="" class="border">'

var theName = new Array()
theName[0] = 'irving'
theName[1] = 'wynn'
theName[2] = 'bolet'
theName[3] = 'cole'
theName[4] = 'gleasonpryor'

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(theImages[whichImage]);
}