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"; }
			else if(navigator.platform.substr(0,3) != "Mac" && va == 5){
				str += "div#mainmenu a{ text-indent:0; padding-left:13px; }\ntable{ font-size:12px; }"; }
			else if(va < 7){
				if(navigator.platform.substr(0,3) != "Mac"){
					str += "ul.submenu li a{ width:195px; }\nul.nedanul li{ width:180px; }\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:80%; }\r\n";
		}
	}
}
if(str != ""){
	document.write("<style type='text/css'><!--\n" + str + "-->\n</style>\r\n");
}
