// $(document).ready(function () {	
// 	
// 	$('#nav li').hover(
// 		function () {
// 			//show its submenu
// 			$('ul', this).slideDown(200);
// 
// 		}, 
// 		function () {
// 			//hide its submenu
// 			$('ul', this).slideUp(200);			
// 		}
// 	);
// 	
// });

if (/msie/i.test (navigator.userAgent)) //only override IE
{
	document.nativeGetElementById = document.getElementById;
	document.getElementById = function(id)
	{
		var elem = document.nativeGetElementById(id);
		if(elem)
		{
			//make sure that it is a valid match on id
			if(elem.attributes['id'].value == id)
			{
				return elem;
			}
			else
			{
				//otherwise find the correct element
				for(var i=1;i<document.all[id].length;i++)
				{
					if(document.all[id][i].attributes['id'].value == id)
					{
						return document.all[id][i];
					}
				}
			}
		}
		return null;
	};
}

function menu(polozka){
        document.getElementById(polozka).style.display='block';
}
function zkryjmenu(polozka){
        document.getElementById(polozka).style.display='none';
}

$(function() {
   $('a.lightbox').lightBox({
	imageLoading: 'skripty/jquery/obr/loading.gif',
	imageBtnClose: 'skripty/jquery/obr/close2.gif',
	imageBtnPrev: 'skripty/jquery/obr/prev.gif',
	imageBtnNext: 'skripty/jquery/obr/next.gif',
   });
});


