// stylesheet: Mac or PC
var platform

    if (navigator.appVersion.indexOf("95") != -1) {
        platform = "PC"
    }
    if (navigator.appVersion.indexOf("2000") != -1) {
        platform = "PC"
    }
    if (navigator.appVersion.indexOf("98") != -1) {
        platform = "PC"
    }
    if (navigator.appVersion.indexOf("16") != -1) {
        platform = "PC"
    }
    if (navigator.appVersion.indexOf("NT") != -1) {
        platform = "PC"
    }
    if (navigator.appVersion.indexOf("PPC") != -1) {
    platform = "Mac"
    }
    if (navigator.appVersion.indexOf("PowerPC") != -1) {
        platform = "Mac"
    }

// put this in, because Netscape 6 is not responding to the above

    if ((platform != "Mac") && (platform != "PC")) {
         platform = "PC"
    }

var output = ""

    if (platform == "Mac") {
        if (navigator.appVersion.indexOf("MSIE 5.0") != -1){
            document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="css/WinStyle.css">');
        }
        else {
            document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="css/MacStyle.css">');
        }

    } else if (platform == "PC") {
        document.write('<LINK REL="stylesheet" TYPE="text/css" HREF="css/WinStyle.css">');
    }
