/*
Random Image Link Script- By JavaScript Kit(http://www.javascriptkit.com) 
Over 200+ free JavaScripts here!
Updated: 00/04/25
*/

function random_imglink(){
var gameimg=new Array()
//specify random images below. You can have as many as you wish
gameimg[1]="/images/games-dynamic/7card-stud-poker.jpg"
gameimg[2]="/images/games-dynamic/big2-poker.jpg"
gameimg[3]="/images/games-dynamic/chinese-poker.jpg"
gameimg[4]="/images/games-dynamic/guts-poker.jpg"
gameimg[5]="/images/games-dynamic/omaha-poker.jpg"
gameimg[6]="/images/games-dynamic/pan-poker.jpg"
gameimg[7]="/images/games-dynamic/poker-texas-holdem.jpg"
gameimg[8]="/images/games-dynamic/poker-tournaments.jpg"

//specify corresponding links below
var imagelinks=new Array()
imagelinks[1]="/thegames/7card.php"
imagelinks[2]="/thegames/big2.php"
imagelinks[3]="/thegames/chinesepoker.php"
imagelinks[4]="/thegames/guts.php"
imagelinks[5]="/thegames/omaha.php"
imagelinks[6]="/thegames/pan.php"
imagelinks[7]="/thegames/holdem.php"
imagelinks[8]="/tournaments/index.php"

var ry=Math.floor(Math.random()*gameimg.length)
if (ry==0)
ry=1
document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+gameimg[ry]+'" border=0></a>')
}