window.defaultStatus = "";
  function changeStatus(statusLine) {
 //  alert(statusLine);
    window.status = statusLine;
  }

var dayActivityWindow;

function dayActivityWindowClose() {
  // before actually trying to close the
  // day activity window, check to see if it
  // exists ... it bothers older versions of
  // netscape to close a non-existant window ...
  if (dayActivityWindow) {
    // OK ... variable is defined,
    // at least one date was viewed
    if (dayActivityWindow.close) {
      // window exists and can be closed
      dayActivityWindow.close();
      }
    }
  }

// it is easier to use a target of _top to leave a
// frame page, but need to make sure that the subject
// window was closed so needed a function to make sure
// the subject window is closed when navigating to other
// pages in the web site...

function leaveiFrames(nextPage) {
  dayActivityWindowClose();
  document.location.href = indexPath + nextPage;
  }

function leaveFrames(nextPage) {
  dayActivityWindowClose();
  document.location.href = pagePath + nextPage;
  }

function dayActivityWindowOpen() {
  dayActivityWindow = window.open("", "dayWindow", "scrollbars=yes,top=60,left=50,height=400,width=650");
  if (!dayActivityWindow.opener) {
    dayActivityWindow.opener = self;
    }
  }