function getBrowserName() {
	var aName  = navigator.appName.toUpperCase();
	if (aName.indexOf("NETSCAPE") >= 0)  return "Netscape";
	if (aName.indexOf("MICROSOFT") >= 0) return "Explorer";
	return "";
}

version = navigator.appVersion;
brname = getBrowserName();

if(version.indexOf("Mac") > -1){
	document.write("<link href='./common/css/hstyle_m.css' rel='stylesheet' type='text/css' />");
}else if(version.indexOf("Win") > -1){
	if(brname == "Explorer"){
		document.write("<link href='./common/css/hstyle_w.css' rel='stylesheet' type='text/css' />");
	}else{
		document.write("<link href='./common/css/hstyle_wm.css' rel='stylesheet' type='text/css' />");
	}
}else{
	document.write("<link href='./common/css/hstyle.css' rel='stylesheet' type='text/css' />");
}

