function checkform(){
	if(isNull(document.subscribe.email_fname.value) || document.subscribe.email_fname.value == 'Enter your Firstname')
	{
      alert("Please Enter First Name");
	  document.subscribe.email_fname.focus();
	  return false;
	}

	if(isNull(document.subscribe.email_lname.value) || document.subscribe.email_lname.value == 'Enter your Lastname')
	{
      alert("Please Enter Last Name");
	  document.subscribe.email_lname.focus();
	  return false;
	}
	
	if(!isEmail(document.subscribe.email.value))
	{
      alert("Please Enter A Vaild Email Address");
	  document.subscribe.email.focus();
	  return false;
	}
	
}
function isEmail(aStr)
{
	var reEmail=/^[0-9a-zA-Z_'\.-]+\@[0-9a-zA-Z_\.-]+\.[0-9a-zA-Z_\.-]+$/;
	if(!reEmail.test(aStr))
	{
		return false;
	}
	return true;
}
function isNull(aStr)
{
	var index;		
	for (index=0; index < aStr.length; index++)
		if (aStr.charAt(index) != ' ')
			return false;
	return true;
}