/* window.onload = show; - skryti podmenu pomoci JS - blikne pri nacitani stranky */
function show(id) {
//   var d = document.getElementById(id);
// 	for(var i = 1; i <= 30; i++) {
// 		if(document.getElementById('submenu_vert_' + i)) {
//       document.getElementById('submenu_vert_' + i).style.display = 'none';
//     }
// 	}
//   if(d) {
//     d.style.display = 'block';
//   }
}

function show2(parent, id) {
//   var d = document.getElementById(id);
// 	for(var i = 1; i <= 30; i++) {
// 		if(document.getElementById('submenu2_vert_' + parent + '_' + i)) {
//       document.getElementById('submenu2_vert_' + parent + '_' + i).style.display = 'none';
//     }
// 	}
//   if(d) {
//     d.style.display = 'block';
//   }
}

function show3(parent, id) {
//   var d = document.getElementById(id);
// 	for(var i = 1; i <= 70; i++) {
// 		if(document.getElementById('submenu3_vert_' + parent + '_' + i)) {
//       document.getElementById('submenu3_vert_' + parent + '_' + i).style.display = 'none';
//     }
// 	}
//   if(d) {
//     d.style.display = 'block';
//   }
}


function changeMap(id) {
	isIE6 = navigator.userAgent.toLowerCase(). indexOf ( 'msie 6') != -1;
	if (isIE6) t = 0;
	else t = 0;
	document.getElementById('mapabg').style.backgroundPosition = '0px '+(-id*235 + t)+'px';
}