<!--- Run Javascript To Set Form Field to "Yes" If Javascript Is On --->
<!--

// Start hiding JavaScript code from old browsers.

function DonationForm_Validator(theForm)
{
	
	if (theForm.Name.value == '' || theForm.Name.value == ' ')
	{
		alert('Please enter a value for the Name field.');
		theForm.Name.value = '';
		theForm.Name.focus();
		return (false);
	}
	
	if (theForm.Address1.value == '' || theForm.Address1.value == ' ')
	{
		alert('Please enter a value for the Address field.');
		theForm.Address1.value = '';
		theForm.Address1.focus();
		return (false);
	}
	
	if (theForm.City.value == '' || theForm.City.value == ' ')
	{
		alert('Please enter a value for the City field.');
		theForm.City.value = '';
		theForm.City.focus();
		return (false);
	}
	
	if (theForm.State.options[theForm.State.selectedIndex].value == 'invalid')
	{
		alert('Please choose a valid option for the State field.');
		theForm.State.focus();
		return (false);
	}
	
	if (theForm.Zip.value == '' || theForm.Zip.value == ' ')
	{
		alert('Please enter a value for the Zip field.');
		theForm.Zip.value = '';
		theForm.Zip.focus();
		return (false);
	}
	
	if (theForm.Phone.value == '' || theForm.Phone.value == ' ')
	{
		alert('Please enter a value for the Phone field.');
		theForm.Phone.value = '';
		theForm.Phone.focus();
		return (false);
	}
	
	if (theForm.Email.value == '' || theForm.Email.value == ' ')
	{
		alert('Please enter a value for the Email field.');
		theForm.Email.value = '';
		theForm.Email.focus();
		return (false);
	}
	
	if (emailCheck(theForm.Email.value) == false)
	{
	  	theForm.Email.focus();
		return (false)
	}
	
	if (theForm.Amount.value == '' || theForm.Amount.value == ' ')
	{
		alert('Please enter a value for the Amount field.');
		theForm.Amount.value = '';
		theForm.Amount.focus();
		return (false);
	}
	
	return true;
}

//-->