function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
function validateLogin() {
  var errors='';
  thePattern = new RegExp('[^a-zA-Z0-9_]');
  if (thePattern.test(document.formLogin.username.value) || document.formLogin.username.value=="" || document.formLogin.username.length<3) {
     errors+= '- Username must be between 2 - 15 letters & numbers.\n'; }
  thePattern = new RegExp('[^a-zA-Z0-9]');
  if (thePattern.test(document.formLogin.password.value) || document.formLogin.password.length<4) {
     errors+= '- Password must be between 4 - 15 letters & numbers.\n'; }
  if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}
function validateGuest() {
  var errors='';
  if (!document.formGuest.Guest.checked) {
     errors+= '- You must be at least 18 years old and agree to the Terms of Service. \n'; }
  if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}
function ss(w){window.status=w;return true;}
function cs(){window.status='';}
