function InformacionNavegacion()
{
	//Codigo del usuario conectado
	this.coUsuario = "";
	
	//Codigo identificador del la instancia del PN
	this.coInstancia = 0;
	
	//Texto que identifica el entorno y el servidor
	this.teEntorno = "";
	
	//Identificador de pantalla
	this.coPantalla = "";
	
	//Array de cadenas que describe el contexto de navegacion
	this.contexto = null;
	
	this.obtenerHTML = function()
	{
		return this.obtenerInformacion(true);
	}
	
	this.obtenerTexto = function()
	{
		return this.obtenerInformacion(false);
	}
	
	this.obtenerInformacion = function(boEsHTML)
	{
		var saltoLinea = "<br />";
		var sangria = "&nbsp;&nbsp;&nbsp;";
		if (!boEsHTML)
		{
			saltoLinea = '\n';
			sangria = '   ';			
		}
		
		var texto = "Usuario: ";
		texto = texto + this.coUsuario;
		texto = texto + saltoLinea;
		
		texto = texto + "Instancia: ";
		texto = texto + this.coInstancia;
		texto = texto + saltoLinea;
		
		texto = texto + "Entorno: ";
		texto = texto + this.teEntorno;
		texto = texto + saltoLinea;
		
		texto = texto + "Pantalla: ";
		texto = texto + this.coPantalla;
		texto = texto + saltoLinea;
		
		texto = texto + "Contexto: " + saltoLinea;
		
		for (i = 0; i < this.contexto.length; i++)
		{
			texto = texto + sangria + this.contexto[i] + saltoLinea;
		}		
		return texto;
	}
}
