//File created by Emma Arce, 11/13/2001
//This file is used to serve the right style sheet depending on the browser and OS being used
//Place a copy of this file inside every directory and change the HREF paths so that they
//point to the css (cascading style sheet) files.

NS4 = (document.layers);
IE4 = (document.all);
ver4 = (NS4 || IE4);
IE5 = (IE4 && navigator.appVersion.indexOf("5.")!=-1);
isMac = (navigator.appVersion.indexOf("Mac") != -1);

if (isMac) {

document.write("<LINK REL='stylesheet' TYPE='text/css' HREF='stylesheets/stylesheet_mac.css'>");
}
else if (NS4) {
	
document.write("<LINK REL='stylesheet' TYPE='text/css' HREF='stylesheets/stylesheet_win_nn.css'>");
	
}
else if (IE4 || IE5) {
	
document.write("<LINK REL='stylesheet' TYPE='text/css' HREF='stylesheets/stylesheet_win_ie.css'>");
}
else {
	
document.write("<LINK REL='stylesheet' TYPE='text/css' HREF='stylesheets/stylesheet_win_nn.css'>");
}

//The following function can be used to make sure the right style sheet is being loaded
//for a particular browser or operating system.

function printInfo() {
if (isMac) {document.write("You are using a Macintosh computer.");}
else if (NS4) {document.write("You are using Netscape 4");}
else if (IE4 || IE5) {document.write("You are using IE4 or 5");}
else {document.write("You are using an unknown browser");}
}