// JavaScript Document

function setfocus()
{
	document.forms[0].Name.focus();
}

function Validate(form)
{
	var name = document.forms[0].Name.value;
	var email = document.forms[0].Email.value;
	var comments = document.forms[0].Comments.value;

	// check for any space characters that may be input
  	
  	if (name == "" || name == null)
  	{
  		alert ("You must enter a value in the Name field");
		document.forms[0].Name.focus();
  		return false;
  	}
	
  	if (email == "" || email == null)
  	{
  		alert ("You must enter an Email address");
		document.forms[0].Email.focus();
  		return false;
  	}
	
  	if (comments == "" || comments == null)
  	{
  		alert ("You must enter some information in the Comments field");
		document.forms[0].Comments.focus();
  		return false;
  	}
		
}