/* Prompt for password */
var validPW = "good"
function mySec(){
	pw = prompt("Please enter your password:", '')
	if (pw != validPW){
		window.document.location = "index.html"
	}
}
/* Login from form */
function startSec(pw){
			window.document.location = pw + ".html"
}
/* Disable right clicking */
/*<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin */
function right(e) {
var msg = "Sorry, you don't have permission to right-click.";
if (navigator.appName == 'Netscape' && e.which == 3) {
alert(msg);
return false;
}
if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
alert(msg);
return false;
}
else return true;
}

function trap() 
  {
  if(document.images)
    {
    for(i=0;i<document.images.length;i++)
      {
      document.images[i].onmousedown = right;
      document.images[i].onmouseup = right;
      }
    }
  }
/*// End -->
</SCRIPT>
</HEAD>

<!-- STEP ONE: Copy the event handler into the BODY tag  -->

<BODY onLoad="trap()">

<!-- Script Size:  0.81 KB -->
*/
