﻿//Function to check password.

function checkWord(readersEntry) {



   //To adapt this script to another site, change MANRAY below to the password you want. USE

   //ALL UPPERCASE letters, as in the example. TO change where the correct password takes the 

   //reader, change pword2.htm to the URL of the page you want to go to.



   if (readersEntry.toUpperCase() == "BLUESTAR") {

      location.href="secure_approved.html" 

   }else{

      alert ("Password incorrect. Access denied.")

   }

}
