// JavaScript Document
function formcompleto(form) 
{
 for (var i = 0; i < form.elements.length; i++) 
 { 
	if (form.elements[i].value == "") 
	{
	form.elements[i].setfocus;
	alert("Debe llenar todos los campos.")
	return false;
	} 
} 
if ((form.correo.value.indexOf ('@', 0) == -1) || (form.email.value.length < 5)) 
	{
	alert("Escriba una dirección de correo válida");
	return (false);
	}
return true;
}
