var y=window.location.host.toString();
if (y.substr(0,4)=="www."){y=y.substr(4);}

function site(web,logo,bookd,bookw){
	if (web==1){document.write(y.toUpperCase());}
	if (logo==1){document.write('<img border="0" width="190" height ="145" src="/App_Themes/Goto/images/TopLogin/'+y+'.gif"');}
	if (bookd==1)
	{
		document.write('<a href="/DoughFlowPayment.asp?sportsbook=');
		switch (y)
		{
			case "enterbet.com":document.write('Enterbet');break;
			case "ibetcasino.com":document.write('ibet-getabet');break;
			case "getabet.com":document.write('ibet-getabet');break;

			default:document.write('GoTo Entertainment');break;
		}
		document.write('" target="content"><img border="0" src="../images/deposit-01.gif" width="140" height="26"></a>');
	}
	if (bookw==1)
	{
		document.write('<a href="/DoughFlowPayment.asp?paymentaction=PAYOUT&sportsbook=');
		switch (y)
		{
			case "enterbet.com":document.write('Enterbet');break;
			case "ibetcasino.com":document.write('ibet-getabet');break;
			case "getabet.com":document.write('ibet-getabet');break;

			default:document.write('GoTo+Entertainment');break;
		}
		document.write('" target="content"><img border="0" src="../images/withdraw-01.gif" width="140" height="26"></a>');
	}
}
function sitetitle(){ document.title = y + ' - Any Wager Any Sport Any Time'; }