<!--
	//Modificación  	: M001
	//Fecha Modificación 	: 20/12/2007
	//Autor			: Cristian Suazo Soto
	//Empresa		: Anticipa
	//Objetivo 		: Se agrego un tag <br> para poder dar un salto de línea y proporcionar separación entre la huella y el nombre de usuario.
	
	/*
	Modificación  		: M002
	Fecha Modificación 	: 22/09/2008
	Autor				: Nataly Muńoz
	Empresa				: Anticipa
	Objetivo 			: Se agrego boton cerrar sesión y el link actualizar datos
	*/
	
	var Fecha		= '';
	var Usuario		= '';
	var Puntaje		= '';
	var Huella		= new Array();	
	var indHuella	= -1;
	var tmpHuella	= '';
	var InicioBusq = 2
	
	try
	{
		/* Fecha */
		Fecha = Huella_dll[0].replace('#FECHA#˙','');
		Fecha = Fecha.replace('˙1˙','');
	
		/* Usuario */
		Usuario = Huella_dll[1].replace('#USUARIO#˙','');
		Usuario = Usuario.replace('˙1˙','');

		/* Puntaje */
		if ((Huella_dll.length > 2) && (Huella_dll[2].indexOf('#PUNTAJE#') > -1))
		{
			Puntaje = Huella_dll[2].replace('#PUNTAJE#˙','');
			Puntaje = Puntaje.replace('˙1˙','');
			//Puntaje = "0";
			InicioBusq = 3;
		}


		for(i=InicioBusq;i<Huella_dll.length;i++)		{
			
			tmpHuella = Huella_dll[i].split('˙');
			
			if (tmpHuella.length == 4)
			{				
				if (parseInt(tmpHuella[2]) == 1)
				{
					indHuella++;
					Huella[indHuella]		= new Array(3);
					Huella[indHuella][0] = tmpHuella[0];	// Texto Huella;
					Huella[indHuella][1] = tmpHuella[1];	// Url Huella;
					Huella[indHuella][2] = tmpHuella[3];	// Parametros Huella;

					
				}
				else if (!isNaN(parseInt(tmpHuella[2])))
				{
					Huella[indHuella][2] = tmpHuella[3];	// Parametros Huella;
				}
			}			
		}

		document.write('<div id="bloquecontenido">')
		if (indHuella >= 0)
		{
			document.write('<h2>');
			for(i=0;i<Huella.length;i++)
			{
				
				if (i < (Huella.length-1))
				{
					document.write('<a href="'+ Huella[i][1]+Huella[i][2] +'">'+ Huella[i][0] + '</a> > ');
				}
				else
				{
					document.write('<a href="'+ Huella[i][1]+Huella[i][2] +'"><strong>'+ Huella[i][0] + '</strong></a>');
				}
			}			
			document.write('</h2>');
		}		
		
		/* M002 */
		if (sLogin)
		{			
	/* M001 */	document.write('<br>') 
			document.write('<table width="430" border="0" cellspacing="0" cellpadding="0">');			
			document.write('	<tr>');
			document.write('		<td width="200"><h4>'+ Usuario +'</h4></td>');
			document.write('		<td width="230"><h2><a href="/browse.asp?pagina=web/actualizacion_datos1.htm">Actualizar Datos personales</a> &nbsp;&nbsp;<a href="/browse.asp?pagina=web/cerrar_sesion.htm&accion=logout"><img src="NP/images/btn_cerrar_ses.gif" width="83"  border="0" align="top"></a></h2></td>');
			document.write('  </tr>');
			document.write('</table>');
		}
		document.write('</div>')
		/* M002 */
	}
	catch(er){}	

//-->
