var menu = new Array();

//var sRotaAcesso = "http://ww33.itau/noticias_cotacoes/";
var sRotaAcesso = "http://noticiasecotacoes.itau.com.br/noticias_cotacoes/";

var i = window.location.href.indexOf("home.aspx");
var div_top;
if (i != "-1")	
    div_top = "168"; 	/*	Pagina mencionada	*/
else 
    div_top = "85";	/*	Outras paginas		*/


var defOver = '#D6D3CE', defBack = '#ffffff';
var defOver1 = '#D6D3CE', defBack1 = '#ffffff';
var defOver2 = '#D6D3CE', defBack2 = '#ffffff';
var defBorder = '#8f8f8f';
var defLength = 23;

menu[0] = new Array();
menu[0][0] = new Menu(true, '<img src=../img/seta_mn_cinza.gif width=10 height=7 border=0>', 15, div_top, 190, defOver, defBack, 'submenu', 'submenu');
menu[0][1] = new Item(' <b>Not&iacute;cias</b>', '#', '', defLength, 0, 1);
menu[0][2] = new Item(' <b>An&aacute;lises</b>', '#', '', defLength, 0, 2);
menu[0][3] = new Item(' <b>Cota&ccedil;&otilde;es</b>', '#', '', defLength, 0, 3);
menu[0][4] = new Item(' <b>&Iacute;ndices</b>', '#', '', defLength, 0, 4);
menu[0][5] = new Item(' <b>Indicadores Econ&ocirc;micos</b>', '#', '', defLength, 0, 5);
menu[0][6] = new Item(' <b>Agenda</b>', '#', '', defLength, 0, 6);
menu[0][7] = new Item(' <b>Conversor de Moedas</b>', 'javascript:fnpopup(\'' + sRotaAcesso + 'conversor_moedas/conversor.asp\', 405, 300)', '', defLength, 0, 0);
menu[0][8] = new Item(' <b>Minhas Cota&ccedil;&otilde;es</b>', sRotaAcesso + 'mc.asp', '', defLength, 0, 0);
menu[0][9] = new Item(' <b>Ita&uacute; Chat</b>', sRotaAcesso + 'chat/hp.aspx', '', defLength, 0, 0);
menu[0][10] = new Item(' <b>Sua Opini&atilde;o</b>', 'javascript:fnpopup(\'' + sRotaAcesso + 'analise/opiniao.asp\', 580, 450)', '', defLength, 0, 0);


//Menu Notícias
menu[1] = new Array();
menu[1][0] = new Menu(true, '<img src=../img/seta_mn_cinza.gif width=10 height=7 border=0>', 189, 0, 180, defOver1, defBack1, 'submenu', 'submenu');

menu[1][1] = new Item(' <b>Geral</b>', sRotaAcesso + 'noticia/hp.aspx?caderno=1', '', defLength, 0, 0);
menu[1][2] = new Item(' <b>Economia</b>', sRotaAcesso + 'noticia/hp.aspx?caderno=2', '', defLength, 0, 0);
menu[1][3] = new Item(' <b>Finan&ccedil;as</b>', sRotaAcesso + 'noticia/hp.aspx?caderno=3', '', defLength, 0, 0);
menu[1][4] = new Item(' <b>Pol&iacute;tica</b>', sRotaAcesso + 'noticia/hp.aspx?caderno=4', '', defLength, 0, 0);
menu[1][5] = new Item(' <b>Internacional</b>', sRotaAcesso + 'noticia/hp.aspx?caderno=5', '', defLength, 0, 0);
menu[1][6] = new Item(' <b>Esportes</b>', sRotaAcesso + 'noticia/hp.aspx?caderno=6', '', defLength, 0, 0);
menu[1][7] = new Item(' <b>Mais acessadas</b>', sRotaAcesso + 'noticia/mais_acessadas.aspx', '', defLength, 0, 0);


//Menu Análises
menu[2] = new Array();
menu[2][0] = new Menu(true, '<img src=../img/seta_mn_cinza.gif width=10 height=7 border=0>', 189, 0, 210, defOver1, defBack1, 'submenu', 'submenu');
menu[2][1] = new Item(' <b>An&aacute;lise Di&aacute;ria </b>', sRotaAcesso + 'analise/hp.aspx?tipo_analise=rd', '', defLength, 0, 0);
menu[2][2] = new Item(' <b>Mercado Financeiro em foco</b>', sRotaAcesso + 'analise/hp.aspx?tipo_analise=rf', '', defLength, 0, 0);
menu[2][3] = new Item(' <b>An&aacute;lise Semanal</b>', sRotaAcesso + 'analise/hp.aspx?tipo_analise=ra', '', defLength, 0, 0);
menu[2][4] = new Item(' <b>Perguntas e Respostas</b>', sRotaAcesso + 'analise/hp.aspx?tipo_analise=rq', '', defLength, 0, 0);


//Menu Cotações
menu[3] = new Array();
menu[3][0] = new Menu(true, '<img src=../img/seta_mn_cinza.gif width=10 height=7 border=0>', 189, 0, 180, defOver1, defBack1, 'submenu', 'submenu');
menu[3][1] = new Item(' <b>Todas</b>', sRotaAcesso + 'cotacao/hp.aspx?sessao=0', '', defLength, 0, 0);
menu[3][2] = new Item(' <b>Moedas</b>', sRotaAcesso + 'cotacao/hp.aspx?sessao=1', '', defLength, 0, 0);
menu[3][3] = new Item(' <b>Bolsas Mundiais</b>', sRotaAcesso + 'cotacao/hp.aspx?sessao=2', '', defLength, 0, 0);
menu[3][4] = new Item(' <b>Mercados Futuros</b>', sRotaAcesso + 'cotacao/hp.aspx?sessao=3', '', defLength, 0, 0);
menu[3][5] = new Item(' <b>Juros - Mercado Internacional</b>', sRotaAcesso + 'cotacao/hp.aspx?sessao=4', '', defLength, 0, 0);
menu[3][6] = new Item(' <b>T&iacute;tulos de d&iacute;vidas externas</b>', sRotaAcesso + 'cotacao/hp.aspx?sessao=5', '', defLength, 0, 0);



//Menu Indices
menu[4] = new Array();
menu[4][0] = new Menu(true, '<img src=../img/seta_mn_cinza.gif width=10 height=7 border=0>', 189, 0, 180, defOver1, defBack1, 'submenu', 'submenu');
menu[4][1] = new Item(' <b>Dados Financeiros</b>', sRotaAcesso + 'indice/hp.aspx', '', defLength, 0, 0);
menu[4][2] = new Item(' <b>Hist&oacute;rico</b>', sRotaAcesso + 'indice/historico.aspx', '', defLength, 0, 0);


//Menu Indicadores Economicos
menu[5] = new Array();
menu[5][0] = new Menu(true, '<img src=../img/seta_mn_cinza.gif width=10 height=7 border=0>', 189, 0, 180, defOver1, defBack1, 'submenu', 'submenu');
menu[5][1] = new Item(' <b>Dados Macroecon&ocirc;micos</b>', sRotaAcesso + 'indicador/hp.aspx?sessao=0', '', defLength, 0, 0);
menu[5][2] = new Item(' <b>Dados Setoriais</b>', sRotaAcesso + 'indicador/hp.aspx?sessao=1', '', defLength, 0, 0);
menu[5][3] = new Item(' <b>Proje&ccedil;&otilde;es Brasil</b>', sRotaAcesso + 'indicador/hp.aspx?sessao=2', '', defLength, 0, 0);


//Menu Agenda
menu[6] = new Array();
menu[6][0] = new Menu(true, '<img src=../img/seta_mn_cinza.gif width=10 height=7 border=0>', 189, 0, 180, defOver1, defBack1, 'submenu', 'submenu');
menu[6][1] = new Item(' <b>Calend&aacute;rio Semanal</b>', sRotaAcesso + 'agenda/hp.aspx', '', defLength, 0, 0);
menu[6][2] = new Item(' <b>Programa&ccedil;&atilde;o Ita&uacute; Chat</b>', sRotaAcesso + 'chat/hp.aspx', '', defLength, 0, 0);
menu[6][3] = new Item(' <b>Reuni&otilde;es do COPOM</b>', sRotaAcesso + 'agenda/reunioes.aspx', '', defLength, 0, 0);
menu[6][4] = new Item(' <b>Atas do COPOM</b>', sRotaAcesso + 'agenda/atas_copom.aspx', '', defLength, 0, 0);
