// how to call:
// <form method="POST" action="demo.html" name="myForm" onSubmit="return validate()">
function chk_newsletter(){
	with(document.nl_Form){
		var emailPat = /^([a-zA-Z_0-9-.]+)@([a-zA-Z_0-9-.]+)\.([a-z]{2,4})$/;
		if(!email.value.match(emailPat)){
			alert("Please enter your complete email address.");
			email.focus();
			return false;
		}
		return true;
	}// end with
}
//-->