//These pics and links display on PC's where flash isn't detected
var link0 = '<a href="slots.html"><img name=thumb0 id=thumb0 border=0 src="pics/banners/Slots.jpg"></a>';
var link1 = '<a href="tables.html"><img name=thumb0 id=thumb0 border=0 src="pics/banners/SACTables.jpg"></a>';
var link2 = '<a href="thunderMountainBuffet.html"><img name=thumb0 id=thumb0 border=0 src="pics/banners/TMountain.gif"></a>';
var link3 = '<a href="pokerRoom.html"><img name=thumb0 id=thumb0 border=0 src="pics/banners/SACPoker.jpg"></a>';

var bannerRow = '';
if(is_Flash) {
	bannerRow = '<td><OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="596" HEIGHT="110" id="master" ALIGN="" VIEWASTEXT> <PARAM NAME=movie VALUE="master.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#d8cbd5> <EMBED src="master.swf" quality=high bgcolor=#d8cbd5  WIDTH="596" HEIGHT="110" NAME="master" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT></td><td width=14>&nbsp;</td>';
} else {
	bannerRow = '<td align=left>' + link0 + '</script></td><td width=15>&nbsp;</td><td align=center>' + link1 + '</td><td width=15>&nbsp;</td><td align=center>' + link2 + '</td><td width=15>&nbsp;</td><td align=right>' + link3 + '</td><td width=15>&nbsp;</td>';
}

function win470(target, height) {
	window.open(target, '', 'toolbar=no,scrollbars=yes,statusbar=no,menubar=no,resizable=no,titlebar=yes,width=490,height=' + height);
}
function win420(target, height) {
	window.open(target, '', 'toolbar=no,scrollbars=yes,statusbar=no,menubar=no,resizable=no,titlebar=yes,width=410,height=' + height);
}
function newwin( target ) {
	open(target);
}
var previd

function NodeClick(id) {
	if (is_ie) {
		if (document.all.item('ans' + id).style.display == "block") {
			document.all.item('ans' + id).style.display = "none";
			document.all.item('arr' + id).src = "pics/ArrowRight.gif";
			document.all.item('arr' + id).alt = "Click to open";
		}
		else {
			document.all.item('ans' + id).style.display = "block";
			document.all.item('arr' + id).src = "pics/ArrowDown.gif";
			document.all.item('arr' + id).alt = "Click to close";
		}
	}
	else {
		thisElement = document.getElementById('ans' + id);
		thisArrow = document.getElementById('arr' + id);
		if (thisElement.style.display == "block") {
			thisElement.style.display = "none";
			thisArrow.src = "pics/ArrowRight.gif";
			thisArrow.alt = "Click to open";
		}
		else {
			thisElement.style.display = "block";
			thisArrow.src = "pics/ArrowDown.gif";
			thisArrow.alt = "Click to close";
		}
	}
}