function fmValid(_form)
{

	if ( (_form.email) && (!validemail(_form.email.value)) )
	{
		alert('Please check your email address.');
		_form.email.focus();
		return false;
	}

	_form.recipient.value = recSwitch();

	function recSwitch()
	{
		
		switch (_form.recipient.value)
		{
			case 'City Press Release Sign Up':
				_form.action = '/formmail.asp';
				return 'City   PressReleaseSignup';
				
			case 'Home Utility Checkup':
				return 'HomeUtilityCheckup';
				
			case 'Heat Pump Incentives':
				return 'HeatPumpIncentives';
				
			case 'LED Exit Sign Program':
				return 'LEDExit Sign Program';
	
			case 'Green Power Sign Up':
				return 'Green Power Signup';
	
			case 'Dusk Lighting':
				return 'DuskLighting';
	
			case 'Softball Add Player':
				return 'SoftballAddPlayer';
	
			case 'PDPersonnel':
				return 'PD Personnel';
				
			case 'Request for New Library Card':
				return 'Request New Library Card';
			
			case 'kgerloff':
				_form.action = '//www.anaheim.net/formmail.asp';
				return 'kgerloff@';
				
			case 'jnewell':
				_form.action = '//www.anaheim.net/formmail.asp';
				return 'jnewell@';
				
			case 'tedelblute':
				_form.action = '//www.anaheim.net/formmail.asp';
				return 'tedelblute@';
				
			case 'kgerth':
				_form.action = '//www.anaheim.net/formmail.asp';
				return 'kgerth@';
				
			case 'lshensky':
				_form.action = '//www.anaheim.net/formmail.asp';
				return 'lshensky@';
				
			case 'Tree Power':
				return 'Tree  Power';
				
			case 'Neighborhood Services - Request Trash Bin':
				return 'Neighborhood Services';
				
			case 'New Construction Incentives':
				return 'NewConstructionIncentives';
				
			case 'vnci':
				return 'V N C I';

			case 'National Team News':
				return 'National-VolleyballTeamNewsSignUp';
				
			case 'Job Expo - Job Seekers':
				return 'JobExpo-JobSeekers';
				
			case 'Request for Online Access Number':
				return 'RequestOnlineAccessNumber'

			case 'Lighting Incentives Program':
				return 'LightingIncentivesProgram'
				
			case 'Military Banner Program':
				return 'MilitaryBannerProgram'

}
		
	}

}