sfHover = function() {
    var sfEls = document.getElementById("main_menu").getElementsByTagName("li");
	for (var ijevi=0; ijevi<sfEls.length; ijevi++) {
        sfEls[ijevi].onmouseover=function() {
            this.className+=" hover";
        }
        sfEls[ijevi].onmouseout=function() {
            this.className=this.className.replace(new RegExp(" hover\\b"), "");
        }
    }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


sfHover = function() {
    var sfEls = document.getElementById("submenu").getElementsByTagName("li");
	for (var ijevi=0; ijevi<sfEls.length; ijevi++) {
        sfEls[ijevi].onmouseover=function() {
            this.className+=" hover";
        }
        sfEls[ijevi].onmouseout=function() {
            this.className=this.className.replace(new RegExp(" hover\\b"), "");
        }
    }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


