	function Validate() {
		var j = new RegExp(); 

		//Name Validation

		if (document.FeedBackForm.Name.value == '') { 
			alert("Please enter your Name"); 
			document.FeedBackForm.Name.focus();
			return false; 
		}

		//Email Validation
		if (document.FeedBackForm.Email.value == '') { 
			alert("Please enter your email"); 
			document.FeedBackForm.Email.focus();
			return false; 
		}
		j.compile('[A-Za-z0-9-._\\]+@[^.]+\\..+');  
		if (!j.test(document.FeedBackForm.Email.value)) { 
			alert("Please enter a valid email address"); 
			document.FeedBackForm.Email.focus();
			return false; 
		} 

		//Text Validation
		if (document.FeedBackForm.Text.value.length > 500) { 
			alert("The text field is limited to 500 characters. You wrote " + document.FeedBackForm.Text.value.length + "characters."); 
			document.FeedBackForm.Text.focus();
			return false; 
		}
		getHTML("?Name=" + document.FeedBackForm.Name.value +  "&Email=" + document.FeedBackForm.Email.value + "&Text=" + document.FeedBackForm.Text.value,"FeedBack","http://www.php-code-search.com/FeedBack.html");
}
