var theImages = new Array()

theImages[0] = 'images/Banner1.jpg'
theImages[1] = 'images/Banner2.jpg'
theImages[2] = 'images/Banner3.jpg'
theImages[3] = 'images/Banner4.jpg'
theImages[4] = 'images/Banner5.jpg'
theImages[5] = 'images/Banner6.jpg'
theImages[6] = 'images/Banner7.jpg'
theImages[7] = 'images/Banner8.jpg'
theImages[8] = 'images/Banner9.jpg'
theImages[9] = 'images/Banner10.jpg'
theImages[10] = 'images/Banner11.jpg'
theImages[11] = 'images/Banner12.jpg'
theImages[12] = 'images/Banner13.jpg'
theImages[13] = 'images/Banner14.jpg'
theImages[14] = 'images/Banner15.jpg'
theImages[15] = 'images/Banner16.jpg'
theImages[16] = 'images/Banner17.jpg'
theImages[17] = 'images/Banner18.jpg'
theImages[18] = 'images/Banner19.jpg'
theImages[19] = 'images/Banner20.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]+'" alt="eBolly.com">');
}