// generalUtils.js
// Author: Todd M. Reith
// Version 1.0.1
// Date: Monday, May 22, 2000 2:20:38 PM


function popUp(w,h,input)
{
  settings = "toolbar=no,scrollbars=yes,width=" + w + ",height=" + h + ",status=yes,resizable=yes ";
	window.open(input, "POPUP", settings);
}
  


// initialize the value of "browser"
var browser = "oldAndInTheWay";


function browserDetection()
{
  // The value of the variable browser will be one of the following:
  // ns2, ns3, ns4, ie3, ie4, or oldAndInTheWay.
  
  var bName = navigator.appName;
  var bVersion = parseInt(navigator.appVersion);

  // check for Netscape
  if (bName == "Netscape") 
  {
    browser = "ns" + bVersion;
  } else if (bName == "Microsoft Internet Explorer") // check for MSIE
  {
    if (bVersion >= 4)
    {
      browser = "ie" + bVersion;
    } else {
      browser = "ie3";
    }
  }
  
}