function formValidateSubscribe(theform) {
	if(theform.name.value=='') {
		alert('You must enter your name.');
		theform.name.focus();
		return false;
	}
	if(theform.email.value=='') {
		alert('You must enter your email address.');
		theform.email.focus();
		return false;
	}
	if(ValidateEmail(theform.email)==false)
	{
		alert('Your email address is not valid.')
		theform.email.focus()
		return false;
	} 				
}
				
				
function ValidateEmail(theinput)
{
	s=theinput.value
	if(s.search)
	{
		return (s.search(new
RegExp("^([-!#$%&'*+./0-9=?A-Z^_`a-z{|}~])+@([-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+\\.)+[a-zA-Z]{2,4}$","gi"))>=0)
	}
	if(s.indexOf)
	{
		at_character=s.indexOf('@')
		if(at_character<=0 || at_character+4>s.length)
			return false
	}
	if(s.length<6)
		return false
	else
		return true
}