var urlBradesco="../../../";var urlInst="../../../../institucional.bradesco.com.br/";var urlRi="../../../../www.bradescori.com.br/";
function col_fale(){popup(urlInst+'faleconosco_novo/recebe_dados.asp',450,450,0)}
function AbreRede(pag)
{switch(pag){
case 0:{local=urlInst+'NetRedeAtendimento/site/content/agencia/default.aspx?h=1';break;}
case 1:{local=urlInst+'NetRedeAtendimento/site/content/maquina/default.aspx?h=2';break;}
case 2:{local=urlInst+'NetRedeAtendimento/site/content/fone/default.aspx?h=3';break;}
case 3:{local=urlInst+'NetRedeAtendimento/site/content/cheque/default.aspx?h=4';break;}
case 4:{local=urlInst+'NetRedeAtendimento/site/content/drive/default.aspx?h=5';break;}
case 5:{local=urlInst+'NetRedeAtendimento/site/content/banco/default.aspx?h=6';break;}
case 6:{local=urlInst+'NetRedeAtendimento/site/content/cambio/default.aspx?h=7';break;}
case 7:{local=urlInst+'NetRedeAtendimento/site/content/nikkei/default.aspx?h=8';break;}
case 8:{local=urlInst+'NetRedeAtendimento/site/content/deficientes/default.aspx?h=9';break;}
default:local=urlInst+'RedeAtendimento/Index_Menu.asp';}window.open(local,'_blank','width=795,height=505,top=90,left=50,toolbar=no,copyhistory=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=0,left=0');}
function grafico(){
    var combo = document.getElementById('indiceGrafico');
    var indice = combo.options[combo.selectedIndex].value;
	popup(urlRi+'site/content/popup/grafico_intraday.asp@indice='+indice,273,351,0)}
function abasNCD(id){for(i=1;i<=3;i++){document.getElementById("img_"+i).style.display="none";document.getElementById("div_"+i).style.display="none";document.getElementById("img_sombra_"+i).style.display="none";}document.getElementById("img_sombra_"+id).style.display="block";document.getElementById("img_"+id).style.display="block";document.getElementById("div_"+id).style.display="block";}
function popup(url,w,h,s){var oW=window.open(url,'popup','width='+w+',height='+h+',directories=0,location=0,menubar=0,resizable=1,scrollbars='+s+',status=0,toolbar=0,marginleft=0,margintop=0,left=0,top=0');}
function iecompattest(){return(document.compatMode && document.compatMode!="BackCompat")?document.documentElement:document.body}
function ExibeOcultaComoUsar(op){var dsoctop=document.all?iecompattest().scrollTop:pageYOffset;document.getElementById("boxComoUsar").style.top=dsoctop+"px";if(op=="none"){timeC=setTimeout("defVisib('"+op+"')",50);}else{if(typeof(timeC)!='undefined'){clearTimeout(timeC);}defVisib(op);}}
function defVisib(op){document.getElementById("boxComoUsar").style.display=op;}

function escrevebanner(){if(screen.width>800){

document.write('<div style="position:absolute;" id="staticbuttons">');

document.write('<div class="BOX_Seguranca">');
document.write('<div class="ITEM_BS_Seg_txt"><img src="../../inc/seguranca/img/seguranca_txt.gif" width="213" ></div>');
document.write('<table  border="0" >');
  document.write('<tr>');
    document.write('<td>&nbsp;</td>');
    document.write('<td>&nbsp;</td>');
  document.write('</tr>');
  document.write('<tr>');
    document.write('<td colspan="2"><img src="../../inc/seguranca/img/seguranca.jpg" border="0"></td>');
    document.write('</tr>');  
  document.write('<tr>');
    document.write('<td width="64"><img src="../../inc/seguranca/img/pare.jpg" border="0"></td>');
    document.write('<td width="136" ><span class="style1">Pare</span><br>');
	  document.write('<span class="style2">O Bradesco <strong>nunca solicita que você digite todas ou mais ');
	document.write('de uma posição</strong> do seu Cartão Chave de Segurança ao utilizar ');
	document.write('os Canais de Conveniência Bradesco Dia&Noite. </span> </td>');
  document.write('</tr>');
  document.write('<tr>');
    document.write('<td>&nbsp;</td>');
    document.write('<td>&nbsp;</td>');
  document.write('</tr>');
  document.write('<tr>');
    document.write('<td><img src="../../inc/seguranca/img/sinal.jpg" border="0"></td>');
    document.write('<td><span class="style1">Atenção</span><br>'); 
      document.write('<span class="style2"><strong>Em hipótese alguma</strong> serão solicitados dados do seu Cartão e/ ou Senhas por e-mail.</span></td>');
  document.write('</tr>');
  document.write('<tr>');
    document.write('<td>&nbsp;</td>');
    document.write('<td>&nbsp;</td>');
  document.write('</tr>');
  document.write('<tr>');
    document.write('<td><img src="../../inc/seguranca/img/seta_cima.jpg" border="0"></td>');
    document.write('<td><span class="style1">Siga</span><br> ');
      document.write('<span class="style2"><strong>Utilize Corretamente </strong>seu Cartão Chave de Segurança Bradesco e fique tranqüilo.</span></td>');
  document.write('</tr>');
  document.write('<tr>');
    document.write('<td>&nbsp;</td>');
   document.write(' <td>&nbsp;</td>');
  document.write('</tr>');
  document.write('<tr>');
    document.write('<td colspan="2"><span class="style3">O uso do Cartão Chave de Segurança Bradesco é indispensável ');
	document.write('para evitar fraudes e garantir sua segurança. Se você ainda não possui o ');
	document.write('seu, retire-o <br>em uma Agência Bradesco. <br>');
	document.write('<br> ');
	document.write('<strong><a href="../controller.phtml@site=91@paramPag=bnflut_home" target="_blank" class="txtLink">Saiba mais.</a></strong></span></td>');
    document.write('</tr>');
document.write('</table>');
document.write('</div>');
document.write ('<scr'+'ipt src="../../js/bannerflutuante.js" type="text/javascript"></scr'+'ipt>');
document.write('</div>');
document.write('</div>');
}}
function ocBox(val){switch(val.value){case "sobre":location.href="../institucional/index.shtm";break;case "historia":location.href="../institucional/historia.shtm";break;case "premios":location.href="../institucional/premios.shtm";break;case "respSocial":location.href="../institucional/resp_social.shtm";break;case "simbologia":popup('../popup/simbologia.shtm','420','350','1');break;case "aaguiar":popup('../controller.phtml?site=76&url=/hotsites/amadoraguiar/index.htm','720','470','0');break;case "pabpae":popup(urlInst+'SolucoesRH/html/content/home/default.aspx?skin=1','775','528','0');break;case "american": window.open('http://www.americanexpress.com/br/homepage/default.shtml','_blank');break;case "javascript:;":break;default:MM_jumpMenu('window.open()',val,0);break;}}
function MM_jumpMenu(targ,selObj,restore){if(selObj.options[selObj.selectedIndex].value !=""){eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");if(restore) selObj.selectedIndex=0;}}
function jumpPJ(link){ window.open("../../../../www.bradescopessoajuridica.com.br/@pag="+link);}
function aaguiar(){ popup('../controller.phtml@site=76&url=_2Fhotsites_2Famadoraguiar_2Findex.htm','720','470','0'); }

function chama_url_simu(selObj,restore){
	if(selObj.options[selObj.selectedIndex].value != "SeguroDeVida")
	{x=selObj.selectedIndex;if(x!=0){if(selObj.options[selObj.selectedIndex].value !=""){eval(window.open(selObj.options[selObj.selectedIndex].value));if(restore) selObj.selectedIndex=0;}}}
	else
	{popup('../controller.phtml@site=119','770','480','0');}
}

function ReloadTop()
{ 
	/*try
	{
	parent.frames[0].frames.document.FormIB2001.AGN.focus(); 
	}
	catch(e)
	{
	var detect = navigator.userAgent.toLowerCase();
	if (detect.indexOf('mac') < 1)
	{top.location.href="../../../default.htm";}
	}*/
}

