var strCountry = null;

function getCountry()
{
	if (strCountry == null)
	{
		if ( typeof google != 'undefined' ) {
			strCountry		= google.loader.ClientLocation.address.country_code;
		} else {
			strCountry = 'US'
		}
	}
	return strCountry;
}

function countryIsOneOf(ccodes)
{
	return ccodes.indexOf(getCountry()) >= 0;
}

function hideIfCountry(obj, ccodes)
{
	if (countryIsOneOf(ccodes))
	{
		obj.style.display = 'none';
	}
}

function hideIfNotCountry(obj, ccodes)
{
	if (!countryIsOneOf(ccodes))
	{
		obj.style.display = 'none';
	}
}
