/* browser check */function getBrowserName() {	var an = navigator.appName;	var ua = navigator.userAgent;	if (an.indexOf("Microsoft Internet Explorer",0) != -1) return "Explorer";	if (an.indexOf("Netscape",0) != -1) return "Netscape";	if (an.indexOf("Opera",0) != -1) return "Opera";	if (an.indexOf("iCab",0) != -1) return "iCab";	if (an.indexOf("WebTV",0) != -1) return "WebTV";	if (ua.indexOf("DreamPassport",0) != -1) return "DreamPassport";	return "";}/* css setting */var bn = getBrowserName();var bv = navigator.appVersion.charAt(0);var bp = navigator.platform.charAt(0);if (bv >= 4) {	if (bp == "W") {		if (bn == "Explorer") {			// Win IE 4 or above			document.write('<link rel="stylesheet" type="text/css" charset="Shift_JIS" href="../common/css/iew.css">');		} else if (bn == "Netscape") {			if (bv >= 5) {				// Win N 6 or above				document.write('<link rel="stylesheet" type="text/css" charset="Shift_JIS" href="../common/css/n6w.css">');			} else {				// Win NC 4				document.write('<link rel="stylesheet" type="text/css" charset="Shift_JIS" href="../common/css/win.css">');			}		} else {			// other browsers			document.write('<link rel="stylesheet" type="text/css" href="../common/css/win.css">');		}	} else if(bp == "M") {		if (bn == "Explorer") {			var macIEversion = eval(navigator.appVersion.substring(22,23));			if (macIEversion == 4) {				// Mac IE 4				document.write('<link rel="stylesheet" type="text/css" charset="Shift_JIS" href="../common/css/ie4m.css">');			} else if (macIEversion >= 5) {				// Mac IE 5 or above				document.write('<link rel="stylesheet" type="text/css" charset="Shift_JIS" href="../common/css/ie5m.css">');			}		} else if (bn == "Netscape") {			if (bv >= 5) {				// Mac N 6 or above				document.write('<link rel="stylesheet" type="text/css" charset="Shift_JIS" href="../common/css/n6m.css">');			} else {				// Mac NC 4				document.write('<link rel="stylesheet" type="text/css" charset="Shift_JIS" href="../common/css/mac.css">');			}		} else {			// other browsers			document.write('<link rel="stylesheet" type="text/css" href="../common/css/mac.css">');		}	} else {		// any userAgent		document.write('<link rel="stylesheet" type="text/css" href="../common/css/a.css">');	}}/* end of file */