
  browser = (((navigator.appName == "Netscape") && (parseInt (navigator.appVersion) >= 3 )) ||
             ((navigator.appName == "Microsoft Internet Explorer") && (parseInt (navigator.appVersion) >= 4)))

  function openWindow(htmlfile)
    {
      if (browser)
        {
          windowSizeX = parseInt(460);
          windowSizeY = parseInt(525);
          locationX = (screen.width - windowSizeX) - parseInt(25);
          locationY = parseInt(25);
          defWin = window.open(htmlfile,"definition",
                               "WIDTH=" + windowSizeX + "," +
                               "HEIGHT=" + windowSizeY + "," +
                               "screenX=" + locationX + "," +
                               "screenY=" + locationY + "," +
                               "top=" + locationY + "," +
                               "left=" + locationX + "," +
                               "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no," +
                               "dependent=yes"
                              );
          defWin.focus();
        }
      else
        {
          document.write ("You are using an outdated browser.  Please upgrade to Netscape 3 or later, or Internet Explorer 4 or later.");
        }
    }

  function openSetWindow(htmlfile,width,height)
    {
      if (browser)
        {
          windowSizeX = parseInt(width);
          windowSizeY = parseInt(height);
          locationX = (screen.width - windowSizeX) - parseInt(25);
          locationY = parseInt(25);
          defSetWin = window.open(htmlfile,"_blank",
                               "WIDTH=" + windowSizeX + "," +
                               "HEIGHT=" + windowSizeY + "," +
                               "screenX=" + locationX + "," +
                               "screenY=" + locationY + "," +
                               "top=" + locationY + "," +
                               "left=" + locationX + "," +
                               "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no," +
                               "dependent=yes"
                              );
          defSetWin.resizeTo(width,height);
          defSetWin.moveTo(locationX,locationY);
          defSetWin.focus();
        }
      else
        {
          document.write ("You are using an outdated browser.  Please upgrade to Netscape 3 or later, or Internet Explorer 4 or later.");
        }
    }

  function openWideWindow(htmlfile)
    {
      if (browser)
        {
          windowSizeX = parseInt(460);
          windowSizeY = parseInt(525);
          locationX = (screen.width - windowSizeX) - parseInt(25);
          locationY = parseInt(25);
          defWin = window.open(htmlfile,"definition",
                               "WIDTH=" + windowSizeX + "," +
                               "HEIGHT=" + windowSizeY + "," +
                               "screenX=" + locationX + "," +
                               "screenY=" + locationY + "," +
                               "top=" + locationY + "," +
                               "left=" + locationX + "," +
                               "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no," +
                               "dependent=yes"
                              );
          defWin.focus();
        }
      else
        {
          document.write ("You are using an outdated browser.  Please upgrade to Netscape 3 or later, or Internet Explorer 4 or later.");
        }
    }

