function modulo5(){
	var cont;
	var nAgt = navigator.userAgent;
	var version;
	var verOffset;


	// In MSIE, the true version is after "MSIE" in userAgent
	if ((verOffset=nAgt.indexOf("MSIE"))!=-1) {
	 	browserName = "Microsoft Internet Explorer";
	 	version = parseInt(''+(nAgt.substring(verOffset+5)),10);
	}
	// In Firefox, the true version is after "Firefox" 
	else if ((verOffset=nAgt.indexOf("Firefox"))!=-1) {
	 	browserName = "Firefox";
	 	version = parseInt(''+(nAgt.substring(verOffset+8)),10);
	 	
	}

	if(cont = document.getElementById('content')){
//		alert("wysokosc " + cont.offsetHeight  + ", przegladarka: " + navigator.appName + ", wersja: " + version);
		if(navigator.appName == "Microsoft Internet Explorer"){
			if(version >= 7)
				cont.style.height = (cont.offsetHeight - cont.offsetHeight%5 - 21) + "px";
			else
				cont.style.height = (cont.offsetHeight - cont.offsetHeight%5 + 8) + "px";
		}
		else{
			version = nAgt.substring(verOffset+8);
			cont.style.height = (cont.offsetHeight - cont.offsetHeight%5 - 21) + "px";
		}
//		alert("nowa wysokosc " + cont.style.height); 	
	}	
}

