<!-- Hide from old browsers
 // Detect Macintosh

if (navigator.appVersion.lastIndexOf('Mac') != -1){
	if (navigator.appName == "Microsoft Internet Explorer"){
   		 if (navigator.appVersion.substring(0,1)=="5") 
        document.writeln ("<link rel=stylesheet type=text/css href=" + sPathPrefix + "stylesheets/main.css>");
	else
		document.writeln ("<link rel=stylesheet type=text/css href=" + sPathPrefix + "stylesheets/main_mac.css>");
}
}
else
{
// Detect all versions of Netscape
if (navigator.appName == "Netscape") {
    // Detect Netscape 4.x
    if (navigator.appVersion.substring(0,1)=="4" || navigator.appVersion.substring(0,1)=="5" || navigator.appVersion.substring(0,1)=="6") {
        document.writeln ("<link rel=stylesheet type=text/css href=" + sPathPrefix + "stylesheets/main_ns.css>");
    }
    // Detect Netscape 3.x
    else if (navigator.appVersion.substring(0,1)=="3") {
        document.writeln ("<link rel=stylesheet type=text/css href=" + sPathPrefix + "stylesheets/main_ns.css>");
    }
    // Detect Netscape 2.x
    else if (navigator.appVersion.substring(0,1)=="2") {
        document.writeln ("<link rel=stylesheet type=text/css href=" + sPathPrefix + "stylesheets/main_ns.css>");
    }
    // Handle the remainder of Netscape versions
    else {
        document.writeln ("<link rel=stylesheet type=text/css href=" + sPathPrefix + "stylesheets/main_ns.css>");
    }
}
// Detect all versions of Microsoft Internet Explorer
else if (navigator.appName == "Microsoft Internet Explorer") {
    // Detect Microsoft Internet Explorer 4.x
    if (navigator.appVersion.substring(0,1)=="4") {
        document.writeln ("<link rel=stylesheet type=text/css href=" + sPathPrefix + "stylesheets/main.css>");
    }
    // Detect Microsoft Internet Explorer 3.x
    else if (navigator.appVersion.substring(0,1)=="3") {
        document.writeln ("<link rel=stylesheet type=text/css href=" + sPathPrefix + "stylesheets/main.css>");
    }
    // Handle all other Microsoft Internet Explorer versions
    else {
        document.writeln ("<link rel=stylesheet type=text/css href=" + sPathPrefix + "stylesheets/main.css>");
    }
}
}
// Stop hiding from old browsers -->
