provided by: 
Originally published at Internet.comHey there...
In this script we again use a format in which the password is the name of the page to be linked to, except in this one, the concept is further hidden because the user will not put in the name of the page. The user will put in a numeric password which will then be turned into the name of the page by the script.
It's done through an array. Let's take a look.
The Script's Effect
Use the password 145
-----------------------------------
Here's the Code
Of course when we have form elements in a script, we start with them so we can understand the hierarchy statements in the functions.
The form itself is given the name "userInput". Following the form flag are three input text boxes, each set to accept only two characters.
The text boxes are named "u1" "u2" and "u3" down the line.
A final button triggers a function called GoIn(). Now we can put together hierarchy statement to grab whatever the user puts into the boxes. Now the GoIn() function: function GoIn() { var Password = new Array("p","j","l","z","o","e","m","b","x","z") ...
Read article at Internet.com site