// Code source: http://www.stanford.edu/javascripts/browser_detection.js
NN = document.layers;
IE = document.all;
isMac = (navigator.appVersion.indexOf("Mac") != -1);
isWin = (navigator.appVersion.indexOf("Win")!= -1);

if (parseInt(navigator.appVersion.substring(0,1)) >= 4) {
		 if (NN && isWin) {cs="stanford_win_ns.css";
}
	else if (NN && isMac) {cs="stanford_mac_ns.css";
}
	else if (IE && isWin) {cs="stanford_win_ie.css";
}
	else if (IE && isMac) {cs="stanford_mac_ie.css";
}
	else {cs="stanford_other.css";
}
} else {cs="stanford_other.css";
}

document.write('<link rel=stylesheet type="text/css" href="http://www.stanford.edu/' + cs + '">');
