 

function showImage4(){

 

// Set up the image files to be used.

   var theImages = new Array() // Set The Images Variable

   var theLinks = new Array() // Set The Links Variable

   var theText = new Array() // Set The Text Variable

   

   // To add more image files, continue with the

   // pattern below, adding to the array. Rememeber

   // to increment the theImages[x] index!

   

   theImages[0] = 'SJBLueLogo.gif'

   
   
   theImages[1] = 'hayward.gif'
      
   theImages[2] = 'ausonio.gif'

   


 

   theLinks[0] = 'sjblue.com'

   
   
   theLinks[1] = 'haywardlumber.com'

   theLinks[2] = 'ausonio.com'

   



 

   theText[0] = 'San Jose Blue'

   theText[1] = 'Hayward Lumber'
   
   theText[2] = 'Ausonio Incorporated'

   

   




 

 

   

//http://www.sjblue.com/ | 1 | 0 |SJBLueLogo.gif | San Jose Blue




 

   

   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));        

 

document.write('<A HREF="http://www.'+theLinks[whichImage]+'"><img BORDER=0 ALT="'+theText[whichImage]+'" src="http://www.aiamontereybay.org/banner-images/'+theImages[whichImage]+'"></A>');

}
