var nav_obj = navigator;
var js_ver = 10;
var fl_ver = 0;
var fl_desc;

var bs = "style=\"border:none; display: none;\"";
if ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4)) {
	bs = "border=\"0\"";
}

if (nav_obj.appVersion.indexOf("MSIE")>=0 && nav_obj.appVersion.indexOf("Win")>=0) { 
	document.writeln("<s"+"cript language=\"VBScript\">");
	document.writeln("on error resume next");
	for (i = 3; i < 7; i++)
		document.writeln("if (IsNull(CreateObject(\"ShockwaveFlash.ShockwaveFlash." + i + "\"))) then dummy=0 else fl_ver=" + i + " end if");
	document.writeln("</s"+"cript>"); 
}
if (nav_obj.plugins && nav_obj.plugins["Shockwave Flash"]) {
	fl_desc = nav_obj.plugins["Shockwave Flash"].description;
	fl_ver = parseInt(fl_desc.charAt(fl_desc.indexOf(".") - 1));
} 

var java = 0;
var moz_ver = 4;
if (nav_obj.userAgent.substring(0,8) == "Mozilla/") {
	moz_ver = nav_obj.userAgent.substring(8,9);
}

if (moz_ver > 2) {
	if (nav_obj.javaEnabled())
		java = 1;
}
var ref = window.parent.document.referrer;
var color_depth = 0;
var res_y = 0;
var res_x = 0;
var win_y = 0;
var win_x = 0;
if (moz_ver > 3  && (screen)) {
	color_depth = screen.colorDepth;
	if (color_depth == 0)
		color_depth = screen.pixelDepth;
	res_y = screen.height;
	res_x = screen.width;
	win_y = (document.all) ? top.document.body.clientHeight : top.innerHeight;
	win_x = (document.all) ? top.document.body.clientWidth : top.innerWidth;
}
var cookie_sup;
var lastYear = new Date();
lastYear.setFullYear(lastYear.getFullYear() - 1);
document.cookie = "nvt=1";
if (document.cookie.indexOf("nvt") != -1) {
	cookie_sup = 1;
} else {
	cookie_sup = 0;
}
document.cookie = "nvt=1; expires=" + lastYear.toGMTString();

// res_y, win_y
document.write("<img src=\"http://c1.navrcholu.cz/hit?site=7760;t=b14;"
	+ "fv=" + fl_ver + ";js=" + java + ";cs=" + cookie_sup + ";ref="
	+ escape(ref) + ";cd=" + color_depth + ";sx=" + res_x
	+ ";wx=" + win_x + ";jss=1;r=" + Math.random()
	+ "\" width=\"0\" "
	+ "height=\"0\" "
	+ "alt=\"\" " + bs + " />");

