        // original code by mr.a -- http://www.mr-a.hu
        function startList(mit) {
            if (document.all&&document.getElementById) {
                navRoot = document.getElementById(mit);
                for (i=0; i<navRoot.childNodes.length; i++) {
                    node = navRoot.childNodes[i];
                    if (node.nodeName=="LI") {
                        node.onmouseover=function() { this.className+=" over"; }
                        node.onmouseout=function() { this.className=this.className.replace(" over", ""); }
                    }
                }
            }
        }
      
        function startList2() {
          startList("menu");
        }
        window.onload=startList2;

        function kep(kep) {
            window.open('/kep.php?kep='+kep,'','width=100,height=100,toolbar=no,status=no,resizable=yes,scrollbars=no');
        }

        // keresésnél fül váltása
        var actualSearchResultTab = 'Cikkek';

        function switchSearchResultTab(newTabId) {

            document.getElementById("tabLink"+actualSearchResultTab).className = "";
            document.getElementById("results"+actualSearchResultTab).style.display = "none";

            actualSearchResultTab = newTabId;

            document.getElementById("tabLink"+actualSearchResultTab).className = "selected";
            document.getElementById("results"+actualSearchResultTab).style.display = "block";

        }
