//each element is made up of:
//	[imageURL, linkURL]
//the longer linkURL path will allow us to easily link to non-gamesroom stuff

var arrImages = 
[

	//	****edit from here****
	["/img/home_300904_01.gif", "/SpMain/common/pages/games/gamesRoom.asp?target=iql_casino"],
	["/img/home_300904_02.gif", "/SpMain/common/pages/games/gamesRoom.asp?target=iql_casino"],
	["/img/home_041104_03.gif", "/SpMain/common/pages/games/gamesRoom.asp?target=poker"],
	["/img/home_300904_04.gif", "/SpMain/common/pages/games/gamesRoom.asp?target=iql_casino"],
	["/img/home_300904_05.gif", "/SpMain/common/pages/games/gamesRoom.asp?target=games_room"],
	["/img/home_041104_06.gif", "/SpMain/common/pages/games/gamesRoom.asp?target=poker"],
	["/img/home_300904_07.gif", "/SpMain/common/pages/games/gamesRoom.asp?target=games_room"]
	//	****end editable****

];

var step = 0;

function slideit() {

	if (!document.images)
		return document.images.img1.src = arrImages[step][0];
		
	if ( step < arrImages.length ){
		document.images.img1.src = arrImages[step][0];
		step++;
	}
	else{
		step = 0;
	}
	
	setTimeout( "slideit()", 5000);
		
}

function bannerRedirect() {
	
	top.window.document.location.href = eval("arrImages[" + step + "][1];");		
	
}
