function checkCountry(objCountry, objState){

	if(objCountry.selectedIndex == 0)
	{
		alert("Please choose Country");
		return 1;
	}
	
	var countryCAN = "CAN";
	var countryUSA = "USA";
	var countryID = objCountry.value;
	if(countryID == countryCAN || countryID == countryUSA)
	{
		if(objState.value == 0)
		{
			alert("Please select State/Province");
			return 1;
		}
		
		var count = objState.options.length;
		var found = 0;
		for(var i=1;i<count;i++)
		{
			if(objState.options[i].value == 0)
				found = i;
		}
		if(countryID == countryCAN)
		{
			if(objState.selectedIndex < found)
			{
				alert("Please select Province for Canada");					
				return 1;
			}
		}
		else
		{
			if(objState.selectedIndex > found)
			{
				alert("Please select State for United States");					
				return 1;
			}
		}
	}
	else
	{
		if(objState.value != 0)
		{
			alert("The State/Prov and Country do not match. Please correct either the State/Prov or Country");
			return 1;
		}
	}
	return 0;
}