function item(id,idPai,aidFilho,pPai,apFilho,sRotulo,sRotuloAlt,sURL,sLinkTarget,sArqImagemAlt,bApresenta){
this.id = id;
this.idPai = idPai;
this.aidFilho = aidFilho.split(",");
this.pPai = pPai;
this.apFilho =  apFilho.split(",");
if (this.aidFilho[0]==""){
   this.aidFilho.length = 0;
  }
if (this.apFilho[0]==""){
   this.apFilho.length = 0;
  }
this.sRotulo = sRotulo;
this.sRotuloAlt = sRotuloAlt;
this.sURL = sURL;
this.sLinkTarget = sLinkTarget;
this.sArqImagemAlt = sArqImagemAlt;
this.bApresenta = bApresenta;
}
Nav = new Array();

bPossuiHome = 1;



Nav[0] = new item("A1","","A2","","1","Médias Empresas","","/home/medias/","portal","","1");
Nav[1] = new item("A2","A1","A6,A4,A3,A7,A8,A9,A16,A32,A11,A5,A12,A10,A13,A14,A15,A17,A20,A33,A31","0","2,6,11,12,13,16,19,22,23,24,27,28,29,33,34,35,36,37,38","Empréstimos e Financiamentos","","/medias/emprestimo_financiamento/tpl_emprestimo_financiamento_apre.shtm","","","1");
Nav[2] = new item("A6","A2","A6-1,A6-2,A6-3","1","3,4,5","Capital de Giro","","/medias/emprestimo_financiamento/tpl_capital_giro.shtm","","","1");
Nav[3] = new item("A6-1","A6","","2","","Simulador Capital Giro Parcelado","","/medias/emprestimo_financiamento/tpl_capital_giro_parc_simulador.shtm","","","1");
Nav[4] = new item("A6-2","A6","","2","","Simulador Capital Giro Final","","/medias/emprestimo_financiamento/tpl_capital_giro_fin_simulador.shtm","","","1");
Nav[5] = new item("A6-3","A6","","2","","Capital de Giro 13°","","/medias/emprestimo_financiamento/tpl_capital_giro_13salario.shtm","","","1");
Nav[6] = new item("A4","A2","A4-1,A4-2,A4-3,A4-4","1","7,8,9,10","Antecipação de Recebíveis","","/medias/emprestimo_financiamento/tpl_antecipacao_recebiveis.shtm","","","1");
Nav[7] = new item("A4-1","A4","","6","","Mais Informações","","/medias/emprestimo_financiamento/tpl_desc_cheq_maisinf.shtm","","","0");
Nav[8] = new item("A4-2","A4","","6","","Cartões de Crédito","","/medias/emprestimo_financiamento/tpl_antecipacao_recebiveis.shtm#1","","","1");
Nav[9] = new item("A4-3","A4","","6","","Desconto de Cheques","","/medias/emprestimo_financiamento/tpl_antecipacao_recebiveis.shtm#2","","","1");
Nav[10] = new item("A4-4","A4","","6","","Desconto de Duplicatas","","/medias/emprestimo_financiamento/tpl_antecipacao_recebiveis.shtm#3","","","1");
Nav[11] = new item("A3","A2","","1","","Real Empresa Plus","","/medias/emprestimo_financiamento/tpl_real_empresa_plus.shtm","","","1");
Nav[12] = new item("A7","A2","","1","","Adiantamento a Fornecedores","","/medias/emprestimo_financiamento/tpl_adiantamento_fornecedores.shtm","","","1");
Nav[13] = new item("A8","A2","A8-1,A8-2","1","14,15","Leasing","","/medias/emprestimo_financiamento/leasing/tpl_leasing.shtm","","","1");
Nav[14] = new item("A8-1","A8","","13","","Condições","","/medias/emprestimo_financiamento/leasing/tpl_cond_arrendamento.shtm","","","1");
Nav[15] = new item("A8-2","A8","","13","","Simulador","","/medias/emprestimo_financiamento/leasing/tpl_leasing_simulador.shtm","","","1");
Nav[16] = new item("A9","A2","A9-2,A9-1","1","17,18","Repasse BNDES/Finame","","/medias/emprestimo_financiamento/tpl_repasse_bndes.shtm","","","1");
Nav[17] = new item("A9-2","A9","","16","","Condições","","/medias/emprestimo_financiamento/tpl_repasse_bndes_documentos.shtm","","","1");
Nav[18] = new item("A9-1","A9","","16","","Simulador","","/medias/emprestimo_financiamento/tpl_simulador_bndes.shtm","","","0");
Nav[19] = new item("A16","A2","A16-1,16-2","1","20,21","Crédito Direto ao Consumidor - CDC","","/medias/emprestimo_financiamento/tpl_cdc_pj.shtm","","","1");
Nav[20] = new item("A16-1","A16","","19","","Condições","","/medias/emprestimo_financiamento/tpl_cdc_pj_prazo.shtm","","","1");
Nav[21] = new item("16-2","A16","","19","","Simulador","","/medias/emprestimo_financiamento/tpl_simulador_cdc.shtm","","","1");
Nav[22] = new item("A32","A2","","1","","Financiamentos para Sustentabilidade","","/medias/emprestimo_financiamento/tpl_financiamentos_socioambientais.shtm","","","1");
Nav[23] = new item("A11","A2","","1","","Compror","","/medias/emprestimo_financiamento/tpl_compror.shtm","","","1");
Nav[24] = new item("A5","A2","A5-1,A5-2","1","25,26","Conta Garantida","","/medias/emprestimo_financiamento/tpl_conta_garantida.shtm","","","1");
Nav[25] = new item("A5-1","A5","","24","","Rotativa","","/medias/emprestimo_financiamento/tpl_conta_garantida.shtm#1","","","1");
Nav[26] = new item("A5-2","A5","","24","","Automática","","/medias/emprestimo_financiamento/tpl_conta_garantida.shtm#2","","","1");
Nav[27] = new item("A12","A2","","1","","Vendor","","/medias/emprestimo_financiamento/tpl_vendor.shtm","","","1");
Nav[28] = new item("A10","A2","","1","","Resolução 2770 (Antiga 63)","","/medias/emprestimo_financiamento/tpl_resolucao63.shtm","","","1");
Nav[29] = new item("A13","A2","A13-1,A13-2,A13-3","1","30,31,32","Agronegócios","","/medias/emprestimo_financiamento/agronegocios/tpl_agronegocios.shtm","","","1");
Nav[30] = new item("A13-1","A13","","29","","Crédito Rural","","/medias/emprestimo_financiamento/agronegocios/tpl_credito_rural.shtm","","","1");
Nav[31] = new item("A13-2","A13","","29","","Finame Agrícola - BNDES","","/medias/emprestimo_financiamento/agronegocios/tpl_finame_agricola.shtm","","","1");
Nav[32] = new item("A13-3","A13","","29","","Projeto Parceria","","/medias/emprestimo_financiamento/agronegocios/tpl_projeto_parceria.shtm","","","1");
Nav[33] = new item("A14","A2","","1","","Hot Money","","/medias/emprestimo_financiamento/tpl_hot_money.shtm","","","1");
Nav[34] = new item("A15","A2","","1","","Desconto de Duplicatas","","/medias/emprestimo_financiamento/tpl_desc_dup.shtm","","","0");
Nav[35] = new item("A17","A2","","1","","Real Giro Automático","","/medias/emprestimo_financiamento/tpl_real_giro_autom.shtm","","","0");
Nav[36] = new item("A20","A2","","1","","Taxas de Juros","","/medias/emprestimo_financiamento/tpl_taxa_de_juros.shtm","","","1");
Nav[37] = new item("A33","A2","","1","","Real Domicílio Centralizado","","/medias/emprestimo_financiamento/tpl_domicilio_visa.shtm","","","1");
Nav[38] = new item("A31","A2","","1","","Gerentes de Relacionamento","","/medias/emprestimo_financiamento/tpl_gerentes_relacionamento.shtm","","","0");

