var theImages = new Array()

 //Random-loading images
 theImages[0] = 'images/top_pics/pompom.jpg' // replace with names of images
 theImages[1] = 'images/top_pics/rainbows2.jpg' // replace with names of images
 theImages[2] = 'images/top_pics/geranium_wet.jpg' // replace with names of images
 theImages[3] = 'images/top_pics/first-hibiscus.jpg' // replace with names of images
 theImages[4] = 'images/top_pics/agave_flower3.jpg'
 theImages[5] = 'images/top_pics/agave_flower4.jpg'
 theImages[6] = 'images/top_pics/agave_flower6.jpg'
 theImages[7] = 'images/top_pics/banksia.jpg'
 theImages[8] = 'images/top_pics/canna1.jpg'
 theImages[9] = 'images/top_pics/canna2.jpg'
 theImages[10] = 'images/top_pics/cricketr.jpg'
 theImages[11] = 'images/top_pics/geranium.jpg'
 theImages[12] = 'images/top_pics/hibiscus2.jpg'
 theImages[13] = 'images/top_pics/hibiscus-cricket.jpg'
 theImages[14] = 'images/top_pics/honeybush.jpg'
 theImages[15] = 'images/top_pics/ironbark.jpg'
 theImages[16] = 'images/top_pics/king1.jpg'
 theImages[17] = 'images/top_pics/leopard-tree1.jpg'
 theImages[18] = 'images/top_pics/leopard-tree2.jpg'
 theImages[19] = 'images/top_pics/magpie.jpg'
 theImages[20] = 'images/top_pics/melaleuca1.jpg'
 theImages[21] = 'images/top_pics/melaleuca2.jpg'
 theImages[22] = 'images/top_pics/millet.jpg'
 theImages[23] = 'images/top_pics/parrots1.jpg'
 theImages[24] = 'images/top_pics/poinciana.jpg'
 theImages[25] = 'images/top_pics/rainbows1.jpg'
 theImages[26] = 'images/top_pics/spiderweb1.jpg'
 theImages[27] = 'images/top_pics/spiderweb2.jpg'
 theImages[28] = 'images/top_pics/sunrise.jpg'
 theImages[29] = 'images/top_pics/sunrise2.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(){
 if(whichImage==0){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 }
 else if(whichImage==1){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 }
 else if(whichImage==2){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 }
 else if(whichImage==3){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 }
 else if(whichImage==4){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 }
 else if(whichImage==5){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 } 
 else if(whichImage==6){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 } 
 else if(whichImage==7){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 } 
 else if(whichImage==8){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 } 
 else if(whichImage==9){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 } 
 else if(whichImage==10){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 } 
 else if(whichImage==11){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 } 
 else if(whichImage==12){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 } 
 else if(whichImage==13){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 } 
 else if(whichImage==14){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 } 
 else if(whichImage==15){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 } 
 else if(whichImage==16){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 } 
 else if(whichImage==17){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 } 
 else if(whichImage==18){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 } 
 else if(whichImage==19){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 } 
 else if(whichImage==20){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 } 
 else if(whichImage==21){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 }
else if(whichImage==22){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 }
 else if(whichImage==23){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 }
 else if(whichImage==24){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 }
 else if(whichImage==25){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 }
 else if(whichImage==26){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 }
 else if(whichImage==27){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 }
 else if(whichImage==28){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 }
 else if(whichImage==29){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 }
 else if(whichImage==30){
 document.write('<a href ="link.html"><img src="'+theImages[whichImage]+'" border=0 width=920 height=193></a>');
 }
 }
