
/** Funkce pro zpracování kláves */
function sfwGetKey(e)
{
	return ((window.event) ? window.event.keyCode : e.which);
}

function odentruj(co,event)
{			
	if (sfwGetKey(event)==13)
	{
		document.getElementById(co).submit();
	}
}
/** /Funkce pro zpracování kláves */

function Add(){
if(window.external)
external.AddFavorite(location.href, document.title);
else
alert("Váš prohlížeč tuto funkci nepodporuje.");
}

function kuk(e,num)
{if(document.getElementById) // Netscape 6.0+ and Internet Explorer 5.0+
{elm=document.getElementById("napoveda"+num);if (document.all && !window.opera) {x=event.clientX+document.body.scrollLeft +25;y=event.clientY+document.body.scrollTop -120;}
else {x=e.pageX+25;y=e.pageY-120;}
if (document.all && !window.opera) {elm.style.pixelLeft=x;elm.style.pixelTop=y;}
else {elm.style.left=x+"px";elm.style.top=y+"px";}
elm.style.display="block"}}

function kuk1(num)
{if(document.getElementById){elm=document.getElementById("napoveda"+num);elm.style.display="none";}
}

function OpenMe(newin) {flyout=window.open(newin,"flyout","resizable=yes,scrollbars=yes,width=800,height=600,top=0,left=0")
}

function OpenBig(newin) {flyout=window.open(newin,"flyout","resizable=no,scrollbars=no,width=480,height=140,top=50,left=50")
}

function OpenBig2(newin) {flyout=window.open(newin,"flyout","resizable=no,scrollbars=no,width=480,height=140,top=50,left=50")
}

function NextSite(url) {window.location=url;
}

function show(what){document.getElementById(what).style.display='inline';}
function hide(what){document.getElementById(what).style.display='none';}

/**/