//DISTINCTION of BROWSER
//MAC or WIN, IE or NS

function getOS()
{
var isle1 = navigator.userAgent.toLowerCase();
if (isle1.indexOf("mac") >=0) return "Macintosh";
if (isle1.indexOf("win") >=0) return "Windows";
return "";
}

function getBrowser()
{
var isle2 = navigator.appName.toLowerCase();
if (isle2.indexOf("netscape") >= 0) return"Netscape";
if (isle2.indexOf("explorer") >= 0) return"InternetExplorer";
return "";
}

os = getOS();
browser = getBrowser();
if (os == "Macintosh") fileName = "mac";
if (os == "Windows") fileName = "win";
if (browser == "Netscape") fileName +="ns.css";
if (browser == "InternetExplorer") fileName +="ie.css";

document.write("<link rel='stylesheet' href='" + fileName + "' type='text/css'>");

