  <!-- Common definitions for X and PC platforms -->
  <!-- Sheets for differences in X and PC platforms -->

  <!-- Mac/X11/PC computers get their own styles -->
  if ((navigator.appVersion.indexOf ("Mac") > 0)) {
         UseCSS("http://www.bcgsc.ca/site-style/gsc/mac/style.css");	
  } else if (navigator.appVersion.indexOf ("X11") > 0) {
         UseCSS("/site-style/gsc/x/style.css");	
  } else {
	 <!-- PC based IE/non-IE get separate styles -->
         if (navigator.appName.indexOf ("Microsoft") != -1) {
           UseCSS("/site-style/gsc/ie/style.css");
           } else {
           UseCSS("/site-style/gsc/netscape/style.css");
         }
   	 <!-- PC based IE/non-IE definitions of small -->
         if (navigator.appName.indexOf ("Microsoft") != -1) {
           UseCSS("/site-style/gsc/ie/small.css");
           } else {
           UseCSS("/site-style/gsc/netscape/small.css");
         }
  }

  <!-- Link properties. IE links have hover definitions. -->

  if (navigator.appName.indexOf ("Microsoft") != -1) {
         UseCSS("/site-style/gsc/ie/links.css");
  } else {
         UseCSS("/site-style/gsc/netscape/links.css");
  }

  UseCSS("/site-style/gsc/common.css");  <!-- Text properties -->
  UseCSS("/site-style/gsc/colour.css");  <!-- Colour classes  -->

function UseCSS(stylesheet) {
 document.write('<link rel=stylesheet type="text/css" href="' , stylesheet , '">');
}

var browser = "Info\n";
for (var propname in navigator) {
browser+=propname + ": " + navigator[propname] + "\n"
}


