
sfHover = function() {
	
	var sfLIs = document.getElementById('navigation').getElementsByTagName('li');
	
	for (var i=0; i<sfLIs.length; i++) {
		if (sfLIs[i]) {
			sfLIs[i].onmouseover=function() {					
				var sfUL = this.getElementsByTagName('ul')[0];
				if (sfUL) {
					var sfMat = document.createElement('iframe');
									sfMat.style.width=sfUL.offsetWidth+"px";
									sfMat.style.height=sfUL.offsetHeight+"px";	
									sfUL.insertBefore(sfMat,sfUL.firstChild);
									sfUL.style.zIndex="99";
				}
				this.className+=" sfhover";
			}
		}
		
		sfLIs[i].onmouseout=function() {
			this.className=this.className.replace(' sfhover', '');
		}
	}
	
}

if (window.attachEvent) window.attachEvent('onload', sfHover);
