// JavaScript Document

function random_imglink(){
  var myimages=new Array()
  //specify random images below. You can have as many as you wish
  myimages[1]="/donors/pub/i/random/1.jpg"
  myimages[2]="/donors/pub/i/random/2.jpg"

  //specify corresponding links below
  var imagelinks=new Array()
  imagelinks[1]="/donors/stories/brandon/"
  imagelinks[2]="/donors/stories/michelle/"

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

  if (ry==0)
     ry=1
     document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0></a>')
}

  random_imglink()

