function validateform(form)
{

	// check nombre
	if (document.forms.contacto.elements.nombre.value == "")
	{
		alert ("Escriba su nombre completo!");
		return false;
	}

	// check email address 
	if (document.forms.contacto.elements.email.value == "")
	{
		alert ("Escriba correctamente su mail");
		return false;
	}
	
	
	// check estado
	if (document.forms.contacto.elements.mensaje.value == "")
	{
		alert ("Escriba su mensaje!");
		return false;
	}	
	return true;
}