function ValidaCampos()
{
    var txtNome = document.getElementById('ctl00_ContentPlaceHolderMain_txtNome');
    var txtEmail = document.getElementById('ctl00_ContentPlaceHolderMain_txtEmail');
    var txtDddRes = document.getElementById('ctl00_ContentPlaceHolderMain_txtDddRes');
    var txtTelefoneRes = document.getElementById('ctl00_ContentPlaceHolderMain_txtTelefoneRes');
    
    var Msg = '';
    var retorno = true;
    
    if(txtNome.value == '')
    {
        Msg += 'Preencha corretamente o Nome!\r\n';
        retorno = false;
    }
    
    if(txtEmail.value == '')
    {
        Msg += 'Preencha corretamente o E-mail!\r\n';
        retorno = false;
    }
    
    if(txtDddRes.value == '')
    {
        Msg += 'Preencha corretamente o DDD Residencial!\r\n';
        retorno = false;
    }
    
    if(txtTelefoneRes.value == '')
    {
        Msg += 'Preencha corretamente o Telefone Residencial!\r\n';
        retorno = false;
    }    
    
    if(!retorno)
    {
        alert(Msg);
    }    
}
