//This is hidden.js, a simple text file containing code
//that normally goes between the <script>...</script> tags.

//Position cursor to text field.
document.pform.pword.focus()

//Function to check password.
function checkWord() {

   //If you remove .toUpperCase() from line below, visitor must type password
   //in all uppercase letters, or it won't be accepted.

   if (document.pform.pword.value.toUpperCase() == "PROFIRE") {
      location.href="opener.html" 
   }else{
      alert ("Bad password, access denied!!!")
   }
}

//The script tags that read this code into an html page are
//at the bottom of the page named hidden01.htm. 
//You can use a simple text editor, like Windows' Notepad, to
//create and edit this .js file.