var brAgent = navigator.userAgent;
var brName = navigator.appName;

if (brAgent.indexOf('Win') > -1) {
	win();
} else {
	mac();
}

function win(){
if (brName == "Microsoft Internet Explorer") {
	document.write ('<link rel="stylesheet" type="text/css" href="/css/win_ie.css">');
} else if(brAgent.indexOf("Gecko")!=-1) {
	document.write ('<link rel="stylesheet" type="text/css" href="/css/win_ns.css">');
} else {
	document.write ('<link rel="stylesheet" type="text/css" href="/css/win_ns4.css">');
}
}
function mac(){
if (brName == "Microsoft Internet Explorer") {
	document.write ('<link rel="stylesheet" type="text/css" href="/css/mac_ie.css">');
} else if(brAgent.indexOf("Gecko")!=-1) {
	document.write ('<link rel="stylesheet" type="text/css" href="/css/mac_ns.css">');
} else {
	document.write ('<link rel="stylesheet" type="text/css" href="/css/mac_ns.css">');
}
}

/*function rtenq(page){
sub1=window.open(page,"window1","toolbar=no,resizable=no,menubar=no,scrollbars=no,directories=no,status=no,location=no,width=435,height=530");
sub1.focus();
}
*/
