
var theImages = new Array() 

theImages[0] = '../images/random/1.jpg'
theImages[1] = '../images/random/2.jpg'
theImages[2] = '../images/random/3.jpg'
theImages[3] = '../images/random/4.jpg'
theImages[4] = '../images/random/5.jpg'
theImages[5] = '../images/random/6.jpg'
theImages[6] = '../images/random/7.jpg'
theImages[7] = '../images/random/8.jpg'
theImages[8] = '../images/random/9.jpg'
theImages[9] = '../images/random/10.jpg'
theImages[10] = '../images/random/11.jpg'
theImages[11] = '../images/random/12.jpg'
theImages[12] = '../images/random/13.jpg'
theImages[13] = '../images/random/14.jpg'
theImages[14] = '../images/random/15.jpg'
theImages[15] = '../images/random/16.jpg'
theImages[16] = '../images/random/17.jpg'
theImages[17] = '../images/random/18.jpg'
theImages[18] = '../images/random/19.jpg'
theImages[19] = '../images/random/20.jpg'
theImages[20] = '../images/random/21.jpg'
theImages[21] = '../images/random/22.jpg'
theImages[22] = '../images/random/23.jpg'
theImages[23] = '../images/random/24.jpg'
theImages[24] = '../images/random/25.jpg'
theImages[25] = '../images/random/26.jpg'
theImages[26] = '../images/random/27.jpg'
theImages[27] = '../images/random/28.jpg'
theImages[28] = '../images/random/29.jpg'
theImages[29] = '../images/random/30.jpg'
theImages[30] = '../images/random/31.jpg'
theImages[31] = '../images/random/32.jpg'
theImages[32] = '../images/random/33.jpg'
theImages[33] = '../images/random/34.jpg'
theImages[34] = '../images/random/35.jpg'
theImages[35] = '../images/random/36.jpg'
theImages[36] = '../images/random/37.jpg'
theImages[37] = '../images/random/38.jpg'
theImages[38] = '../images/random/39.jpg'
theImages[39] = '../images/random/40.jpg'
theImages[40] = '../images/random/41.jpg'
theImages[41] = '../images/random/42.jpg'
theImages[42] = '../images/random/43.jpg'
theImages[43] = '../images/random/44.jpg'
theImages[44] = '../images/random/45.jpg'
theImages[45] = '../images/random/46.jpg'
theImages[46] = '../images/random/47.jpg'
theImages[47] = '../images/random/48.jpg'
theImages[48] = '../images/random/49.jpg'
theImages[49] = '../images/random/50.jpg'
theImages[50] = '../images/random/51.jpg'
theImages[51] = '../images/random/52.jpg'
theImages[52] = '../images/random/53.jpg'
theImages[53] = '../images/random/54.jpg'
theImages[54] = '../images/random/55.jpg'
theImages[55] = '../images/random/56.jpg'
theImages[56] = '../images/random/57.jpg'
theImages[57] = '../images/random/58.jpg'
theImages[58] = '../images/random/59.jpg'
theImages[59] = '../images/random/60.jpg'
theImages[60] = '../images/random/61.jpg'
theImages[61] = '../images/random/62.jpg'
theImages[62] = '../images/random/63.jpg'
theImages[63] = '../images/random/64.jpg'
theImages[64] = '../images/random/65.jpg'
theImages[65] = '../images/random/66.jpg'
theImages[66] = '../images/random/67.jpg'
theImages[67] = '../images/random/68.jpg'
theImages[68] = '../images/random/69.jpg'
theImages[69] = '../images/random/70.jpg'
theImages[70] = '../images/random/71.jpg'
theImages[71] = '../images/random/72.jpg'
theImages[72] = '../images/random/73.jpg'
theImages[73] = '../images/random/74.jpg'
theImages[74] = '../images/random/75.jpg'
theImages[75] = '../images/random/76.jpg'
theImages[76] = '../images/random/77.jpg'
theImages[77] = '../images/random/78.jpg'
theImages[78] = '../images/random/79.jpg'
theImages[79] = '../images/random/80.jpg'
theImages[80] = '../images/random/81.jpg'
theImages[81] = '../images/random/82.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]+'">');
}


