<%@page import="java.util.*,javax.sql.*,java.sql.*,javax.naming.*,m05bClasses.*" %>
<%@include file="/mantenimientosJSP/includes/m05b.inc"%>

<%
	// _______________________________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"%> 
<%  } %>
	<%@ include file="/m05bIdioma.inc"%>


<HTML>
<head>
		<title><%= resTit.getString("titVehiBusqueda")%></title>
		<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
		<link rel="stylesheet" href="<%=m05bConstantesPaginas.PATH_ESTILOS%>/m05bestilos.css" type="text/css">
		<script language="javascript1.2" src="<%=m05bConstantesPaginas.PATH_SCRIPTS%>/formateador.js"></script>
		<script language="javascript1.2" src="<%=m05bConstantesPaginas.PATH_SCRIPTS%>/m05Funciones.js"></script>
		<script language="javascript1.2" src="<%=m05bConstantesPaginas.PATH_SCRIPTS%>/m05Horas.js"></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
			var rutaCabecera;	//Camino de migas
			var detActual;		//Ventana actual
			urlIdioma = "<%=m05bConstantesPaginas.VEH_GESTION_BUSQUEDA%>";
			detActual = '<%=resCM.getString("cmVehiBusqueda")%>';
			rutaCabecera="";
			//rutaCabecera = "<%=m05bConstantesPaginas.DATOS_CABECERA%>" + urlIdioma + "'>\\"+detActual+"</a>";
		</SCRIPT>
		<%@ include file="/mantenimientosJSP/includes/m05Cabecera_c.jsp"%>

 <p>
<table  width="100%" height="100%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr><td colspan=3></td></tr>
	<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>
		<td>&nbsp</td>
		<td width="98%">
		 <FORM NAME="FormBusqVehiculo" METHOD="POST">
				<!-- Calendarios -->
				<% m05bComun comun = new m05bComun(); %>
				<%	String m05bCalendarEstilo = comun.leerPropiedad("m05bEstilos.Calendario");  %>
				<%=m05bCalendarEstilo%>
				<%	String m05bCalendarScripts = comun.leerPropiedad("m05bScripts.Calendario");  %>
				<%=m05bCalendarScripts%>
				<TABLE class="general">
					 <tr><td align="right" colspan="8">
							<input type="button" class="boton" name="<%= res.getString("etBOT_BUSCAR")%>" value="<%= res.getString("etBOT_BUSCAR")%>" ONCLICK="JavaScript:fncBuscar();return false;" onMouseOver="top.status='<%= res.getString("etBOT_STATUSBUSCAR")%>'; return false" onMouseOut="top.status=''; return false" />
					 </td></tr>
				</TABLE> 	 
				 <TABLE class="general">
				    <tr>
                       <td valign="top" align="left" class="inputFieldTitle"><%= res.getString("etBastidor")%></td>
                       <td valign="top" align="left"> <INPUT class="inputField" TYPE="TEXT" NAME="NSerie" VALUE="<%=((request.getParameter("NSerie")==null)?"":request.getParameter("NSerie"))%>" size="20" maxlength="20"/></td>                       
                   </tr> 
				   <tr>                      
				       <td valign="top" align="left" class="inputFieldTitle"><%= res.getString("etExpediente")%></td>
				       <td valign="top" align="left"> <INPUT class="inputField" TYPE="TEXT" NAME="Expdte" VALUE="<%=((request.getParameter("Expdte")==null)?"":request.getParameter("Expdte"))%>" size="15" maxlength="15"/></td>
				   </tr>  
				   <tr>                      				     
      				   <td valign="top" align="left" class="inputFieldTitle" ><%= res.getString("etTarjeta")%><%=res.getString("etViaT")%></td>				       
      				   <td valign="top" align="left"> <INPUT class="inputField" TYPE="TEXT"  NAME="TarjetaV"  VALUE="<%=((request.getParameter("TarjetaV")==null)?"":request.getParameter("TarjetaV"))%>" size="20" maxlength="20"/></td>
      			   </tr>
				   <tr>                            			   
      				   <td valign="top" align="left" class="inputFieldTitle" ><%= res.getString("etTarjeta")%><%=res.getString("etCombustible")%></td>				       
                       <td valign="top" align="left"> <INPUT class="inputField" TYPE="TEXT"  NAME="TarjetaG"  VALUE="<%=((request.getParameter("TarjetaG")==null)?"":request.getParameter("TarjetaG"))%>" size="20" maxlength="20"/></td>      				   
      			   </tr>
				   <tr>                            			   
      				   <td valign="top" align="left" class="inputFieldTitle" ><%= res.getString("etAutorizaApar")%></td>
      				   <td valign="top" align="left"> <INPUT class="inputField" TYPE="TEXT" NAME="Autoriza" VALUE="<%=((request.getParameter("Autoriza")==null)?"":request.getParameter("Autoriza"))%>" size="15" maxlength="15"/></td>
      			   </tr>
				   <tr>                            			   
		               <td valign="top" align="left" class="inputFieldTitle" ><%= res.getString("etInfAdicional1")%></td>
		               <td valign="top" align="left"> <INPUT class="inputField" TYPE="TEXT" NAME="Inf1" VALUE="<%=((request.getParameter("Inf1")==null)?"":request.getParameter("Inf1"))%>" size="35" maxlength="100"/> </td>
		           </tr>
				   <tr>                      		           
		               <td valign="top" align="left" class="inputFieldTitle" ><%= res.getString("etInfAdicional2")%></td>      				   
		               <td valign="top" align="left"><INPUT class="inputField" TYPE="TEXT" NAME="Inf2" VALUE="<%=((request.getParameter("Inf2")==null)?"":request.getParameter("Inf2"))%>" size="35" maxlength="100"/></td>		               
		           </tr>
				   <tr>                      		           
                       <td valign="top" align="left" class="inputFieldTitle"  ><%= res.getString("etNotas")%></td>
                       <td valign="top" align="left"> <TEXTAREA class="inputField" WRAP="physical" name="Notas"  cols="75" rows="5"><%=((request.getParameter("Notas")==null)?"":request.getParameter("Notas"))%></TEXTAREA></td>
                   </tr>
				   <tr>                                         
                       <td valign="top" align="left" class="inputFieldTitle"><%= res.getString("etMatriculaAnterior")%></td>
                       <td valign="top" align="left"><INPUT class="inputField" TYPE="TEXT" NAME="MatriculaAnt" VALUE="<%=((request.getParameter("MatriculaAnt")==null)?"":request.getParameter("MatriculaAnt"))%>" size="12" maxlength="20" /></td>                       
                   </tr>

				</TABLE>
		</FORM>
		</td>
	</tr>
	<tr>
			<td colspan="3"><%@ include file="/mantenimientosJSP/includes/m05Pie_c.jsp"%></td>
	</tr>
</table>
<script>
document.FormBusqVehiculo.NSerie.focus();
</script>
<SCRIPT language='javascript'>
	function fncBuscar (){
           doc=document.FormBusqVehiculo;
           doc.action="m05bRelVehiculosJsp.jsp";
           doc.submit();
    }
    setTimeout('initSlide();', 1);
</SCRIPT>
</BODY>
</HTML>