

<html>

<head>

  <title></title>

<script language="JavaScript" src="./scripts/md5.js"></script> 

<script language="JavaScript" src="./scripts/etc.js" type="text/javascript"></script> 



<script language="JavaScript">

function valida(){
  var elem=getObjeto("psw"); 
  var elem2=getObjeto("pswd"); 
  var valor=hex_md5(elem.value);
  //var valor = elem.value;
  elem2.value = valor;
  elem.value = "";
  //alert(elem2.value);  
}

</script>

</head>
<body bgcolor="#ffffff" onload="document.login.usr.select();">
<center>
	<img src="rrblogo.gif" border="0" width="240" height="251" alt="">
</center>

<br />
<center><font size="5"><font color="#5C3C12"><b><u>¡¡Bienvenido Administrador!!</u></b></font></font></center>
<hr width="85%" color="#594106">
<form name="login" id="login" action="./valida2.php" method="post" onSubmit="javascript: return valida();">
<center> 

<table width="25%" height="131" border="0">
 <tr>
	<td>
		<table border="1" bgcolor="#e8d78d">
		<tr>
			<td> <b><font color="#444444">Usuario:</font></b> </td>
			<td> <input type="text" id="usr" name="usr" size="20" maxlength="20"> </td>
		</tr>

		<tr>
			<td> <b><font color="#444444">Contraseña:</font></b> </td>
			 <td>

						<input type="password" name="psw" id="psw" size="20" maxlength="20">

						<input type="hidden" name="pswd" id="pswd" size="35" maxlength="35">					</td>
		</tr>

		<tr>
			<td colspan="2" bgcolor="#FFFFFF">
			  <br><center><input type="submit" value="Iniciar Sesión"></center>					
			</td>

		</tr>
	    </table>		
	</tr>
</table>

</center>


</form>

<hr width="85%" color="#594106">
<br />
</body>

</html>

