browser = navigator.appName;
os = navigator.platform;
ie = "Microsoft Internet Explorer";
netscape = "Netscape";
mac = "MacPPC"
version = parseInt(navigator.appVersion)

if(browser == netscape && version <= 4) {
   document.write('<link rel=stylesheet type="text/css" href="/style_net.css" title=master>');
} else {
   document.write('<link rel=stylesheet type="text/css" href="/style.css" title=master>');
}

function FCG_netscapeCssFix() {
  // This part was inspired by Matthew_Baird@wayfarer.com
  // It gets around another unfortunate bug whereby Netscape 
  // fires a resize event when the scrollbars pop up. This 
  // checks to make sure that the window's available size 
  // has actually changed.
  if (document.FCG.FCG_netscapeCssFix.initWindowWidth != window.innerWidth || document.FCG.FCG_netscapeCssFix.initWindowHeight != window.innerHeight) {
    document.location = document.location;
  }
}

function FCG_netscapeCssFixCheckIn() {
  // This function checks to make sure the version of Netscape 
  // in use contains the bug; if so, it records the window's 
  // width and height and sets all resize events to be handled 
  // by the FCG_netscapeCssFix() function.
  if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
    if (typeof document.FCG == 'undefined'){
      document.FCG = new Object;
    }
    if (typeof document.FCG.FCG_scaleFont == 'undefined') {
      document.FCG.FCG_netscapeCssFix = new Object;
      document.FCG.FCG_netscapeCssFix.initWindowWidth = window.innerWidth;
      document.FCG.FCG_netscapeCssFix.initWindowHeight = window.innerHeight;
    }
    window.onresize = FCG_netscapeCssFix;
  }
}
FCG_netscapeCssFixCheckIn()
