﻿// JScript File
    function InformaCliente(strMensagem, imagemInformativa, divVisible){

        var informa = document.getElementById("lblInformacao");        
        var imagem = document.getElementById("imgInformacao");
        var divInforma = document.getElementById("divInformacoes");

        informa.innerText = strMensagem;
        imagem.src = "imagens/" + imagemInformativa;

        divInforma.style.visibility=divVisible;

        if(divVisible == 'visible'){
            divInforma.style.height="30";}
     }
     
     
     function MudaCor(IU, flag, Canal)
     {
        if (flag == 1)
        {
          if (Canal == 1)
          {
            document.getElementById('divmenu'+IU).className = 'mudaCor';              
          }
          else
          {
             document.getElementById('divmenu'+IU).className = 'mudaCorSecao';              
          }
        }
        else
        {
            if (Canal == 1)
            {
               document.getElementById('divmenu'+IU).className = 'voltaCor';                    
            }
            else
            {
               document.getElementById('divmenu'+IU).className = 'voltaCorSecao';                    
            }
            
        }
     
     
     }
     


