function grr() {
	var nav = navigator.userAgent;
	var co = document.getElementById;
	var prawo = document.getElementById('prawo')
	if (nav.indexOf('MSIE') != -1) { 
		co('calosc').style.height = 100+"%";
		//alert(document.body.clientHeight+" "+document.documentElement.clientHeight);
		if (document.body.clientHeight > document.documentElement.clientHeight) {
			co('menu').style.height = document.body.clientHeight-335+"px";
			if (prawo) {prawo.style.height = document.body.clientHeight-335+"px";}
		} else {
			co('menu').style.height = document.documentElement.clientHeight-350+"px";
			if (prawo) {prawo.style.height = document.documentElement.clientHeight-350+"px";}
		}
		co('calosc').fireEvent('onmouseover');
	} else {
		if (window.innerHeight > document.body.clientHeight) {
			document.getElementById('menu').style.height = window.innerHeight-350+"px";
			if (prawo) {prawo.style.height = window.innerHeight-350+"px";}
		} else {
			document.getElementById('menu').style.height = document.body.clientHeight-335+"px";
			if (prawo) {prawo.style.height = document.body.clientHeight-335+"px";}
		}
		//alert(document.getElementById('menu').style.height);
	}
}

