
 function menu(combo)
 {
  var x = combo.selectedIndex;
  var endereco = combo.options[x].value;
  if (index = "index.html")
  if (pesquisa = "pesquisa.html")
  if (ensino = "ensino.html")
  if (curriculum = "curriculum.html")
  if (orientacao = "orientacao.html")
  if (bibliografica = "bibliografica.html")
  if (galeria = "galeria.html")
{ 
  selecao = window.open(endereco,"index");
  selecao = window.open(endereco,"pesquisa");
  selecao = window.open(endereco,"ensino");
  selecao = window.open(endereco,"curriculum");
  selecao = window.open(endereco,"orientacao");
  selecao = window.open(endereco,"bibliografica");
  selecao = window.open(endereco,"galeria");
}
}


var displaymode=1

if (displaymode==0)
document.write(iframecode)

function gone(){
var selectedurl=document.jumpy.example.options[document.jumpy.example.selectedIndex].value
if (document.getElementById&&displaymode==0)
document.getElementById("external").src=selectedurl
else if (document.all&&displaymode==0)
document.all.external.src=selectedurl
else{
if (!window.win2||win2.closed)
win2=window.open(selectedurl)
//else if win2 already exists
else{
win2.location=selectedurl
win2.focus()
}
}
}


function aumenta(obj){
    obj.height=obj.height*2;
	obj.width=obj.width*2;
}
function diminui(obj){
	obj.height=obj.height/2;
	obj.width=obj.width/2;
}


function protegercodigo() {
if (event.button==2||event.button==3){
alert('Obrigado por visitar nosso site Fórum Socioambiental');}
}
document.onmousedown=protegercodigo


function trocaOpcao(valor, objSel) {
    for (i=0; i < objSel.length; i++){
    qtd = valor.length;
        if (objSel.options[i].text.substring(0, qtd).toUpperCase() == valor.toUpperCase()) {
        objSel.selectedIndex = i;
            break;
        }
    }
}



