

/*

Random Image Link Script

By Website Abstraction (http://www.wsabstract.com)

and Java-scripts.net (http://www.java-scripts.net)

*/



function random_imglink(){

  var myimages=new Array()

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

  myimages[1]="../wp-content/themes/scanad/images/header/bergen.jpg"
  myimages[2]="../wp-content/themes/scanad/images/header/hike.jpg"
  myimages[3]="../wp-content/themes/scanad/images/header/hondenslee.jpg"
  myimages[4]="../wp-content/themes/scanad/images/header/orienteren.jpg"
  myimages[5]="../wp-content/themes/scanad/images/header/skitoer.jpg" 
  myimages[5]="../wp-content/themes/scanad/images/header/toer.jpg"
  myimages[6]="../wp-content/themes/scanad/images/header/banner1.jpg"
  myimages[7]="../wp-content/themes/scanad/images/header/banner2.jpg"



  //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[5]="../index.html"
  imagelinks[6]="../index.html"
  imagelinks[7]="../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()

