function updateStateList(current){
	country = document.getElementById('countrySelect').value;
	document.getElementById('stateOpts' + current).style.display = 'none';
	document.getElementById('stateOpts' + country).style.display = 'block';

}
function getCurrent(){
	var current = document.getElementById('countrySelect').value;
	return current;
}
function updateState(newState){
	document.getElementById('selectedState').value = newState;
	//document.forms('search').element('selectedState').value = newState;
}
