// gives IE6 the ability to hover other tags than A
sfHover = function() {
	if( document.getElementById("navi") ) {
	    var sfEls = document.getElementById("navi").getElementsByTagName("LI");
	} else {
	    var sfEls = document.getElementById("navi2").getElementsByTagName("LI");
	}
    
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


// Give Subnav next highest z-index
Event.observe(window, 'load', function() {
    $$('ul#navi > li.navi_li').each(function(obj) {
        Event.observe(obj, 'mouseover', function() {
            var subnav = obj.down('div.subnavi');
            if(!subnav) {
                return;
            }
            subnav.setStyle({
                zIndex: '1550505'
            });
        });
    });
});

