
function random_imglink(){
  var myimages=new Array()
  //specify random images below. You can have as many as you wish
  myimages[1]="http://www.freegames.net/gamecat/car.gif"
  myimages[2]="http://www.freegames.net/agamecat/car1.jpg"
  myimages[3]="http://www.freegames.net/gamecat/car2.gif"
  myimages[4]="http://www.freegames.net/gamecat/car3.jpg"
  myimages[5]="http://www.freegames.net/files/image/motocross-fmx.gif"
  myimages[6]="http://www.freegames.net/files/image/bbraap.jpg"
  myimages[7]="http://www.freegames.net/files/image/Extreme_Trucks.jpg"
  myimages[8]="http://www.freegames.net/files/image/dirtbike.jpg"
  //specify corresponding links below
  var imagelinks=new Array()
  imagelinks[1]="http://www.freegames.net/online20-Car-Games"
  imagelinks[2]="http://www.freegames.net/online22-Car-Racing-Games"
  imagelinks[3]="http://www.freegames.net/online60-Driving-Games"
  imagelinks[4]="http://www.freegames.net/online27-Bike-Games"
  imagelinks[5]="http://www.freegames.net/online-motocross-games.php"
  imagelinks[6]="http://www.freegames.net/motorbike-games.php"
  imagelinks[7]="http://www.freegames.net/monster-truck-games.php"
  imagelinks[8]="http://www.freegames.net/dirt-bike-games.php"
  var ry=Math.floor(Math.random()*myimages.length)

  if (ry==0)
     ry=1
     document.write('<a href='+'"'+imagelinks[ry]+'"'+' target="_blank" rel="nofollow"><img src="'+myimages[ry]+'" border=0 width="250" height="200"></a>')
}

  random_imglink()
//-->


