function validEmail(address){	invalidChars = "/:,;"		if (address == "")	{		return false;	}		for (i=0; i<invalidChars.length; i++)	{		badChar = invalidChars.charAt(i)		if (address.indexOf(badChar,0) > -1)		{			return false;		}	}	atPos = address.indexOf("@",1)	if (atPos == -1)	{		return false;	}	if (address.indexOf("@",atPos+1) > -1)	{		return false;	}		periodPos = address.indexOf(".",atPos)	if (periodPos == -1)	{		return false;	}		if (periodPos+3 > address.length)	{		return false;	}		return true}function submitIt(mailinglist_form){	if (!validEmail(mailinglist_form.email.value))	{		alert("Please enter a properly formatted email address.")		mailinglist_form.email.focus()		mailinglist_form.email.select()		return false	}		return true}		