	function validateForm()
	{
		var email = /^.+@.+\..{2,3}$/;
		if(document.getElementById("input_name").value == "")
		{
			alert("Name is a required field");
			document.getElementById("input_name").focus();
			return false;
		}
		if(document.getElementById("input_email").value == "")
		{
			alert("Email is a required field");
			document.getElementById("input_email").focus();
			return false;
		}
		if( !email.test(document.getElementById("input_email").value ) )
		{
			alert( "Invalid email address" );
			document.getElementById("input_email").focus();
			return false;
		}	
		if(document.getElementById("input_comments").value == "")
		{
			alert("Comments is a required field");
			document.getElementById("input_comments").focus();
			return false;
		}
	}