<?
session_start();
if ($_SESSION['estado'] != "ON")
		{
		?>
		<script>
			parent.location.href = 'index.php';
		</script>
		<? 
		exit();
		}
?>
<title>Recuperar Boleta</title>
<style type="text/css">
<!--
.Estilo15 {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; }
-->
</style>
<?
include "../conex.php";
?>

<table width="100%"align="center" border="0">
  <tr>
    <td width="25%"><div align="center"><img src="../Images/logo.png" width="120" height="120"></div></td>
	<td width="50%"><div align="center"><strong><font size="6">Ingrese boleta a recuperar: </font></strong></div></td>
	<td width="25%">&nbsp;</td>
  </tr>
  <tr>
  <td width="25%">&nbsp;</td>
  <td width="50%"><div align="center"><input name="nrobol" type="text" id="nrobol" size="10"></div></td>
  <td width="25%">&nbsp;</td>
  </tr>
  <tr>
  <td width="25%">&nbsp;</td>
  <td width="50%"><div align="center"><input name="enviar" type="submit" id="enviar" value="Buscar"  onClick="JavaScript:busca()"></div></td>
  <td width="25%">&nbsp;</td>
  </tr>
</table>




<script languaje="javascript">
	
	function busca()
	{
	var folio = document.getElementById('nrobol').value;
	window.location.href = "../LibFE/visor/visor_boleta.php?documento=BOLETA_39_"+folio+"_f.xml";
	}

	</script>