function hanbets(){
	bname = navigator.appName;
	buagent = navigator.userAgent;
	d = "";
	cautioning = "";
	if(bname.charAt(0)=="M"){
		d = "Microsoft Internet Explorer";
		cautioning = "<br>※InternetExplorerとSleipnirでは<br>同じものが表示されます。";

		document.getElementById("b1").style.backgroundColor="#ffcccc";
		document.getElementById("b1").style.color="#ff0000";
		document.getElementById("b2").style.backgroundColor="#ffcccc";
		document.getElementById("b2").style.color="#ff0000";
	}

	if(bname.charAt(0)=="O"){
		d = "Opera";
		document.getElementById("b6").style.backgroundColor="#ffcccc";
		document.getElementById("b6").style.color="#ff0000";
	}

	if(bname.charAt(0)=="N"){

		if(buagent.indexOf("Firefox")!=-1){
			d = "FireFox";
			document.getElementById("b4").style.backgroundColor="#ffcccc";
			document.getElementById("b4").style.color="#ff0000";
		}else if(buagent.indexOf("Safari")!=-1){
			if(buagent.indexOf("Chrome")!=-1){
				d = "Google Chrome";
				document.getElementById("b8").style.backgroundColor="#ffcccc";
				document.getElementById("b8").style.color="#ff0000";
			}else{	
				d = "Safari";
				document.getElementById("b5").style.backgroundColor="#ffcccc";
				document.getElementById("b5").style.color="#ff0000";
			}	
		}else if(buagent.indexOf("Lunascape")!=-1){
			d = "Lunascape";
			document.getElementById("b7").style.backgroundColor="#ffcccc";
			document.getElementById("b7").style.color="#ff0000";
		}else if(buagent.indexOf("Netscape")!=-1){
			d = "Netscape Navigator";
			document.getElementById("b3").style.backgroundColor="#ffcccc";
			document.getElementById("b3").style.color="#ff0000";
		}
	}
	document.getElementById("browsername").innerHTML = d;
	document.getElementById("caut").innerHTML = cautioning;
}
