function nova_jan(newwindow)
{
   var desktop = window.open(newwindow,'new_window','toolbar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,menubar=yes,resizable=yes');
}
<!-- Script para o SELECT
function comboChange(comboBox, usado) { 
  if ( (comboBox.options[comboBox.selectedIndex].value != "") && 
       (comboBox.options[comboBox.selectedIndex].value != null) )
  { 
    window.open( comboBox.options[comboBox.selectedIndex].value);
  } 
  else 
  {
    alert("Por favor, escolha um estado e clique em \"OK\" novamente.");
  }
}
function AbreJanela(URL,Target)
{
	window.open(URL,Target);
}

function PegarURLdoPortal()
{
    var URLcompleta = new String();
    URLcompleta = location.href;
    return URLcompleta.substring(0, URLcompleta.search("NFe") + 3);
}


function DescobrirNivel()
{
    var URLcompleta = new String();
    URLcompleta = location.href;
    var index = 0;
    var count = 0;
    //count = URLcompleta.indexOf('/',32);
    while(URLcompleta.indexOf('/', index) !=  "-1"){
        count++;
        index = URLcompleta.indexOf('/', index) + 1;
    }
    return count;
}

function RetornaParaNivelBase()
{
    var qtNiveis = DescobrirNivel() - 4;
    var url = "./";
    for(var i = 0; i < qtNiveis; i++) {
      url += "../";
    }
    return url;
}

function buscarRaiz() 
{
    var url = location.href;
	var raiz = "";
    var cont = 0;
    var contaBarra = 0;
    var caractereDaVez = "";
	while(contaBarra < 4)
	{
	  caractereDaVez = url.charAt(cont);
	  raiz = raiz.concat(caractereDaVez);
	  if (caractereDaVez.indexOf('/') != "-1") 
	  {
          contaBarra++;
	  }
	  cont++;
	}
//    alert("-----> " + raiz);
	return raiz;
}

function adicionarHttps(URL) {
    return URL.replace('http://','https://');
}

function removerHttps(URL) {
    return URL.replace('https://','http://');
}

function abrirHttp(URL)
{
	var urlParaAbrir = (buscarRaiz() + URL);
	urlParaAbrir = removerHttps(urlParaAbrir);
	urlParaAbrir.replace('/./','/');
	window.open(urlParaAbrir, '_self');
}

function abrirHttps(URL)
{
	var urlSegura = (buscarRaiz() + URL);
	urlSegura = adicionarHttps(urlSegura);
	urlSegura.replace('/./','/');
	window.open(urlSegura, '_self');
}

function voltar()
{
    window.history.back();
}
function Iniciar(marquee) {

marquee.start();

}
function Parar(marquee) {

marquee.stop();

}
