﻿function CheckIt() {
var cPassword = document.forms[0].Password.value;
var cNextPage = "Realtorslogin_yes.html";

if (cPassword == "thewillows" ||
cPassword == "thewillows") {
document.location.href = cNextPage;
} else {
alert('Wrong password, please try again');
}
}
