// JavaScript Document
function clear_me(theForm)
{
	document.forma.email.value = ""
}

function Validator(theForm)
{

  if (theForm.email.value == "" || theForm.email.value == " ")
  {
    alert("Please enter your e-mail address");
    theForm.email.focus();
    return (false);
  }
 
  if  (theForm.email.value != "")
	{   
	var eresult
	  var str=theForm.email.value
	  var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
	  if (!filter.test(str))
	  {
		alert("Please input a valid email address!")
		theForm.email.focus();
		eresult=false;
		return (eresult);
	  }
	}  


alert("You have successfully subscribed for CoachNick Newsletter");
  
}  