if (typeof access == "undefined") { 
  var access = new Object();
  
  access.subscribe =  function() {
    alert("Error: Dynamo System Not Installed -- Please Contact Webmaster.");
  }
  access.unsubscribe = function() {
    alert("Error: Dynamo System Not Installed -- Please Contact Webmaster.");
  }
}

if (typeof languageParam == "undefined") {
  var languageParam = new Array();
  languageParam["dynamo_error-retrieving_response"] = ' Error:\nSystem Currently Not Available.\n\nPlease contact webmaster.';
  languageParam["dynamo_error-not_active"] = 'Dynamo function not active from local web -- try again from live web address.';
  languageParam["login_box-username_required"] = 'Please enter your username';
  languageParam["login_box-password_required"] = 'Please enter your password';
  languageParam["login_box-account_not_activated"] = 'Your account has not been activated.';
  languageParam["login_box-password_rejected"] = 'The password you specified is invalid';
  languageParam["login_box-error"] = 'Error: ';
  languageParam["login_box-forgot_password_message"] = "Enter your Login ID into the field, THEN click the 'Forgot Password' link";  
}


if (typeof register == "undefined") {
  var register = new Object();
    
  register.submit = function() {
      alert("Error: Dynamo System Not Installed -- Please Contact Webmaster.");
  }
}

if (typeof rootPath == "undefined") {
  var rootPath = "./";
}

function isEnter(e){
  // e is event object passed from function invocation
  var characterCode; // literal character code will be stored in this variable

  if(e && e.which) { //if which property of event object is supported (NN4)
    e = e
    characterCode = e.which //character code is contained in NN4's which property
  } else{
    e = event
    characterCode = e.keyCode //character code is contained in IE's keyCode property
  }

  if(characterCode == 13){ // if generated character code is equal to ascii 13 (if enter key)
    return true;
  } else{
    return false;
  }
}
