	function showProduct(n)
	{
		window.open('/files/produkty/kalk_poj'+n+'.htm', 'product' + n, 'width=635,height=380,directories=no,location=no,menubar=no,resizable=no,toolbar=no,scrollbars=yes');
	}

	function showInfo(aId)
	{
		var dId = 'textInfo' + selectedInfo;
		hideInfo(dId);

		document.all[aId].className = 'visible';
	}

	function hideInfo(dId)
	{
		document.all[dId].className = 'hidden';
		detailId = dId.replace(/text/, 'detail');
		document.all[detailId].className = 'hidden';
	}

	function showSelectedInfo() {
		var aId = 'textInfo' + selectedInfo;
		if (window.event) {
			var dId = window.event.srcElement.id;
			if (dId) {
				dId = dId.replace(/link/, 'text');
				hideInfo(dId);
			}
		}
		showInfo(aId);
		document.all['detailInfo' + selectedInfo].className = 'visible';
	}

	function selectInfo(n) {
		// deaktivovat
		document.all['linkInfo' + selectedInfo].className = 'acol2';
		document.all['linkInfo' + selectedInfo].onmouseover = function() { this.className='tvyp1-o hand'; var id = window.event.srcElement.id; id = id.replace(/link/, 'text'); showInfo(id); };
		document.all['linkInfo' + selectedInfo].onmouseout = function() { this.className='acol2'; showSelectedInfo(); };
		// aktivovat
		

		document.all['linkInfo' + n].className = 'acol1';
		document.all['linkInfo' + n].onmouseover = function() { this.className='acol1'; showSelectedInfo(); };
		document.all['linkInfo' + n].onmouseout = function() { this.className='acol1'; showSelectedInfo(); };

		selectedInfo = n;
		showSelectedInfo();
	}

	var selectedInfo;

