function TheLogin() {

var password = '789654';

if (this.document.login.pass.value == password) {
  top.location.href="staffcorrect.html";
}
else {
  location.href="incorrect.html";
  }
}
