
function startNavList(menuid, menuclass) {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById(menuid);
		if (navRoot) {
			for (i=0; i<navRoot.childNodes.length; i++) {
				node = navRoot.childNodes[i];
				if (node) {
					if (node.nodeName=="LI") {
						node.onmouseover=function() {				
						this.className+=" "+menuclass;
						}
						node.onmouseout=function() {				
							this.className=this.className.replace(" "+menuclass, "");
						}
					}
				}
			}
		}
 	}
}
function BrowserDetect() {
	var ua = navigator.userAgent.toLowerCase();
	this.isSafari = (ua.indexOf('safari') != - 1);
	this.versionMinor = parseFloat( ua.substring( ua.lastIndexOf('safari/') + 7 ) );
	this.isSafari10 = ((this.isSafari) && (this.versionMinor < 87));
	if (this.isSafari10 == true) {
		document.write('<style type=\"text/css\">li.navmenuvertli li {display: none}<\/style>');
		document.write('<style type=\"text/css\">li.topnavmenuvertli li {display: none}<\/style>');
	}
}
function startNavMenus() {
	startNavList('navmenuvert','oververt');	
	startNavList('greydropdownvert2','oververt');	
	startNavList('greydropdownvert3','oververt');
}

		

