GameBanner = new Array(
"Want to be notified of new games?<br>"+
"<a class=gamebannerlink href='../../newsletter.asp'>Newsletter sign-up</a>"
,
"If you like this game, you should try playing:<br>"+
"<a class=gamebannerlink href='../simon/'>Simon</a>"
,
"Here is another great game to try:<br>"+
"<a class=gamebannerlink href='../aggrevation/'>Aggrevation</a>"
,
"Here is one of my most popular word games:<br>"+
"<a class=gamebannerlink href='../dropwords/'>Dropwords</a>"
,
"If you like a challenge, try playing this:<br>"+
"<a class=gamebannerlink href='../ringsjr/'>Rings Jr</a>"
,
"For an adventure, try playing this:<br>"+
"<a class=gamebannerlink href='../maze/'>Maze Keeper</a>"
,


"Want to be notified of new games?<br>"+
"<a class=gamebannerlink href='../../newsletter.asp'>Newsletter sign-up</a>"
,
"Here is a good word puzzle:<br>"+
"<a class=gamebannerlink href='../seeknfind/'>Seek N Find</a>"
,
"Do you remember those slider puzzles?  Try this:<br>"+
"<a class=gamebannerlink href='../swimsuitslider/'>Swimsuit slider</a>"
,
"If you like a challenge, try playing this:<br>"+
"<a class=gamebannerlink href='../ringsjr/'>Rings Jr</a>"
,
"Here is one of my most popular games:<br>"+
"<a class=gamebannerlink href='../yahtzee/'>Yahtzee</a>"
,
"Here is a twist on those slider puzzles:<br>"+
"<a class=gamebannerlink href='../swimsuitswitcher/'>Swimsuit switcher</a>"
,
"If you like a puzzles, try playing this:<br>"+
"<a class=gamebannerlink href='../quadcolors/'>Quad Colors</a>"
,

"Want to be notified of new games?<br>"+
"<a class=gamebannerlink href='../../newsletter.asp'>Newsletter sign-up</a>"
,
"If you remember <i>Infocom</i>, try playing this:<br>"+
"<a class=gamebannerlink href='../text/'>Text Adventure</a>"
,
"Wanna try an original game? Try playing this:<br>"+
"<a class=gamebannerlink href='../shifty1/'>Shifty v1.0</a>"
,
"If you remember <i>Zork</i>, try playing this:<br>"+
"<a class=gamebannerlink href='../zork/'>Zork</a>"
,
"Do you remember those slider puzzles?  Try this:<br>"+
"<a class=gamebannerlink href='../allenslider/'>Allen slider</a>"
,


"Want to be notified of new games?<br>"+
"<a class=gamebannerlink href='../../newsletter.php'>Newsletter sign-up</a>"
,
"Brand new game, be first on the scoreboard:<br>"+
"<a class=gamebannerlink href='../mahjong/'>Mah Jong</a>"
,
"Brand new game, be first on the scoreboard:<br>"+
"<a class=gamebannerlink href='../pyramid2/'>Pyramid 2</a>"
,
"Classic solitaire card game:<br>"+
"<a class=gamebannerlink href='../pyramid/'>Pyramid</a>"

);


function GameRotator () {
hour = new Date().getHours();
minute = new Date().getMinutes();
second = new Date().getSeconds();
MinOfDay = (hour*60)+minute;
SecOfHour = (hour*60)+second;

ChangeNow = 15;
VSchange = SecOfHour/ChangeNow;
if (VSchange.toString().indexOf(".") == -1) {
	if (navigator.family == "ie4") 
		{document.all.bannerRotate.innerHTML = GameBanner[VSchange % GameBanner.length];}
	else if (navigator.family == "gecko") 
		{document.getElementById["bannerRotate"].innerHTML = GameBanner[VSchange % GameBanner.length];}
	else {return;}
	}
setTimeout("GameRotator();", 1000);
}


hour = new Date().getHours();
minute = new Date().getMinutes();
second = new Date().getSeconds();
MinOfDay = (hour*60)+minute;
SecOfHour = (hour*60)+second;

document.write(
'<style>\n'+
'<!--\n'+
'.gamebanner 		{FONT-FAMILY:arial; FONT-SIZE:14px; FONT-WEIGHT:bold; text-decoration:none; color:#000000; font-style:normal;}\n'+
'.gamebannerlink 	{FONT-FAMILY:arial; FONT-SIZE:30px; FONT-WEIGHT:bold; text-decoration:none; color:#995544; font-style:normal;}\n'+
'.gamebannerlink:hover 	{FONT-FAMILY:arial; FONT-SIZE:30px; FONT-WEIGHT:bold; text-decoration:none; color:#bb7766; font-style:normal;}\n'+
'-->\n'+
'</style>\n'+
'<center><div id=gamebanner style="width:400; height:82;">'+
'<table cellspacing=0 cellpadding=0 border=0 width=400 height=82 align=middle class=tableframe>'+
'<tr>'+
'	<td class=TBLhead><center> . : Advertisement : . </td>'+
'</tr>'+
'<tr>'+
'	<td class=TBLcell><center>'+
'	<font class="gamebanner"><center>'+
'	<!--  banner text goes here --><div id="bannerRotate">'+

GameBanner[SecOfHour % GameBanner.length] +

'	<!--  banner text ends here -->'+
'	</div></td></tr></table>'+
'</div></center>'
);

GameRotator();


