var i = navigator.appVersion.indexOf('MSIE 6');
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )) {
	if((navigator.appVersion.indexOf("Macintosh"))!= -1){
		document.write('<link rel="stylesheet" href="mac.css" type="text/css">')
	} else if (i != -1) {
		document.write('<link rel="stylesheet" href="windows.css" type="text/css">')
	} else{
		document.write('<link rel="stylesheet" href="windows.css" type="text/css">');
	}
} else if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 4)) {
	if((navigator.appVersion.indexOf("Macintosh"))!= -1){
		document.write('<link rel="stylesheet" href="mac.css" type="text/css">')
	} else {
		document.write('<link rel="stylesheet" href="windows.css" type="text/css">');
	}
} else {
	document.write('<link rel="stylesheet" href="windows.css" type="text/css">')
}
	
