function comprobar()
	{
	if (document.forms['enviar'].elements['nombre'].value == "")
		{
		alert("Debe rellenar el campo nombre.");
		return false;
		}
	if (document.forms['enviar'].elements['apellidos'].value == "")
		{
		alert("Debe rellenar el campo apellidos.");
		return false;
		}
	if (document.forms['enviar'].elements['telefono'].value == "")
		{
		alert("Debe rellenar el campo telefono.");
		return false;
		}
	if (document.forms['enviar'].elements['consulta'].value == "")
		{
		alert("Debe indicarnos cual es su consulta.");
		return false;
		}
	
	}