// ----------------------------------------------------------------------------------
//  Funçoes Para o Cpovo.net
//  14 de Novembro de 2002 - Evandro
// ----------------------------------------------------------------------------------


// ----------------------------------------------------------------------------------
//  Função utilizada para abertura da Rádio Guaíba ao Vivo.
// ----------------------------------------------------------------------------------


function abreBanco_OOOO()
{
Uf = document.AcessoRapido.banco[document.AcessoRapido.banco.selectedIndex].value
//alert (Uf);

	if (document.AcessoRapido.banco.selectedIndex!=0){
           window.open(document.AcessoRapido.banco[document.AcessoRapido.banco.selectedIndex].value) //,'','scrollbars=1,toolbar=0,location=0,directories=1,status=1,menubar=1,resizable=1,width=680,height=450');
    }
}


function links(site)
{
 downloadWindow=window.open(site,"1","width=400,height=320,scrollbars=no");
}
	  
// ----------------------------------------------------------------------------------
	

function reportagens(site)
{

downloadWindow=window.open(site,"1","width=580,height=360,scrollbars=no");
}


// ----------------------------------------------------------------------------------
//  Função utilizada para abertura da Rádio Guaíba ao Vivo.
// ----------------------------------------------------------------------------------

function logo(site)
{
 downloadWindow=window.open(site,"1","width=400,height=500,scrollbars=no");
}
	  
// ----------------------------------------------------------------------------------



// ----------------------------------------------------------------------------------
//  Funções utilizada no Menu.
// ----------------------------------------------------------------------------------

	
function mOvr(src,clrOver) 
{
if (!src.contains(event.fromElement)) {
src.style.cursor = 'hand';
src.bgColor = clrOver;
}
}

function mOut(src,clrIn) 
{
if (!src.contains(event.toElement)) {
src.style.cursor = 'default';
src.bgColor = clrIn;
}
}

function mClk(src) {
if(event.srcElement.tagName=='TD'){
src.children.tags('A')[0].click();
}
}


function abreBanco(){
	if (document.f1.banco.selectedIndex!=0){
           window.open(document.f1.banco[document.f1.banco.selectedIndex].value,'','scrollbars=1,toolbar=0,location=0,directories=1,status=1,menubar=1,resizable=1,width=680,height=450');
    }
}


// Função que limpa a senha. 
// Quando o cliente entre no atreves do site no webmail sua senha é limpa.

function LimpaSenha()
	{  
	   document.f.submit();
	   document.f.Password.value = '' 
	}
	
	
function janela()
        
	{
		janelaWindow=window.open("informa.htm","_blank","width=430,height=230,scrollbars=no");
	}
	
function RedirecionaEmail() 
	{
	  window.parent.Executa.focus();
	  document.RedirectEmail.Login.value = document.f.UserName.value;
	  document.RedirectEmail.Senha.value = document.f.Password.value;
	  document.RedirectEmail.submit(); 
 	  document.f.Password.value = ''  
	}

// ----------------------------------------------------------------------------------



