<!-- This script was adapted by island webservices from an idea by javascript.internet.com -->
<!-- You can get the source and instructions at http://www.islandwebservices.co.uk -->
<!-- Begin
function password() {
var testV = 1;
var pass1 = prompt('Please Enter Your Password','');
while (testV < 3) {
if (!pass1) 
window.open('other_page.html');
if (pass1 == "password")
 {
alert('Correct!');


window.open('protected.html');
break;
} 


if (!pass1) 
window.open('other_page.html');
if (pass1 == "otherpassword")
 {
alert('Correct!');


window.open('protected.html');
break;
} 


testV+=1;
var pass1 = 
prompt('That is not the correct code, have another go','Password');
}
if (pass1!="password" & testV ==3)               
window.open('other_page.html');
return " ";

if (pass1!="otherpassword" & testV ==3)               
window.open('other_page.html');
return " ";
}
// End -->