var theImages = new Array()

theImages[0] = 'clients/0.png'
theImages[1] = 'clients/1.png'
theImages[2] = 'clients/2.png'
theImages[3] = 'clients/3.png'
theImages[4] = 'clients/4.png'
theImages[5] = 'clients/5.png'
theImages[6] = 'clients/6.png'
theImages[7] = 'clients/7.png'
theImages[8] = 'clients/8.png'
theImages[9] = 'clients/9.png'
theImages[10] = 'clients/10.png'
theImages[11] = 'clients/11.png'
theImages[12] = 'clients/12.png'
theImages[13] = 'clients/13.png'
theImages[14] = 'clients/14.png'
theImages[15] = 'clients/15.png'
theImages[17] = 'clients/17.png'
theImages[18] = 'clients/18.png'
theImages[19] = 'clients/29.png'
theImages[20] = 'clients/20.png'
theImages[21] = 'clients/21.png'
theImages[22] = 'clients/22.png'
theImages[23] = 'clients/23.png'
theImages[24] = 'clients/24.png'
theImages[25] = 'clients/25.png'
theImages[26] = 'clients/26.png'
theImages[27] = 'clients/27.png'
theImages[28] = 'clients/28.png'
theImages[29] = 'clients/29.png'
theImages[30] = 'clients/30.png'
theImages[31] = 'clients/31.png'
theImages[32] = 'clients/32.png'
theImages[33] = 'clients/33.png'
theImages[34] = 'clients/34.png'
theImages[35] = 'clients/35.png'
theImages[36] = 'clients/36.png'
theImages[37] = 'clients/37.png'
theImages[38] = 'clients/38.png'
theImages[39] = 'clients/39.png'
theImages[40] = 'clients/40.png'

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]+'">');
}
