  //        WARNING: This script is not totaly secure
  //  Script:       Password Protection
  //  Version:      1.0
  //  Last Updated: June 12th 1998
  //  Author:       Scott Brady
  //  Org:          HotSource HTML Help
  //  Email:        hotsrc@earthlink.net
  //  Website:      http://interweb.simplenet.com/Hotsource/index.shtml
  //  Copyright:    Original Code Copyright (c) Scott Brady 1998
  //  Use:          This script is free to be used and modified as 
  //                long as these credits remain intact.

var password = prompt("Enter your password","")

  if (password == "hotsource") {
	alert("Password accepted!  Loading page...")

	document.write("<p>This is the page that can only be accessed with a password.\r\n\r\n")
	document.write("<p>It is a little annoying having to put all your code in the WRITE ")
	document.write("tags, but it is free and doesn't require a special server.\r\n\r\n")
	document.write("<p><img src=\"../../images/jscup.gif\" width=\"145\" height=\"115\">")
  }

  else {
	alert("" +password+ " is an Invalid Password!  Access denied...")

	document.write("<p><strong>You have entered an invalid password.  Access to the ")
	document.write("document is denied.</strong></p>")
  }