// a function to validate a password entry
function validate()
{
 // convert the input to lowercase
    var entry = document.forms.f.pwd1.value.toLowerCase();
 // relocate the browser if the input is correct
    if (entry == "kisby") window.location = "kisby/index.htm";
   else
    if (entry == "KISBY") window.location = "kisby/index.htm";
   else
    {
      // display a message if the input is incorrect
         alert("Password incorrect - Please retry ....");
      // clear the password field
         document.forms.f.pwd1.value = "";
    }
}

