var strOS, strBrowser, strTemp;

strOS = "other";
strBrowser = "other";  

strTemp = navigator.appVersion.toLowerCase();

if (strTemp.indexOf("win") > 0)
strOS = "windows";

if (strTemp.indexOf("mac") > 0)
strOS = "mac";

if (strTemp.indexOf("msie") > 0)
strBrowser = "msie";


if ((strOS.toLowerCase() == "windows") && (strBrowser.toLowerCase() == "msie"))
	document.write ('<link rel=stylesheet type="text/css" href="../css/ie.css">');
else if ((strOS.toLowerCase() == "windows") && (strBrowser.toLowerCase() == "other"))
	document.write ('<link rel=stylesheet type="text/css" href="../css/ns.css">');
else if ((strOS.toLowerCase() == "mac") && (strBrowser.toLowerCase() == "msie"))
	document.write ('<link rel=stylesheet type="text/css" href="../css/mac_ie.css">');
else if ((strOS.toLowerCase() == "mac") && (strBrowser.toLowerCase() == "other"))
	document.write ('<link rel=stylesheet type="text/css" href="../css/mac_ns.css">');
else if ((strOS.toLowerCase() == "other") && (strBrowser.toLowerCase() == "other"))
	document.write ('<link rel=stylesheet type="text/css" href="../css/ie.css">');
