<!--
// *********************************************
//Defines

var sPPPopupsPage = "-logon3-00.html";	//Should be full URL

var sPPNoPopupsPage = "-logon3-00.html"; //Should be full URL
//var sPPNoPopupsPage = "-logon10-00.html"; //Should be full URL

var nVerPOPUPS = 0;
var nVerNOPOPUPS = 1;

// *********************************************
function navToVersion (nVer, sService)
{
	if (nVer != null && sService != null)
	{
		switch( nVer)
		{
			case nVerPOPUPS:
			{
				top.document.location = sService + sPPPopupsPage;
				break;
			}
			case nVerNOPOPUPS:
			{
				top.document.location = sService + sPPNoPopupsPage;
				break;
			}
			default:
				break;
		}
	}
	return;
}

// *********************************************

function getSupportURL(service)
{
	if (service == "njs")
	{
		return "http://support.njphonebet.com";	
	}
	else if (service == "cdp")
	{
		return "http://support.cdphonebet.com";	
	}
	else if (service == "demo")
	{
		return "http://support.greenwoodracing.com";
	}
	else if (service == "ocb")
	{
		return "http://support.racingchannel.com";
	}
	else if (service == "phi")
	{
		return "http://support.phonebet.com";
	}
	else
	{
		return "http://support.phonebet.com";
	}
}

// *********************************************
//-->


