var theImages = new Array()

//Random-loading images
theImages[0] = 'images/headerBanners/headerBanner01.jpg' // replace with names of images
theImages[1] = 'images/headerBanners/headerBanner02.jpg' // replace with names of images
theImages[2] = 'images/headerBanners/headerBanner03.jpg' // replace with names of images
theImages[3] = 'images/headerBanners/headerBanner04.jpg' // replace with names of images
theImages[4] = 'images/headerBanners/headerBanner05.jpg' // replace with names of images
theImages[5] = 'images/headerBanners/headerBanner06.jpg' // replace with names of images
theImages[6] = 'images/headerBanners/headerBanner07.jpg' // replace with names of images
theImages[7] = 'images/headerBanners/headerBanner08.jpg' // replace with names of images
theImages[8] = 'images/headerBanners/headerBanner09.jpg' // replace with names of images
theImages[9] = 'images/headerBanners/headerBanner10.jpg' // replace with names of images
theImages[10] = 'images/headerBanners/headerBanner12.jpg' // replace with names of images
theImages[11] = 'images/headerBanners/headerBanner12.jpg' // replace with names of images
theImages[12] = 'images/headerBanners/headerBanner13.jpg' // replace with names of images
theImages[13] = 'images/headerBanners/headerBanner14.jpg' // replace with names of images
theImages[14] = 'images/headerBanners/headerBanner15.jpg' // replace with names of images
theImages[15] = 'images/headerBanners/headerBanner16.jpg' // replace with names of images
theImages[16] = 'images/headerBanners/headerBanner17.jpg' // replace with names of images
theImages[17] = 'images/headerBanners/headerBanner18.jpg' // replace with names of images
theImages[18] = 'images/headerBanners/headerBanner19.jpg' // replace with names of images
theImages[19] = 'images/headerBanners/headerBanner20.jpg' // replace with names of images
theImages[20] = 'images/headerBanners/headerBanner21.jpg' // replace with names of images
theImages[21] = 'images/headerBanners/headerBanner22.jpg' // replace with names of images
theImages[22] = 'images/headerBanners/headerBanner23.jpg' // replace with names of images
theImages[23] = 'images/headerBanners/headerBanner24.jpg' // replace with names of images
theImages[24] = 'images/headerBanners/headerBanner25.jpg' // 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('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==1){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==2){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==3){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==4){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==5){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==6){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==7){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==8){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==9){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==10){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==11){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==12){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==13){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==14){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==15){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==16){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==17){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==18){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==19){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==20){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==21){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==22){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==23){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==24){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}
else if(whichImage==25){
document.write('<img src="'+theImages[whichImage]+'" border=0 width=780 height=180>');
}

}
