var C = 0;
var str = '';
var ops = navigator.userAgent;
if(navigator.appName.charAt(0) == "M"){
	if(navigator.appVersion.charAt(0) < 4){
		location.href = "./error.html";
	}else{
		var appv = navigator.appVersion;
		if(appv.indexOf("MSIE")){
			var va = appv.charAt(appv.indexOf("MSIE") + 5);
			if(va == 4){ location.href = "./error.html"; }
			if(va < 7 && navigator.platform.substr(0,3) != "Mac"){
				str += "div.bodyl h4{ width:177px; }\ndiv.bodyl li a{ width:177px; }\ndiv.wrap p{ width:177px; }\n";
				str += "div.infos li{ width:170px; }\n";
			}
		}
	}
}else{
	str += "input{ line-height:100%; }\n";
}
if(navigator.platform.substr(0,3) == "Mac"){
	if(ops.indexOf("MSIE") == -1){
		if(ops.indexOf("Safari") == -1){
			str += "body{ font-size:92%; }\r\n";
		}else{
			str += "body{ font-size:78%; }\r\n";
		}
	}
}
if(str != ""){
	document.write("<style type='text/css'><!--\n" + str + "-->\n</style>\r\n");
}