function validarCamposInqueritoDAMNersantSeguros()
{
    if (document.getElementById("tfEmpresa").value == "")
    {
	    alert("Campo 'Empresa' é de preenchimento obrigatório.");
	    document.getElementById("tfEmpresa").focus();
	    return false;
    }
    if (document.getElementById("tfResponsavel").value == "")
    {
	    alert("Campo 'Responsável a contactar' é de preenchimento obrigatório.");
	    document.getElementById("tfResponsavel").focus();
	    return false;
    }
    if (document.getElementById("tfConcelho").value == "")
    {
	    alert("Campo 'Concelho' é de preenchimento obrigatório.");
	    document.getElementById("tfConcelho").focus();
	    return false;
    }
    if (document.getElementById("tfTelefone").value == "")
    {
	    alert("Campo 'Telefone de contacto' é de preenchimento obrigatório.");
	    document.getElementById("tfTelefone").focus();
	    return false;
    }
    return true;
}

function validarCamposInqueritoDAMNersantSeguros_PPR() {
    if (document.getElementById("tfEmpresa").value == "") {
        alert("Campo 'Empresa' é de preenchimento obrigatório.");
        document.getElementById("tfEmpresa").focus();
        return false;
    }
    if (document.getElementById("tfResponsavel").value == "") {
        alert("Campo 'Responsável a contactar' é de preenchimento obrigatório.");
        document.getElementById("tfResponsavel").focus();
        return false;
    }
    if (document.getElementById("tfConcelho").value == "") {
        alert("Campo 'Concelho' é de preenchimento obrigatório.");
        document.getElementById("tfConcelho").focus();
        return false;
    }
    if (document.getElementById("tfTelefone").value == "") {
        alert("Campo 'Telefone de contacto' é de preenchimento obrigatório.");
        document.getElementById("tfTelefone").focus();
        return false;
    }

    var inquerito = confirm("Os campos que não foram preenchidos serão considerados como NS/NR. Deseja continuar?")
    if (inquerito == true) {
        return true;
    } else {
        return false;
    }
}
