function validateNews()
{
	var Regemail = /^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9])+(\.[a-zA-Z0-9_-]+)+$/
	var name = escape(document.getElementById("txtName").value)
	var email = escape(document.getElementById("txtEmail").value)
	var website = escape(document.getElementById("txtWebsite").value)
	var comment = escape(document.getElementById("txtComment").value)
	var captcha = escape(document.getElementById("captchacode").value)

	if (name == "") {
		alert("Please enter your name.");
		return false;
	}
	else if (email == ""){
		alert("Please enter your email address.");
		return false;
	}

	else if (comment == ""){
		alert("Please enter your comment.");
		return false;
	}
	
	else if (captcha == ""){
		alert("Type the characters you see in the security image.");
		return false;
	}
 
	if (email.search(Regemail)==-1){
		alert("Please enter a valid email address.");
		return false;
	}
	
	return true;
}