function check(){
	okStr="ご利用いただけます。";
	ngStr="ご利用いただけません。";
	str = navigator.userAgent;
	if (str.indexOf("MSIE 6.0") >= 0){ //win IE 6.0
		if(
			(str.indexOf("Windows NT 5.0") >= 0) ||
			(str.indexOf("Windows NT 5.1") >= 0)
		){
			alert(okStr);
		}else{
			alert(ngStr);
		}
	}else if (str.indexOf("MSIE 7.0") >= 0){ //win IE 7.0
		if(
			(str.indexOf("Windows NT 5.1") >= 0) ||
			(str.indexOf("Windows NT 6.0") >= 0)
		){
			alert(okStr);
		}else{
			alert(ngStr);
		}
	}else if (str.indexOf("MSIE 8.0") >= 0){ //win IE 8.0
		if(
			(str.indexOf("Windows NT 5.1") >= 0) ||
			(str.indexOf("Windows NT 6.0") >= 0) ||
			(str.indexOf("Windows NT 6.1") >= 0)
		){
			alert(okStr);
		}else{
			alert(ngStr);
		}
	}else if (str.indexOf("Firefox/3.6") >= 0){ //win/mac Firefox 3.6
		if(
			(str.indexOf("Windows NT 5.0") >= 0) ||
			(str.indexOf("Windows NT 5.1") >= 0) ||
			(str.indexOf("Windows NT 6.0") >= 0) ||
			(str.indexOf("Mac OS X 10.5") >= 0) ||
			(str.indexOf("Mac OS X 10.6") >= 0)
		){
			alert(okStr);
		}else{
			alert(ngStr);
		}
	}else if (str.indexOf("(KHTML, like Gecko) Version/4") >= 0){ //mac Safari 4.0
		if(
			(str.indexOf("Mac OS X 10_5") >= 0) ||
			(str.indexOf("Mac OS X 10_6") >= 0)
		){
			alert(okStr);
		}else{
			alert(ngStr);
		}
	}else{
		alert("ご利用いただけません");
	}
}