//#######################################################################################
//This code detects what browser and operating system is being used. 
//Once this is determined, the appropriate stylesheet is referenced.
//#######################################################################################

<!--
  var yourOS="unknown"
  var yourBR="unknown"
  var agt=navigator.userAgent

  NS4 = (window.document.layers);
  IE4 = (window.document.all);
  ver4 = (NS4 || IE4);
  IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1);
  isMac = (navigator.appVersion.indexOf("Mac") != -1);
  isMenu = (NS4 || (IE4 && !isMac) || (IE5 && isMac));
  
  	function popUp(){return};
	function popDown(){return};
	function startIt(){return};
	
	if (!ver4) event=null;
	
  if (NS4) {yourBR="Netscape 4"}
  if (IE4) {yourBR="IE 4"}

  isMac = agt.indexOf("Macintosh");
  isWin95 = agt.indexOf("Win95") + agt.indexOf("Windows 95");
  isWin98 = agt.indexOf("Win98")+ agt.indexOf("Windows 98");
  isWin16 = agt.indexOf("Win16") + agt.indexOf("Windows 3.1");
  isWinNT = agt.indexOf("WinNT") + agt.indexOf("Windows NT");

  if (isWin95 > 0)
  {
   window.document.write("<LINK rel='stylesheet' href='/AgtLocWebApp/stylesheets/turnkeystylesheetpc.css' type='text/css'>");
   yourOS='PCWIN95';
  } 
  else if (isWin98 > 0) 
  {
	window.document.write("<LINK rel='stylesheet' href='/AgtLocWebApp/stylesheets/turnkeystylesheetpc.css' type='text/css'>");
	yourOS='PCWin98';
  }
  else if (isWin16 > 0 )
   {
  	window.document.write("<LINK rel='stylesheet' href='/AgtLocWebApp/stylesheets/turnkeystylesheetpc.css' type='text/css'>")
	yourOS='PC16';
   }	
  else if (isWinNT > 0)
   {
    window.document.write("<LINK rel='stylesheet' href='/AgtLocWebApp/stylesheets/turnkeystylesheetpc.css' type='text/css'>");
	yourOS='PCNT';
   }	
  else
   {
    window.document.write("<LINK rel='stylesheet' href='/AgtLocWebApp/stylesheets/turnkeystylesheetmac.css' type='text/css'>")
    yourOS='MAC';
  }
//-->