// JavaScript Document
function validarForm(obj){
	with (obj){
			if(nombre.value=="" || apellidos.value==""){
				alert("Por favor, indícanos tu \"Nombre\" y \"Apellidos\"");
				return false;
			}
			if(direccion.value=="" && telefono.value=="" && email.value==""){
				alert("Por favor, indícanos bien tu \"Teléfono\", \"Dirección\" \r o \"Email\" para ponernos en contacto contigo ");
				return false;
			}
			if(newsletter.checked==true && email.value==""){
				alert("Por favor, indícanos el email en el que quieres recibir las noticias");
				return false;
			}
	}
}

