var menu = new Array();

var sRotaAcesso = "http://www.itau.com.br/conta_corrente/";
//var sRotaAcesso = "http://ww33.itau/portal_itau/conta_corrente/";

var i = window.location.href.indexOf("home_cc.htm");
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>O que &eacute; MaxiConta Ita&uacute;</b>', sRotaAcesso +'maxiconta.htm', 'itauhome', defLength, 0, 0);
menu[0][2] = new Item(' <b>Outros Tipos de MaxiConta</b>', '#', '', 35, 0, 1);
menu[0][3] = new Item(' <b>Tabela Geral de Tarifas</b>', '#', '', defLength, 0, 2);
menu[0][4] = new Item(' <b>Servi&ccedil;o de conveni&ecirc;ncia</b>', '#', '', defLength, 0, 3);
menu[0][5] = new Item(' <b>Cart&otilde;es Ita&uacute;</b>', '#', '', defLength, 0, 4);
menu[0][6] = new Item(' <b>Transferência automática de salário para o Itaú</b>', sRotaAcesso +'transferencia_salario_itau.htm', 'itauhome', defLength, 0, 0);

//Menu Conta-corrente
menu[1] = new Array();
menu[1][0] = new Menu(true, '<img src=img/seta_mn_cinza.gif width=10 height=7 border=0>', 189, 5, 200, defOver1, defBack1, 'submenu', 'submenu');
menu[1][1] = new Item(' <b>MaxiConta Card Ita&uacute;</b>',  sRotaAcesso +'maxiconta_card.htm', 'itauhome', defLength, 0, 0);
menu[1][2] = new Item(' <b>MaxiConta Universit&aacute;ria Ita&uacute;</b>',  sRotaAcesso +'maxiconta_universitaria.htm', 'itauhome', defLength, 0, 0);
menu[1][3] = new Item(' <b>First Conta Ita&uacute;</b>',  sRotaAcesso +'maxiconta_first.htm', 'itauhome', defLength, 0, 0);


//Tabela Geral de Tarifas
menu[2] = new Array();
menu[2][0] = new Menu(true, '<img src=img/seta_mn_cinza.gif width=10 height=7 border=0>', 189, -1, 220, defOver1, defBack1, 'submenu', 'submenu');
menu[2][1] = new Item(' <b>Tarifas MaxiConta Ita&uacute;</b>',  sRotaAcesso +'tarifas/tar_maxiconta.htm', 'itauhome', defLength, 0, 0);
menu[2][2] = new Item(' <b>Pacotes Ita&uacute;</b>',  sRotaAcesso +'tarifas/tar_pacote.htm', 'itauhome', defLength, 0, 0);
menu[2][3] = new Item(' <b>Tarifas Ita&uacute;</b>',  sRotaAcesso +'tarifas/tar_itau.htm', 'itauhome', defLength, 0, 0);
menu[2][4] = new Item(' <b>iConta Itaú</b>',  'javascript:getUrl();', '', defLength, 0, 0);

//Servicos de conveniencia
menu[3] = new Array();
menu[3][0] = new Menu(true, '<img src=img/seta_mn_cinza.gif width=10 height=7 border=0>', 189, -1, 350, defOver1, defBack1, 'submenu', 'submenu');
menu[3][1] = new Item(' <b>DDA Ita&uacute;</b>', sRotaAcesso +'dda.htm', 'itauhome', defLength, 0, 0);
menu[3][2] = new Item(' <b>Cheque Estrela Ita&uacute;</b>',  sRotaAcesso +'serv_cheque_estrela.htm', 'itauhome', defLength, 0, 0);
menu[3][3] = new Item(' <b>Tal&otilde;es de cheques em domic&iacute;lio</b>',  sRotaAcesso +'serv_cheque_domicilio.htm', 'itauhome', defLength, 0, 0);
menu[3][4] = new Item(' <b>Transfer&ecirc;ncia autom&aacute;tica de contas entre ag&ecirc;ncias</b>',  sRotaAcesso +'serv_transferencia.htm', 'itauhome', defLength, 0, 0);
menu[3][5] = new Item(' <b>D&eacute;bito autom&aacute;tico</b>',  sRotaAcesso +'serv_debito_auto.htm', 'itauhome', defLength, 0, 0);
menu[3][6] = new Item(' <b>D&eacute;bito autom&aacute;tico de contribui&ccedil;&atilde;o ao INSS</b>',  sRotaAcesso +'serv_debito_inss.htm', 'itauhome', defLength, 0, 0);

//Cartao de debito
menu[4] = new Array();
menu[4][0] = new Menu(true, '<img src=img/seta_mn_cinza.gif width=10 height=7 border=0>', 189, -1, 285, defOver1, defBack1, 'submenu', 'submenu');
menu[4][1] = new Item(' <b>Cart&atilde;o Ita&uacute;</b>',  sRotaAcesso +'crt_eletronico.htm', 'itauhome', defLength, 0, 0);
menu[4][2] = new Item(' <b>Cart&atilde;o Ita&uacute; M&uacute;ltiplo</b>',  sRotaAcesso +'crt_itau_multiplo.htm', 'itauhome', defLength, 0, 0);

//Função utilizada pelo item de menu "iConta Itaú"
function getUrl()
{
	window.open('http://www.itau.com.br/conta_corrente/tarifas/tar_itau_iconta_gr.htm','iconta','location=no,status=no,menubar=no,scrollbars=auto,resizable=no,top=0,left=0,width=780,height=430');
}