// JavaScript Document

function VerifyNws() {
	
	var txt = "";
	
	if (document.formular.nws_name.value=="") {
	 txt = txt + "\n * Name";
	}
	
	var str=document.formular.nws_email.value
	var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i 
	if (!filter.test(str)) {
	 txt = txt + "\n * Email is not Valid";
	}
	
	if (txt) {
		alert ("The folowing fields are required:\n" + txt);
		return false;
	}
}
