im makeing a java wepage and i wana put a password block on it but i put in the right code and all that stuff and i get a blank page, so i whent to my JavaScript for dummies book and searched and it told me to put in thease codes in

<html>
<head>
<title>PASSWORD ENTrY">
d
<SCRIPT LANGUAGE="JAVASCRIPT"

function displayPassword()[
alert(\nname is ---"> +
docment.entryForm.secret.name +
"\nvalue is --->" +
docment.entryForm.secret.name +
"\ndefaultValue is ---"> +
docment.entryForm.secret.defaultValue)
}

</script>
</head>
<body>
<Br>
<B>password here
</B>

<BR><BR>
<INPUT TYPE="password" NAME="secret" SIZE="15"
VALUE="bofus">
<INPUT TYPE="button" NAME="passwordViewer"
VALU="Push To View" onClick="displayPassword()">
</form>
</body>
</html>



I still get a blank page can enyone see eny problems?????