<!--
if (document.getElementById('drmenu1')) {
	var pozmenu1 = document.getElementById('drmenu1').getElementsByTagName('p');
	for(var i=0; i<pozmenu1.length; i++) {
		pozmenu1[i].onmouseover = function () {
			if (this.className == '') {
				this.className = 'drmenuh';
			}
		}
		pozmenu1[i].onmouseout = function () {
			if (this.className == 'drmenuh') {
				this.className = '';
			}
		}
		pozmenu1[i].onclick = function () {
			 window.location = this.getElementsByTagName('a')[0].getAttribute('href');
		}
	}
}

if (document.getElementById('drmenu2')) {
	var pozmenu2 = document.getElementById('drmenu2').getElementsByTagName('td');
	for(var i=0; i<pozmenu2.length; i++) {
		pozmenu2[i].onmouseover = function () {
			if (this.className == '') {
				this.className = 'drmenuh';
			}
		}
		pozmenu2[i].onmouseout = function () {
			if (this.className == 'drmenuh') {
				this.className = '';
			}
		}
		pozmenu2[i].onclick = function () {
			 window.location = this.getElementsByTagName('a')[0].getAttribute('href');
		}
	}
}

if (document.getElementById('drmenu3')) {
	var pozmenu3 = document.getElementById('drmenu3').getElementsByTagName('td');
	for(var i=0; i<pozmenu3.length; i++) {
		pozmenu3[i].onmouseover = function () {
			if (this.className == '') {
				this.className = 'drmenuh';
			}
		}
		pozmenu3[i].onmouseout = function () {
			if (this.className == 'drmenuh') {
				this.className = '';
			}
		}
		pozmenu3[i].onclick = function () {
			 window.location = this.getElementsByTagName('a')[0].getAttribute('href');
		}
	}
}

function news(dr) {
	ms = document.getElementById('kubik2').getElementsByTagName('span')[0].getElementsByTagName('a').length + 1;
	for(var i = 1; i < ms; i++) {
		document.getElementById('news' +i).style.display = 'none';
		document.getElementById('link' +i).className = '';
	}
		document.getElementById('news' +dr).style.display = 'block';
		document.getElementById('link' +dr).className = 'akt';
}
