Tené en cuenta que de esta manera se van a ver tus contraseñas...
Código:
<html>
<head>
<title> New Document </title>
<script language="JavaScript">
<!--
function enviar(){
var x = document.forms[0].pss.value.toLowerCase();
if(x == "pepe"){
window.location.href="index.html";
}
else {
window.location.href="otra.html";
}
}
//-->
</script>
</head>
<body bgcolor="#FFFFFF">
<form method=post action="">
Pass: <input type="password" name="pss">
<input type="button" value="Ingresar" onClick="enviar();">
</form>
</body>
</html>
<hr noshade size=1><img src="http://www.gograph.com/Images-8712/ClipArt/cat03.gif" height="50" border=0 align="absmiddle"> <font size="2" face="verdana" color="#000000">
bet[/CODE]