/*
Random Image Link Script
By Website Abstraction (http://www.wsabstract.com)
and Java-scripts.net (http://www.java-scripts.net)
*/

function random_image(){
  var myimages=new Array();
  //specify random images below. You can have as many as you wish
  myimages = [
      "images/home/01.jpg",
      "images/home/02.jpg",
      "images/home/03.jpg",
      "images/home/04.jpg",
      "images/home/05.jpg",
      "images/home/06.jpg",
      "images/home/07.jpg",
      "images/home/08.jpg",
      "images/home/09.jpg",
      "images/home/10.jpg",
      "images/home/11.jpg",
      "images/home/12.jpg",
      "images/home/13.jpg",
      "images/home/14.jpg",
      "images/home/15.jpg",
      "images/home/16.jpg",
      "images/home/17.jpg",
      "images/home/18.jpg",
      "images/home/19.jpg",
      "images/home/20.jpg",
      "images/home/21.jpg",
      "images/home/22.jpg",
  ];

  //specify corresponding links below
  ry=Math.floor(Math.random()*myimages.length);
  
  document.getElementById("random-img").src = myimages[ry];
}



