// JavaScript Document
    function abrir(nome, url, largura, altura, scrollbars, posX, posY) {
    	if (!posX) posX = Math.ceil((screen.width - largura) / 2);
    	if (!posY) posY = Math.ceil((screen.height - altura) / 2);
    		parametros = "width=" + largura + ",height=" + altura + ",left=" + posX + ",top=" + posY;
    	if (scrollbars) parametros += ",scrollbars=yes";
    	janela = window.open(url, nome, parametros);
    	janela.focus();
    }
