//This function is used on the form pages where we've country and state dropdown. We want to show drop down of states for US and CA and text field for international countries.
function Check_If_US_CA(country, state)
{
	
	//alert(country + '-' + state);
	if(country == 'US' || country == 'CA')
	{
		// Call the Ajax func and populate the state drop down.
		if(document.getElementById('state_txt'))
			document.getElementById('state_txt').style.display = 'none';

		if(document.getElementById('state_list'))
			document.getElementById('state_list').style.display = 'block';

		Populate_States(country, state);
	}
	else
	{
		if(document.getElementById('state_txt'))
			document.getElementById('state_txt').style.display = 'block';

		if(document.getElementById('state_list'))
			document.getElementById('state_list').style.display = 'none';
	}

}
