function password() {
var testV = 1;
var pass1 = prompt('Enter Password','');
while (testV < 3) {
if (!pass1) 
history.go(-1);
if (pass1 == "navitrak") {
alert('Thank You. Proceed to download page.');

<!-- go to pass protected page  -->

location.replace('documentsPass.html');
break;
} 
testV+=1;
var pass1 = 
prompt('Access Denied - Password Incorrect, Please Try Again.','Password');
}
if (pass1!="navitrak" & testV ==3)               
location.replace('passwordFail.html');
}
