function doLogin() {
  alert('Incorrect information');
  $("betaBox").style.display = 'none';
}

function doBeta() {
  $("betaBox").style.display = 'block';
}

String.prototype.trim = function() {
  return this.replace(/^\s+|\s+$/g,"");
}

function isNull(f, m) {
  f = f.trim();
  if ((f == null) || (f == "")) {
    alert(m);
    return true;
  }
  return false;
}
