Les dejo el script y el html , para que me digan donde estan los problemas ya que seguro hay más de 1.
Recién empiezo con esto de javascript, dhtml, css, ajax. Asi que desde ya muchas gracias
 Cita:   
El html
 
<html>
<head>
<title>Entrada</title>
<script language="javascript" type="text/javascript" src="entrada.js"></script>
<link rel="StyleSheet" href="ent.css" type="text/css">
</head>
<body>
<script language="javascript">
// nombre y passwd del usuario
var nombreuserypassuser;
nombreuserypassuser=new uverificar(usernombre,userclave);
</script>
<img src="imagenes/arbdv.gif" alt="index-arbol">
<form class="centrar" name="fromentrada">
Nombre:
<input type="text" name="usernombre" maxlength="15"
size="15">
<br>
Clave:
<input type="password" name="userclave" maxlength="12"
size="12">
<br>
<input type="button" value="Entrar" onclick="pverificar()">
</form>
</body>
</html>
 <html>
<head>
<title>Entrada</title>
<script language="javascript" type="text/javascript" src="entrada.js"></script>
<link rel="StyleSheet" href="ent.css" type="text/css">
</head>
<body>
<script language="javascript">
// nombre y passwd del usuario
var nombreuserypassuser;
nombreuserypassuser=new uverificar(usernombre,userclave);
</script>
<img src="imagenes/arbdv.gif" alt="index-arbol">
<form class="centrar" name="fromentrada">
Nombre:
<input type="text" name="usernombre" maxlength="15"
size="15">
<br>
Clave:
<input type="password" name="userclave" maxlength="12"
size="12">
<br>
<input type="button" value="Entrar" onclick="pverificar()">
</form>
</body>
</html>
 Cita:   
El entrada.js
 
function uverificar(nombre,pass){
this.nombre=nombre;
this.contraseña=pass;
}
function pverificar(){
if (this.nombre==algo && this.contraseña==algo )
{window.location='home.html';}
else
{ alert('el usuario '+ this.nombre + 'y o la contraseña estan equivocados');}
 
}
 function uverificar(nombre,pass){
this.nombre=nombre;
this.contraseña=pass;
}
function pverificar(){
if (this.nombre==algo && this.contraseña==algo )
{window.location='home.html';}
else
{ alert('el usuario '+ this.nombre + 'y o la contraseña estan equivocados');}
}
Saludos
 
 
 html y javascript inicio de sesión(consulta)
 html y javascript inicio de sesión(consulta) 



