
function CheckIt() {
var cPassword = document.forms[0].password.value;
var cNextPage = "doctors-authorised.asp";

if (cPassword == "ohm" ||
cPassword == "OHM" ||
cPassword == "langdon" ||
cPassword == "ross") {
document.location.href = cNextPage;
} else {
alert('Wrong password, please try again');
}
}
