function determineMailTo(objectName){
	var selectList = document.getElementById(objectName);
	var selIndex = selectList.selectedIndex;
    var selValue = selectList[selIndex].value;    
	
	var West = false;
	var Midwest = false;
	var Southeast = false;
	var Northeast = false;
	var LatinAmerica = false;	
	
	var correctEmail = '' ; 
	var split = selValue.split('-');
	var st = split[1].toLowerCase();
	
	if (split[0].toLowerCase() == 'usa'){
		if (st == 'wa' || st == 'or' || st == 'ca' || st == 'nv' || st == 'az' || st == 'ut' ||
		    st == 'co' || st == 'nm' || st == 'wy' || st == 'sd' || st == 'nd' || st == 'mt' ||
		    st == 'id' )
		{
			West = true;				
		}
		
		if (st == 'mn' || st == 'wi' || st == 'il' || st == 'in' || st == 'mi' || st == 'ia'||
		    st == 'oh' || st == 'ky' || st == 'mo' || st == 'ks' || st == 'ne' )
		{
			Midwest = true;				
		}
		if (st == 'ok' || st == 'tx' || st == 'tn' || st == 'la' ||	st == 'ms' || st == 'al' ||  st == 'ar')
		{
			Southeast = true;				
		}
		if (st == 'me' || st == 'nh' || st == 'vt' || st == 'ny' || st == 'ma' || st == 'ri' ||
			st == 'ct' || st == 'nj' || st == 'pa' || st == 'md' || st == 'de' || st == 'wv' ||
			st == 'va' || st == 'fl' || st == 'ga' || st == 'nc' || st == 'sc' )
		{
			Northeast = true;				
		}
		
	}
	if (split[0].toLowerCase() == 'can'){		
		if (st == 'ab' || st == 'bc' || st == 'sk' || st == 'mb')
		{
			West = true;				
		}
		
		if (st == 'on' )
		{
			Midwest = true;				
		}		
		if (st == 'qc' || st == 'nl' ||  st == 'ns' || st == 'nb')
		{
			Northeast = true;				
		}
	}
	if (split[0].toLowerCase() == 'mex'){
		LatinAmerica = true;		
	}
	
	
	if (West == true){
		correctEmail = 'astratton@hamiltonengineering.com';
	}
	
	if (Midwest == true){
		correctEmail = 'eallmacher@hamiltonengineering.com';	
	}
	if (Southeast == true){
		correctEmail = 'jreasoner@hamiltonengineering.com'; 
	}
	if (Northeast == true){
		correctEmail = 'keni@hamiltonengineering.com';	
	}
	if (LatinAmerica == true){
		correctEmail = 'eespinosa@hamiltonengineering.com';	
	}	
	
	document.getElementById('toEmail').value = correctEmail;
}
