function clearText(thefield)
						{
						if (thefield.defaultValue==thefield.value)
						thefield.value = ""
						
						if (thefield.value=="subscribe to newsletter")
						thefield.value = "subscribe to newsletter"
						}
						
						function clearText1(thefield)
						{
						if(thefield.value=="") 
						thefield.value = "subscribe to newsletter"

}
						
function validate_form1()
{
		var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
		 var address = document.get_news.email.value;
		   if(reg.test(address) == false) {
			  alert('Invalid Email Address');
			  document.get_news.email.focus();
			  return false;
		   }
		   else
		   {
		   	ajax_form('myid','validate.php','receiver');
			alert('Message Sent Successfully.');
			return false;
		   }

		
	
        return valid;
		
}