﻿function random_imglink(){
  var myimages=new Array()
  //specify random images below. You can have as many as you wish
  myimages[1]="images/random/logo-febnet.gif"
  myimages[2]="images/random/logo-goadies.gif"
  myimages[3]="images/random/logo-kea.gif"
  myimages[4]="images/random/logo-marriage.gif"
  myimages[5]="images/random/mim-costarica.gif"
  myimages[6]="images/random/mim-ireland.gif"
  myimages[7]="images/random/photo-angelatcross.gif"
  myimages[8]="images/random/photoart-beach1.gif"
  myimages[9]="images/random/photoart-children.gif"
  myimages[10]="images/random/photoart-pathsoflife.gif"
  myimages[11]="images/random/photoart-robin.gif"
  myimages[12]="images/random/photo-crossabove.gif"
  myimages[13]="images/random/photo-downcastangel.gif"
  myimages[14]="images/random/photo-loveeternal.gif"
  myimages[15]="images/random/photo-shoes.gif"
  myimages[16]="images/random/photo-umbrella.gif"
  myimages[17]="images/random/poster-symphony.gif"


  //specify corresponding links below
  var imagelinks=new Array()
  imagelinks[1]="index.html"
  imagelinks[2]="index.html"
  imagelinks[3]="index.html"
  imagelinks[4]="index.html"
  imagelinks[5]="index.html"
  imagelinks[6]="index.html"
  imagelinks[7]="index.html"
  imagelinks[8]="index.html"
  imagelinks[9]="index.html"
  imagelinks[10]="index.html"
  imagelinks[11]="index.html"
  imagelinks[12]="index.html"
  imagelinks[13]="index.html"
  imagelinks[14]="index.html"
  imagelinks[15]="index.html"
  imagelinks[16]="index.html"
  imagelinks[17]="index.html"

  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()
