/* Función para validar el formulario de contacto */
function validar_contacto(){
	var ok=true;
	var msj="";
	
	if((document.getElementById('nombre').value.length==0)|| (document.getElementById('telefono').value.length==0)
	|| (document.getElementById('email').value.length==0) || (document.getElementById('consulta').value.length==0))
	{
		msj +="Debe rellenar todos los campos del formulario. Gracias\n";
		ok = false;
	}	
	
	if(!ok)
	{
		alert(msj);
	}	
	return ok;

}
