// JavaScript Document

function validar(formulari)
{
	if (formulari.first.value.length < 2)
	{
	alert("You haven't entered all the required information.");
	formulari.first.focus();
	return (false);
	}
	if (formulari.last.value.length < 2)
	{
	alert("You haven't entered all the required information.");
	formulari.last.focus();
	return (false);
	}
	if (formulari.email.value.length < 2)
	{
	alert("You haven't entered all the required information.");
	formulari.email.focus();
	return (false);
	}
	if (formulari.textarea.value.length < 2)
	{
	alert("You haven't entered all the required information.");
	formulari.textarea.focus();
	return (false);
	}
	
	return (true);
}
function validar2(formulari)
{
	if (formulari.first.value.length < 2)
	{
	alert("You haven't entered all the required information.");
	formulari.first.focus();
	return (false);
	}
	if (formulari.last.value.length < 2)
	{
	alert("You haven't entered all the required information.");
	formulari.last.focus();
	return (false);
	}
	if (formulari.email.value.length < 2)
	{
	alert("You haven't entered all the required information.");
	formulari.email.focus();
	return (false);
	}
	
	return (true);
}