/* Verifica se o browser suporta o DOM */
var DHTML;
DHTML = (document.getElementById || document.all || document.layers);
/* Função micro API facilita a manipulação de objetos pelo DOM e modo cross browser */
function getObj(id)
{
  if (document.getElementById)
	  {
			this.obj = document.getElementById(id);
			this.style = document.getElementById(id).style;
	  }
  else if (document.all)
	  {
			this.obj = document.all[id];
			this.style = document.all[id].style;
	  }
  else if (document.layers)
	  {
			this.obj = document.layers[id];
			this.style = document.layers[id];
	  }
}
function novaPagina(id){
	if(!DHTML){
		return;	
	}
	var direcao = new getObj(id);
	direcao.obj.target = "_blank";
}
