function checkState(strFormName, strStateFieldName, strCountryFieldName) {
	var objCountry = document.forms[strFormName][strCountryFieldName];
	var objState = document.forms[strFormName][strStateFieldName];

	if (objCountry[objCountry.selectedIndex].value != "USA" && objCountry[objCountry.selectedIndex].value != "CANADA" &&
		objCountry[objCountry.selectedIndex].value != "")
		objState[objState.length - 1].selected = true;
	else if (objState[objState.length - 1].selected == true)
		objState[0].selected = true;
}