<!--  Begin

/**
* clears all the fields on the form
*/
function resetform() 
{
	frmMailingList.email.value="";
	frmMailingList.firstName.value="";
	frmMailingList.lastName.value="";
	frmMailingList.address.value="";
	frmMailingList.city.value="";
	frmMailingList.state.value="";
	frmMailingList.zip.value="";
}

/**
* Validates that all fields are populated before allowing the submit to proceed
*/
function validateFields()
{
	var execute = true;
	
	if (isEmail() && isFname() && isLname() && isAddress() && isCity() && isState() && isZip())
	{
		execute = true;
	}
	else
	{
		execute = false;
	}
	
	return execute;
}

/**
* Basic validation of email address
*/
function isEmail()
{
	var isEmail = true;
	
	if( frmMailingList.email == "") 
	{
		alert ("\n The E-Mail field is blank. \n\n Please enter your E-Mail address.");
		frmMailingList.email.focus();
		isEmail = false;
	}
	else if ( frmMailingList.email.value.indexOf ('@',0) == -1 || frmMailingList.email.value.indexOf ('.',0) == -1 ) 
	{
		alert ("\n The E-Mail field requires a \"@\" and a \".\"be used. \n\nPlease re-enter your E-Mail address.");
		frmMailingList.email.select();
		frmMailingList.email.focus();
		isEmail = false;
	}
	
	return isEmail;
}

/**
* Basic validation of firstName
*/
function isFname() 
{
	var isFname = true;
	
	if (frmMailingList.firstName.value == "")
	{
		alert ("\n The First Name field is blank. \n\n Please enter your first name.");
		frmMailingList.firstName.fo
