<?php
include("stilos/config.inc.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>.:CONTROL DE ALMACEN COMBUSTIBLE:.</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">
<link href="Estilos.css" rel="stylesheet" type="text/css">
<link href="stilos/Estilos.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE=javascript>
function fn(form,field)
{
var next=0, found=false
var f=form
if(event.keyCode!=13) return;
for(var i=0;i<f.length;i++) {
if(field.name==f.item(i).name){
next=i+1;
found=true
break;
}
}
while(found){
if( f.item(next).disabled==false && f.item(next).type!='hidden'){
f.item(next).focus();
break;
}
else{
if(next<f.length-1)
next=next+1;
else
break;
}
}
}
</SCRIPT>
<SCRIPT>
function enviar_url(form,url)
{
	form.submit();
}
</SCRIPT>
<script> 
function centrar() { 
    iz=(screen.width-document.body.clientWidth) / 2; 
    de=(screen.height-document.body.clientHeight) / 2-50; 
    moveTo(iz,de); 
}     
</script>
</head>

<body background="imagenes/fondo.jpg" onLoad="document.forms[0].elements[0].focus()">

<table width="267" border="0" align="center" cellpadding="0" cellspacing="0" >
  <tr valign="top" >
    <td colspan="4">
    <div align="left" class="lblCampo"></div></td>
  </tr>
  <tr class="lblCampo" >
    <td colspan="4"><div align="center">
        <table width="250" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="25"><img src="estilo_tabla/parte_sup_izq.gif" width="25" height="25"></td>
            <td width="409" background="estilo_tabla/parte_sup_cen.gif" valign="bottom">
			<div align="left" class="lblTitulo" >verificacion de usuario </div>			</td>
            <td width="25"><img src="estilo_tabla/parte_sup_der.gif" width="25" height="25"></td>
          </tr>
          <tr>
            <td width="25" background="estilo_tabla/parte_med_izq.gif">&nbsp;</td>
            <td width="409" height="86" background="estilo_tabla/parte_med_cen.gif"><div align="center">
              
                <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
				<form name="form1" method="post" action="paginas/cvp_index_valida.php">
                  <tr class="parrafo">
                    <td height="18" colspan="3" class="normal">&nbsp;</td>
                    </tr>
                  <tr class="parrafo">
                    <td width="32%" height="18" class="normal"><div align="left" class="lblCampo">
                      <div align="right">Usuario</div>
                    </div></td>
                    <td width="4%" class="normal"><div align="left">:</div></td>
                    <td width="64%">
                      <div align="left">
                        <input name="login" type="text" class="lblForm1" id="login2" onkeyup=fn(this.form,this)>
                    </div></td>
                  </tr>
                  <tr class="parrafo">
                    <td height="18" class="normal"><div align="left" class="lblCampo">
                      <div align="right">Clave</div>
                    </div></td>
                    <td height="18" class="normal"><div align="left">:</div></td>
                    <td>
                      <div align="left">
                        <input name="clave" type="password" class="lblForm1" id="clave" onKeyUp=fn(this.form,this)>
                    </div></td>
                  </tr>
                  <tr class="parrafo">
                    <td height="18" colspan="2" class="normal">&nbsp;</td>
                    <td>
                      <div align="left">
					  
                        <input name="Button" type="button" value="Aceptar" style="<?=$stylo['st2']?>" class="botira" onClick="enviar_url(form1,'paginas/cvp_index_valida.php')" >
						<!-- onClick="enviar_url(form1,'paginas/cvp_index_valida.php')" -->
					
                      </div></td>
                  </tr>
				  </form>
                </table>
              
            </div></td>
            <td background="estilo_tabla/parte_med_der.gif">&nbsp;</td>
          </tr>
          <tr>
            <td><img src="estilo_tabla/parte_inf_izq.gif" width="25" height="25"></td>
            <td background="estilo_tabla/parte_inf_cen.gif">&nbsp;</td>
            <td><img src="estilo_tabla/parte_inf_der.gif" width="25" height="25"></td>
          </tr>
        </table>
    </div></td>
  </tr>
  <tr valign="top" class="lblCampo" >
    <td colspan="4">
      <div align="center"> </div></td>
  </tr>
</table>
</body>

</html>

