var theImages = new Array()
//Random-loading images
theImages[0] = 'images/01.gif' // replace with names of images
theImages[1] = 'images/02.gif' // replace with names of images
theImages[2] = 'images/03.gif' // replace with names of images
theImages[3] = 'images/04.gif' // replace with names of images
theImages[4] = 'images/05.gif' // replace with names of images
theImages[5] = 'images/06.gif' // replace with names of images
theImages[6] = 'images/07.gif' // replace with names of images
theImages[7] = 'images/08.gif' // replace with names of images
theImages[8] = 'images/09.gif' // replace with names of images
theImages[9] = 'images/10.gif' // replace with names of images
theImages[10] = 'images/11.gif' // replace with names of images
theImages[11] = 'images/12.gif' // replace with names of images
theImages[12] = 'images/13.gif' // replace with names of images
theImages[13] = 'images/14.gif' // replace with names of images
theImages[14] = 'images/15.gif' // replace with names of images
theImages[15] = 'images/16.gif' // replace with names of images
theImages[16] = 'images/17.gif' // replace with names of images
theImages[17] = 'images/18.gif' // replace with names of images
theImages[18] = 'images/19.gif' // replace with names of images
theImages[19] = 'images/20.gif' // replace with names of images
theImages[20] = 'images/21.gif' // replace with names of images
theImages[21] = 'images/22.gif' // replace with names of images
theImages[22] = 'images/23.gif' // replace with names of images
theImages[23] = 'images/24.gif' // replace with names of images
theImages[24] = 'images/25.gif' // replace with names of images
theImages[25] = 'images/26.gif' // replace with names of images
theImages[26] = 'images/27.gif' // replace with names of images
theImages[27] = 'images/28.gif' // replace with names of images
theImages[28] = 'images/29.gif' // replace with names of images
theImages[29] = 'images/30.gif' // replace with names of images
theImages[30] = 'images/31.gif' // replace with names of images
theImages[31] = 'images/32.gif' // replace with names of images
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(){
if(whichImage==0){
document.write('
');
}
else if(whichImage==1){
document.write('
');
}
else if(whichImage==2){
document.write('
');
}
else if(whichImage==3){
document.write('
');
}
else if(whichImage==4){
document.write('
');
}
else if(whichImage==5){
document.write('
');
}
else if(whichImage==6){
document.write('
');
}
else if(whichImage==7){
document.write('
');
}
else if(whichImage==8){
document.write('
');
}
else if(whichImage==9){
document.write('
');
}
else if(whichImage==10){
document.write('
');
}
else if(whichImage==11){
document.write('
');
}
else if(whichImage==12){
document.write('
');
}
else if(whichImage==13){
document.write('
');
}
else if(whichImage==14){
document.write('
');
}
else if(whichImage==15){
document.write('
');
}
else if(whichImage==16){
document.write('
');
}
else if(whichImage==17){
document.write('
');
}
else if(whichImage==18){
document.write('
');
}
else if(whichImage==19){
document.write('
');
}
else if(whichImage==20){
document.write('
');
}
else if(whichImage==21){
document.write('
');
}
else if(whichImage==22){
document.write('
');
}
else if(whichImage==23){
document.write('
');
}
else if(whichImage==24){
document.write('
');
}
else if(whichImage==25){
document.write('
');
}
else if(whichImage==26){
document.write('
');
}
else if(whichImage==27){
document.write('
');
}
else if(whichImage==28){
document.write('
');
}
else if(whichImage==29){
document.write('
');
}
else if(whichImage==30){
document.write('
');
}
else if(whichImage==31){
document.write('
');
}
}
// JavaScript Document