//new DEBUG script 22mar02
// test for Netscape, Internet Explorer or Macintosh browsers and load accordingly	version 22 March 2000
// simplified, but doesn't account for 6.xx versions of these browsers, perhaps no need...sc
   	DOM = (document.getElementById) ? true : false;
   	NS4 = (document.layers) ? true : false;
    IE = (document.all) ? true : false;
   	IE4 = IE && !DOM;
   	Mac = (navigator.appVersion.indexOf("Mac") != -1);
  
  // need special case for mac and IE4...
  // currently has no style sheet
   	IE4M = IE4 && Mac;  

  // need special case for mac and IE...
   	IEM = IE && Mac;  
   
  // need special case for mac and netscape...
   	NS4M = NS4 && Mac;
   
	IsMenu = (DOM || NS4 || (IE4 && !IE4M));
	
// create the browser string, sc...
		browserID = IE4M ? "IE4M" : IEM ? "IEM" : NS4M ? "NS4M" : NS4 ? "NS4" : DOM ? "DOM" : "IE4" ;


// Load the browser string, sc...

//for development, and on non-unix servers, load style sheet directory location
//note this is a subdirectory of the current directory location 31mar2002

cssPrefix = "css/";

//remove the directoryString on Unix server
styleSheetString = cssPrefix + "style" + browserID + ".css";

//  load the style sheet string

document.write("<link rel=stylesheet href=" + styleSheetString + " type=text/css>");

// diagnostic string, for debugging..
//document.write("<br><style='color=white;'>loading style sheet  " + styleSheetString);

