// JavaScript Document
function emailval()
	{
		var to = document.form.to.value;
		var name = document.form.name.value;
		var email = document.form.email.value;
		
		if (to.length < 1) 
		{
			window.alert("Recipient's E-mail address needed");
			document.form.to.focus();
			return false;
		}
		
		if (name.length < 1) 
		{
			window.alert("Your name needed");
			document.form.name.focus();
			return false;
		}
		
		if (email.length < 1) 
		{
			window.alert("Your E-mail address needed");
			document.form.email.focus();
			return false;
		}
	}