// localizable strings - client side

// multiple pages
var gL_szChooseOne			= '--- Choose One ---';
var gL_szFollowingInfoBad	= 'The following information is not entered correctly:\n\n';

// for channels
var gL_szEnterText			= 'You must enter some search text.\n';

// for access_numbers
var gL_szChooseCountry		= '--- Choose Country ---';
var gL_szChooseCountryRegion= '--- Choose Country or Region ---';

// for howfound
var gL_szHowFound1			= 'Newspaper Article';
var gL_szHowFound2			= 'Online Article';
var gL_szHowFound3			= 'Link on another Web Site';
var gL_szHowFound4			= 'Friend Who Uses Slingshot';
var gL_szHowFound5			= 'Friend';
var gL_szHowFound6			= 'Trade Show';
var gL_szHowFound7			= 'Radio Ad';
var gL_szHowFound8			= 'Other';

// for pacandpin
var gL_szEnterPACandPIN		= 'You must enter your %s to %s alphanumeric character Primary Access Code and possibly your PIN.';
var gL_szEnterPAC			= 'You must enter your %s to %s alphanumeric character Primary Access Code.';
var gL_szEnterPACandPIN1	= 'You must enter your %s alphanumeric character Primary Access Code and possibly your PIN.';
var gL_szEnterPAC1			= 'You must enter your %s alphanumeric character Primary Access Code.';


function mysprintf(szFmt, p1, p2, p3, p4)
{
	var	val;
	var re	= /%s/;

	val = szFmt.replace(re, p1);
	if (p2 != null)
	{
		val = val.replace(re, p2);
		if (p3 != null)
		{
			val = val.replace(re, p3);
			if (p4 != null)
			{
				val = val.replace(re, p4);
			}
		}
	}
	return val;
}
