//
// multimenu ie hover
//
function startMenu()
{
	if (document.all && document.getElementById)
	{
		var multimenu = document.getElementById('multi-menu')
		for (i = 0; i < multimenu.childNodes.length; i++)
		{
			var ul = multimenu.childNodes[i]
			if (ul.nodeName == 'UL')
			{
				for (j = 0; j < ul.childNodes.length; j++)
				{
					var node = ul.childNodes[j]
					if (node.nodeName == 'LI')
					{
						node.onmouseover	= function() { this.className += ' over' }
						node.onmouseout		= function() { this.className = this.className.replace(' over', '') }
					}
				}
			}
		}
	}
}

if (window.attachEvent)
{
	window.attachEvent('onload', startMenu)
}
else
{
	window.onload = startMenu
}


function AddFavorite(linkObj,addUrl,addTitle) 
{ 
  if (document.all && !window.opera) 
  { 
    window.external.AddFavorite(addUrl,addTitle); 
    return false; 
  } 
  else if (window.opera && window.print) 
  { 
    linkObj.title = addTitle; 
    return true; 
  } 
  else if ((typeof window.sidebar == 'object') && (typeof window.sidebar.addPanel == 'function')) 
  { 
    if (window.confirm('Přidat oblíbenou stránku jako nový panel?')) 
    { 
      window.sidebar.addPanel(addTitle,addUrl,''); 
      return false; 
    } 
  } 
  window.alert('Po potvrzení stiskněte CTRL-D,\nstránka bude přidána k vašim oblíbeným odkazům.'); 
  return false; 
}