<%@page import="java.io.*,java.util.*,javax.sql.*,java.sql.*,javax.naming.*,java.text.*, m05bClasses.*" %>
<!-- Para poder mostrar caracteres especiales en los mensajes javascript -->
<%@page contentType="text/html; charset=UTF-8" %>
<HTML>
	
<%	// _______________________________XLNETs______________________________________
	// Evaluar variable de session que indica si esta conectado a XLNets
	if (session.getAttribute("objetoSeguridad") == null)  { 
		// Verificar que no ha transcurrido el tiempo de sesion (web.xml) %>
			<%@ include file="/m05bControlAcceso.inc"%> 
<%	} 
	String persona = (String) session.getAttribute("persona");
%>	
<%@ include file="/m05bIdioma.inc"%>

<head>
        <title><%= resTit.getString("titLstTarjSolicitud")%></title>
		<link rel="stylesheet" href="<%=m05bConstantesPaginas.PATH_ESTILOS%>/m05bestilos.css" type="text/css">
		<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
 		<!--script language="javascript1.2" src="<%//=m05bConstantesPaginas.PATH_SCRIPTS%>/m05Fechas.js"></script-->
		<script language="javascript1.2" src="<%=m05bConstantesPaginas.PATH_SCRIPTS%>/m05Funciones.js"></script>
		<SCRIPT language="javascript">
					var comboDesc=new Array();
		</script>
			
		<script language="JavaScript">
			    function fncImprimir() {
					var docu= document.formSolicitud;			    
			        if (docu.CTA.value==""){
			            alert(dameAlerta(idioma, 47));
			        }else{
					var url="m05bTarjetaPDFSoliJsp.jsp?Tipo="+document.formSolicitud.TipoH.value;
			        docu.action=url;
			        docu.submit();
			        }
			    }            
		    	
		</SCRIPT>
			
</head>
<BODY style="cursor: wait" onkeydown="cancelaEnter();" onload="document.body.style.cursor='default';InitMenu();" onunload="document.body.style.cursor='wait';">
<div id='p01popUpWindowCalendar' style='position:relative; top:15px left:150px'></div>
 <SCRIPT language=JavaScript>
	var urlIdioma;		//URL recarga en funcion del idioma
	urlIdioma = "<%=m05bConstantesPaginas.LST_TAR_SOLICITUD%>";
	var rutaCabecera;	//Camino de migas
	<% String ruta="/m05bParqueMovilWar/m05bImpSoliTarjetaJsp.jsp" ; %>
	detActual='<%= resCM.getString("cmLstTarjSolicitud")%>';
    //rutaCabecera = "<a style='text-decoration:none; font-size:8pt; color:yellow; font-family:verdana' href='" + urlIdioma + "'>\\<%= resCM.getString("cmLstTarjSolicitud")%></a>";
    rutaCabecera="";
    
 </SCRIPT>
 <%@ include file="/mantenimientosJSP/includes/m05Cabecera_c.jsp"%>
 	 
<%
	String situacion = "";
%>
<p>
<table  width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr valign="top">
		<td width="2%">
			<DIV ID="thessm" style="visibility:hidden;Position : Absolute ;Left : 0 ;Top : 80 ;Z-Index : 20;">
	      		<DIV ID="thessm2" style="Position : Absolute ;Left : (-150) ;Top : 0 ;Z-Index : 20;">
	                <%@ include file="/m05bMenuInicial.inc"%>
	       		</DIV>
			</DIV>
		<td>&nbsp</td>
		<td width="98%">
			<!-- Calendarios -->
       <FORM NAME="formSolicitud" METHOD="POST">
	<% 		m05bCombo miCombo2 = new m05bCombo();%>

			<TABLE class="general">
			    <tr align="right">
					  <!--td width="100%" align="right"><INPUT TYPE="IMAGE" style="cursor:hand" VALUE="Aceptar" ONCLICK="JavaScript:fncImprimir();return false;" onMouseOver="top.status='Imprimir'; return true" onMouseOut="top.status=''; return true" src="<%=m05bConstantesPaginas.PATH_IMAGENES%>/imprimir.gif"></td-->
                      <td width="100%" align="right"><input type="button" class="boton" name="<%= res.getString("etBOT_PRESENTAR")%>" value="<%= res.getString("etBOT_PRESENTAR")%>" ONCLICK="JavaScript:fncImprimir();return false;" onMouseOver="top.status='<%= res.getString("etBOT_STATUSPRESENTAR")%>'; return false" onMouseOut="top.status=''; return false" /></td>				      					  					  
				</tr>
			</TABLE width="100%">
		   		  <TABLE class="general" width="100%">
				   <tr> 
		             <td align="center"  class="inputFieldTitle"><%= res.getString("etBancoCuenta")%></td>
		             <td align="center"  class="inputFieldTitle"><%= res.getString("etCombustible")%></td>
		             <td align="center"  class="inputFieldTitle"><%= res.getString("etViaT")%></td>
		             <td align="center"  class="inputFieldTitle"><%= res.getString("etTodas")%></td>
                   </tr>							 	 
                   <tr>
   			          <td align="left" width="40%">
                        <select name="CTA" class="inputFieldOblig" onKeypress="buscar_op(this,this)" onblur="borrar_buffer()" onclick="borrar_buffer()">
		                    <option type=submit size="25"></option>
		                    <%=miCombo2.popCuentaBanco()%>
                        </select>
                      </td>
  		              <td align="left" width="10%"> <input checked type="Radio" class=inputFieldTitle onclick="javascript:document.formSolicitud.TipoH.value='<%=m05bConstantes.TAR_GASTO%>'"; NAME="Tipo"   VALUE="<%=m05bConstantes.TAR_GASTO%>" width="45%"  border='0'/></td>
                      <td align="left" width="8%">  <input type="Radio" class=inputFieldTitle onclick="javascript:document.formSolicitud.TipoH.value='<%=m05bConstantes.TAR_VIAT%>'";  NAME="Tipo"  VALUE="<%=m05bConstantes.TAR_VIAT%>" width="40%" border='0'/> </td>		  
                      <td align="left" width="42%"> <input type="Radio" class=inputFieldTitle onclick="javascript:document.formSolicitud.TipoH.value='0'";  NAME="Tipo"  VALUE="2" width="40%" border='0'/> </td>		  	   
		          </tr>
				</table>	 					 

                <input type="hidden" name="TipoH" value='<%=m05bConstantes.TAR_GASTO%>'>		            
</FORM>		    		
		</td>
	</tr>
	<tr>
			<td colspan="3"><%@ include file="/mantenimientosJSP/includes/m05Pie_c.jsp"%></td>
	</tr>
</table>
<SCRIPT language='javascript'>
    setTimeout('initSlide();', 1);
</SCRIPT>
</BODY>
</HTML>