function dwnldpoker()
{
	if (document.readyState)
	{location.href = 'http://info.betgameday.com/pokerclient'+'/download';
	if (document.readyState && document.readyState=='loading') 
	{setTimeout('howtopoker()', 200);return false;}}
	return true;
}

function howtopoker()
{
	if (document.readyState=='loading')
	{setTimeout('howtopoker()',200);}
	else {location.href='http:/'+'/info.betgameday.com/en/poker/poker_download.htm';}
}

function dwnldcasino()
{
	if (document.readyState)
	{location.href = 'http://200.122.168.229/dl/betgameday'+'/trackdownload.dll';
	if (document.readyState && document.readyState=='loading') 
	{setTimeout('howtocasino()', 200);return false;}}
	return true;
}

function howtocasino()
{
	if (document.readyState=='loading')
	{setTimeout('howtocasino()',200);}
	else {location.href='http:/'+'/info.betgameday.com/en/casino/howto_casino_download.htm';}
}


function dwnldcasino2()
{
	if (document.readyState)
	{location.href = 'http://200.122.168.229/dl/betgameday'+'/trackdownload.dll';
	if (document.readyState && document.readyState=='loading') 
	{setTimeout('howtocasino()', 200);return false;}}
	return true;
}

function howtocasino2()
{
	if (document.readyState=='loading')
	{setTimeout('howtocasino()',200);}
	else {location.href='http:/'+'/www.betgameday.com/main.asp';}
}



function dwnldpoker2()
{
	if (document.readyState)
	{location.href = 'http://info.betgameday.com/pokerclient'+'/download';
	if (document.readyState && document.readyState=='loading') 
	{setTimeout('howtopoker2()', 200);return false;}}
	return true;
}

function howtopoker2()
{
	if (document.readyState=='loading')
	{setTimeout('howtopoker2()',200);}
	else {location.href='http:/'+'/www.betgameday.com/main.asp';}
}

function openFlashPoker() {
 var poker_link = 'https://mppv2flash3.valueactive.com/betgameday/lobby/index.aspx';
 openFlashPokerPopup('poker_lobby', poker_link,790,571)
}
 
function openFlashPokerPopup(name, url, width, height) {
 var new_win = window.open(url, name,'width=' + width + ',height=' + height + ',directories=no,toolbar=no,resizable=no,location=no,menubar=no,status=no,scrollbars=no');
}