function TheLogin() {

var password = 'tvpsguest';

if (this.document.login.pass.value == password) {
  top.location.href="../html/references-pass.html";
}
else {
  location.href="../html/references-error.html";
  }
}