function goBack() {
  var thisSite = document.location.hostname;
  var lastPage = document.referrer;
  
  if (lastPage != "" && lastPage.indexOf(thisSite) != -1) {
    history.back();
  } else {
    document.location = "http://" +thisSite;
  }
}

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}

function resetStatus() {
  window.status=defaultStatus;
}

// Puts the passed URL to the frame source
function loadFrame(page) {
  document.all.contentFrame.src = page; 
}

// Looks for the passed URL in PageObj names and
// then tells the corresponding PageObj to go()
function jump(where) {
  for (i = 0; i < pages.length; i++) {
    if (pages[i].name == where) {
      pages[i].go();
      break;
    }
  }
}

