<!--

function random_imglink(){

  var myimages=new Array()

  //specify random images below. You can have as many as you wish

  myimages[1]="http://www.bathales.com/images/didyouknow/110_bottling.jpg"

  myimages[2]="http://www.bathales.com/images/didyouknow/110_trade.jpg"
  
  myimages[3]="http://www.bathales.com/images/didyouknow/110_newspaper.jpg"
	
  myimages[4]="http://www.bathales.com/images/didyouknow/110_shop.jpg"
	  
  myimages[5]="http://www.bathales.com/images/didyouknow/110_pubs.jpg"
		
  myimages[6]="http://www.bathales.com/images/didyouknow/110_tour.jpg"
  


  //specify corresponding links below

  var imagelinks=new Array()

  imagelinks[1]="http://www.bathales.com/brewery/bottling.html"

  imagelinks[2]="http://www.bathales.blogspot.com/"
  
  imagelinks[3]="http://www.bathales.com/news/index.html"

  imagelinks[4]="http://www.bathales.com/brewery/index.html"
  
  imagelinks[5]="http://www.bathales.com/pubs/index.html"

  imagelinks[6]="http://www.bathales.com/brewery/tours.html"
  



  var ry=Math.floor(Math.random()*myimages.length)



  if (ry==0)

     ry=1

     document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" width="165" height="110" border=0></a>')

}



  random_imglink()

//-->


