function abrirJanela(arquivo, largura, altura) {
  novaJanela = window.open(arquivo,'novaJanela','location=0,status=0,resizable=1,scrollbars=1,width='+largura+',height='+altura);
  centralizarJanela(largura, altura);
}
function centralizarJanela(largura, altura){
  esquerda = (screen.availWidth/2) - (largura/2);
  topo = (screen.availHeight/2) - (altura/2);
  novaJanela.moveTo(esquerda-10, topo-10);
}
function mostrarAviso(aviso) {
	alert(aviso);
}
function ajustarEventListener(eventListener) {
  document.onmouseover = eventListener;
}
function esconderMostrarSelect(acao) {
	var sel=document.getElementsByTagName("SELECT");
	for(i=0; i<sel.length; i++) {
		sel[i].style.visibility = acao;
	}
}
function avaliarObjeto(event) {
	objeto = window.event.srcElement;
	strObjeto = objeto.toString();
	if (strObjeto.substr(0,4) == "http") {
		esconderMostrarSelect("hidden");
	} else {
		esconderMostrarSelect("visible");
	}
}
