sfHover = function() {
	//alert("sfHover")
	var flyoutMenuArr 		= getElementsByClassNameM(document.getElementById('main_nav'),'ul','dynmenu')
	// var flyoutMenuArr = getElementsByClassNameM(document.body,'ul','dynmenu')
	// alert(document.getElementById('main_nav').id)
	// alert("flyoutMenuArr: " + flyoutMenuArr.length);
	for (var i=0;i<flyoutMenuArr.length;i++) {
		var sfEls = flyoutMenuArr[i].getElementsByTagName("LI");
		// alert(sfEls.length)
		for (var j=0; j<sfEls.length; j++) {
			sfEls[j].onmouseover=function() {
				this.className+=" sfhover";
			}
			sfEls[j].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
			}
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);



function openFlyoutNavigation(e,treeID) {
	// alert(event)
	if (document.all) 		window.event.cancelBubble=1; 
	else 					e.stopPropagation();
	if (document.getElementById('dynmenuStart'+treeID)) {
		document.getElementById('dynmenuStart'+treeID).style.left = (document.all ? '197px' : '215px'); 
		document.getElementById('dynmenuStart'+treeID).style.top = 'auto'
	}
}
function closeFlyoutNavigation(e,treeID) {
	if (document.all) 		window.event.cancelBubble=1; 
	else 					e.stopPropagation();
	if (document.getElementById('dynmenuStart'+treeID)) {
		document.getElementById('dynmenuStart'+treeID).style.left='-1000px';
	}
}

