//*************************************************
// Date   : 3/29/2000
//
// This script detects the web browser (Netscape, IE, Other) 
// and platform (PC, Mac, Other) that the user is using.  
// The script loads a CSS for the browser and platform the
// user is using.
//*************************************************
//if pc
//   if ie
//      load pc-ie.css
//   else other
//      load pc-ns.css
//
//else if mac
//   if ie
//      load mac-ie.css
//   else other
//      load mac-ns.css
//
//else other
//   if ie
//      load pc-ie.css
//   else other
//      load pc-ns.css
//*************************************************


//*************************************************
// if pc
//*************************************************
if(navigator.appVersion.lastIndexOf("Win") != -1) {

// if ie
   if(navigator.appName == "Microsoft Internet Explorer")
      document.write("<LINK REL=stylesheet HREF=\"http://www.xes.com/css/pc-ie.css\" TYPE=\"text/css\">");
// else other
   else
      document.write("<LINK REL=stylesheet HREF=\"http://www.xes.com/css/pc-ns.css\" TYPE=\"text/css\">");
}


//*************************************************
// else if mac
//*************************************************
else if(navigator.appVersion.lastIndexOf("Mac") != -1) {

// if ie
   if(navigator.appName == "Microsoft Internet Explorer")
      document.write("<LINK REL=stylesheet HREF=\"http://www.xes.com/css/mac-ie.css\" TYPE=\"text/css\">");
// else other
   else
      document.write("<LINK REL=stylesheet HREF=\"http://www.xes.com/css/mac-ns.css\" TYPE=\"text/css\">");
}


//*************************************************
// else other
//*************************************************
else {

// if ie
   if(navigator.appName == "Microsoft Internet Explorer")
      document.write("<LINK REL=stylesheet HREF=\"http://www.xes.com/css/pc-ie.css\" TYPE=\"text/css\">");

// else other
   else
      document.write("<LINK REL=stylesheet HREF=\"http://www.xes.com/css/pc-ns.css\" TYPE=\"text/css\">");
}