
//Função que faz esconder e aparecer um objeto ID

function mostrar(id)
{
obj=document.getElementById(id);
obj.style.visibility="visible";
}

function esconder(id)
{
obj=document.getElementById(id);

obj.style.visibility="hidden";
}




// Validação de login e senha


function ver()
{
if
(document.F5.tex.value == "")
{
alert("Por favor, preencha o campo Login!");
document.F5.tex.focus();return false;
}

if
(document.F5.senha.value == "")
{
alert("Por favor, preencha o campo Senha!");
document.F5.senha.focus();return false;
}

}





// Função que abre nova janela na HOME PAGE

function New(URL)
{
window.open(URL,"principal","resizable=1,scrollbars=1, fullscreen=1");

}


function Pop(URL)
{
window.open(URL,"principal","resizable=0,scrollbars=0, width=950, height=650");

}

function AMADEUS(URL)
{
window.open(URL,"principal","resizable=1,scrollbars=1, width=700, height=600");

}

function INFRA(URL)
{
window.open(URL,"principal","resizable=1,scrollbars=0, width=800, height=650");

}
function BSP(URL)
{
window.open(URL,"principal","resizable=0,scrollbars=1, width=955, height=800, fullscreen=0");

}

function FORM(URL)
{
window.open(URL,"principal","resizable=0,scrollbars=1, width=650, height=600");

}




