mm4331, if the material is sensitive then you need a secure form of password protection. A JS form won't protect anything. The user can simply check the View Source to see the password.
A secure form of password protection can be ASP,CGI, Coldfusion, HTTACCESS, any kind of server related technology is secure.
Look into your web host provider and see if they offer any pacakages that offer security.
I have this little thing, Advanced Delusionary Schizophrenia with Involuntary Narcissistic Rage.
It's no big deal really...