/*
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]="images/spotlight/1.jpg"
  myimages[2]="images/spotlight/2.jpg"
  myimages[3]="images/spotlight/3.jpg"
  myimages[4]="images/spotlight/4.jpg"

  //specify corresponding links below
  var imagelinks=new Array()
  imagelinks[1]="spotlight1.html"
  imagelinks[2]="spotlight2.html"
  imagelinks[3]="spotlight3.html"
  imagelinks[4]="spotlight4.html"

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

  if (ry==0)
     ry=1 
	 
     var map = '<MAP Name="spotlightmap">'
	 map 	+= '<AREA Shape="rect" coords="179,220,218,237" href="all-spotlight.html">'
	 map	+= '<AREA shape="rect" coords="0,0,237,258" href="'+imagelinks[ry]+'">'
	 map 	+= '</MAP>'
     document.write(map+'<img usemap="#spotlightmap" src="'+myimages[ry]+'" border=0>')
}

  random_imglink()
//-->