// password protect pages
//alert('pw is loaded');
var george = false;
function submitentry(){
//parent.footer.document.billy.sign.value=false;
password = document.demo.p2.value.toLowerCase()
username = document.demo.username2.value.toLowerCase()
passcode = 1
usercode = 1
for(i = 0; i < password.length; i++) {
passcode *= password.charCodeAt(i);
}
for(x = 0; x < username.length; x++) {
usercode *= username.charCodeAt(x);
}
//CHANGE THE NUMBERS BELOW TO REFLECT YOUR USERNAME/PASSWORD
if(usercode==1443934817095680000&&passcode==12341775600)
//CHANGE THE NUMBERS ABOVE TO REFLECT YOUR USERNAME/PASSWORD
{
george = true;
//alert('pw line 20 \ngeorge is '+george);
parent.footer.document.billy.sign.value=george;
parent.MainFrame.location.href= password+'.html';

}else{
//alert("password/username combination wrong")
	parent.MainFrame.location.href = 'content.htm';
	}
}

