/**
Date:	08-Apr-2008
Author:	Nitai / Jean
Desciption:	Add the dependence between the state and the country

**********
Modification History
08-Apr-2008		Jean	Add an OR option for state.value for job_seeker_resume.php
**/
function SetCountry(countryname, statename) 
{
	var country = document.getElementById(countryname);
	var state = document.getElementById(statename);
	if (country.value == 'USA' && ((state.value == 'none') ||(state.value == '')))
	{
		
		alert('Please select the country other than United States');
		country.focus();
		
	}
	else if (country.value != 'USA' && ((state.value != 'none') ||(state.value != '')))
	{
		country.value = 'USA';
		
	}
	
}