Dude put this in your header tags...
<SCRIPT LANGUAGE="JavaScript">
function goForit() {
var location;
var password;
password=this.document.testform.inputbox.value
window.location=password + ".html"
}
</SCRIPT>
and this in your body where you want the login
<FORM NAME="testform">
<INPUT TYPE="text" NAME="inputbox" VALUE="" size=20>
<INPUT TYPE="button" NAME="button" Value="Login" onClick="goForit(this.form)">
</FORM>
the password is whatever you call the restricted page/s