//****************************************************
//This function handles bug in IE5/6 CSS support so that the drop-down menus work with the :hover pseudo-class
//****************************************************

sfHover2 = function() { 
var sfEls = document.getElementById("rovnavmenu").getElementsByTagName("li");
var e=document.getElementsByTagName("select");
 for (var i=0; i<sfEls.length; i++) { 
 	sfEls[i].onmouseover=function() { 
		//Fixes bug in IE5/IE6 where drop-down menus show behind select tags
		if ((is_ie5up) && !(is_ie7up)) {
		for(var i=0;i<e.length;i++){e[i].style.visibility = "hidden";}
		}
		this.className+=" sfhover2";
		 } 
		sfEls[i].onmouseout=function() { 
		//Fixes bug in IE5/IE6 where drop-down menus show behind select tags
		if ((is_ie5up) && !(is_ie7up)) {	
		for(var i=0;i<e.length;i++){e[i].style.visibility = "visible";}
		}
		this.className=this.className.replace(new RegExp(" sfhover2\\b"), ""); 
			} } } 
if (window.attachEvent) window.attachEvent("onload", sfHover2);