1<script type="text/javascript">
2var password = "please";
3var x = prompt("Enter in the password "," ");
4if (x.toLowerCase() == password) {
5 alert("Come right in \n \n You've entered in the right password");
6 window.location = "good.htm";
7}
8else {
9 window.location = "bad.htm";
10}
11</script>