			var isMac = false;
			var myBrowser = navigator.userAgent;
			ie4 = (document.all)? true:false;			
			if (myBrowser.indexOf('Mac') > -1) isMac = true;
			if (ie4){
			 if (isMac) ie4 = false;
			}
			ns4 = (document.layers)? true:false;			

			function init() {			// Startup function
				if (ns4) {
					document.MenuDIV.onmouseout = hideMenu;
				} else if (ie4) {
					MenuDIV.onmouseout = hideMenu;
				}
			}
			function Link(group, position, url, text) {
				this.group = group;
				this.position = position;
				this.url = url;
				this.text = text
			}
			function hideMenu() {
				if (ie4) { 
					MenuDIV.style.visibility = "hidden";
				} else if(ns4){
					document.MenuDIV.visibility = "hide";
				}
				unhighlight('local');
				unhighlight('national');
			}
			function showMenu() {
				if (ie4) {
					MenuDIV.style.visibility = "visible";
				} else if(ns4){
					document.MenuDIV.visibility = "show";
				}
			}
			function moveMenu(T, L) {				
				// Line below will only work if the buttons are the same size
				// T = (MenuA.YPosition + (T * MenuA.ButtonHeight));
				if (ie4) {
					MenuDIV.style.top = T;
					MenuDIV.style.left = L;
				} else if (ns4) {
					document.MenuDIV.top = T;
					document.MenuDIV.left = L;
				}
			}
			function syncHTML(ieString, nsString, legString) {
				if (ie4) {
					return ieString;
				} else if (ns4) {
					return nsString;
				} else {
					return legString;
				}
			}
			function writeLegacy(n) {
				layerText = '';
				if ((ie4 == false) && (ns4 == false)) {
					layerText = '<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="' + MenuA.Border + '"><tr><td><table width="100%" border="0" cellpadding="3" cellspacing="1">';			
					for (x=1; x<MenuA.length; x++) {
						if (MenuA[x]) {
							if(MenuA[x].group == n) layerText = layerText + '<tr><td bgcolor="' + MenuA.BackgroundColor + '"><font size="1" face="Verdana"><a href="' + MenuA[x].url + '">' + MenuA[x].text + '</a></font></td></tr>';
						}
					}
					layerText =  layerText + '</table></td></tr></table>';
				}
				return(layerText);
			}
	
			function parseLayer(n, p) {
				layerText = '<table width="125" border="0" cellpadding="0" cellspacing="0" bgcolor="' + MenuA.Border + '"><tr><td><table width="125" border="0" cellpadding="0" cellspacing="1">';			
				for (x=1; x<MenuA.length; x++) {
					if (MenuA[x]) {
						if(MenuA[x].group == n) layerText = layerText + '<tr><td bgcolor="' + MenuA.BackgroundColor + '">' + syncHTML('<div ', '<ilayer><layer width="125" height="20"', '') + ' onmouseover="' + syncHTML('this.style.backgroundColor', 'bgColor', '') + '=\'' + MenuA.HighlightColor + '\'" onmouseout="' + syncHTML('this.style.backgroundColor', 'bgColor', '') + '=\'' + MenuA.BackgroundColor + '\'"><a href="' + MenuA[x].url + '" class="NNLink">' + MenuA[x].text + '</a>' + syncHTML('</div>', '</layer></ilayer>', '') + '</td></tr>';
					}
				}
				layerText =  layerText + '</table></td></tr></table>';
				writeLayer(layerText);
			}
			function writeLayer(layerCode) {
				if (ie4) {
					MenuDIV.innerHTML = layerCode;
				} else if (ns4) {
					var lyr = document.MenuDIV.document;
					lyr.write(layerCode)
					lyr.close()
				}						  
			}				
			