<%@page import="java.util.*,javax.sql.*,java.sql.*,javax.naming.*,m05bBD.m05bBanco,m05bClasses.*" %>	
<HTML>
	
	<%if ((session.getAttribute("objetoSeguridad")) == null)  { 
		// Verificar que no ha transcurrido el tiempo de sesion (web.xml) %>
			<%@ include file="/m05bControlAcceso.inc"%>
	<% } %>
	<%@ include file="/m05bIdioma.inc"%>
	
<HEAD>	
		<title><%= resTit.getString("titPDFAvisos")%></title>
		<link rel="stylesheet" href="<%=m05bConstantesPaginas.PATH_ESTILOS%>/m05bestilos.css" type="text/css">
		<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<BODY style="cursor: wait" onload="document.body.style.cursor='default';document.all['general'].style.visibility='visible';document.all['general'].style.cursor='default';" onunload="document.body.style.cursor='wait';document.all['general'].style.cursor='wait';">
<%	String matricula = request.getParameter("Codigo");
	m05bComun miComun = new m05bComun();
	String srcPDF = miComun.leerPropiedad("PDF.Avisos")+"?Codigo="+matricula;
%>
<div  id="general" style="POSITION: absolute;visibility:hidden;cursor: wait">
	<form NAME="formAvisosPDF" METHOD="POST">
		<TABLE class="general">
		  <tr>
		    <td align="right">
				<input type="button" class="boton" name="<%= res.getString("etBOT_RETORNAR")%>" value="<%= res.getString("etBOT_RETORNAR")%>" ONCLICK="JavaScript:fncRetornar();return true;" onMouseOver="top.status='<%= res.getString("etBOT_STATUSRETORNAR")%>'; return false" onMouseOut="top.status=''; return false" />
		  	</td>
		  </tr>
		  <tr>
		    <td>
				<embed name='pdfAvisos' src='<%=srcPDF%>' type="application/pdf" width='736' height='500'></embed>
		  	</td>
		  </tr>
		</TABLE>
	</form>
	<script type="text/javascript" src="<%=m05bConstantesPaginas.PATH_SCRIPTS%>/m05bMsControl.js"></script>
 
</div>
</body>
<SCRIPT language="JavaScript">
	function fncRetornar() {
		var docu = document.formAvisosPDF;
		docu.action="m05bRelAvisosJsp.jsp?Codigo=<%=matricula%>";
		docu.submit();
	}  // Fin funcion fncRetornar
</SCRIPT>
		
</HEAD>	
</html>