var sNS = "font-size:14;";

var sNSS = "font-size:13;";

var sHS = "background-color: #fffad5; font-size:14;";

var sHSS = "background-color: #fffad5; font-size:13;";

var sHLS = "background-color:#fffad5; font-size:14; color:#0000c0; text-decoration:underline; cursor:pointer;";

var sHLSS = "background-color: #fffad5; font-size:13; color:#0000c0; text-decoration: underline; cursor: pointer;";

var sHiLS = "font-size:14; text-decoration: underline;";

var sHiLSS = "font-size:13; text-decoration: underline;";

var sDS = "background-color: #f6ecc7; color: #005300; font-family:'arial,sans-serif'; font-weight:600; cursor: default;";

if (document.createStyleSheet) var IE = true; else {

	if(document.styleSheets)gss=document.styleSheets["dstyl"];

	if(!gss)gss=document.getElementById("dstyl");

	if(gss.sheet)gss=gss.sheet;

	if(gss.styleSheet)gss=gss.styleSheet;

}

var _cMenu_StyleRuleCount = 0;

var RM = 0;





function Menu() {

	this.CreateMenu = Menu_CreateMenu;

	this.CreateLink = Menu_CreateLink;

	this.CreateAction = Menu_CreateAction;

	this.AddItem = Menu_AddItem;

	this.SetChromeImages = Menu_SetChromeImages;

	this.SetDynamicStyles = Menu_SetDynamicStyles;

	this.SetHorizontalAlignment = Menu_SetHorizontalAlignment;

	this.SetMenuStyle = Menu_SetMenuStyle;

	this.SetOrientation = Menu_SetOrientation;

	this.SetSize = Menu_SetSize;

	this.SetSubMenuImage = Menu_SetSubMenuImage;

	this.SetVerticalAlignment = Menu_SetVerticalAlignment;

	this.SetShowHoverOnHighlight = Menu_SetShowHoverOnHighlight;

	this.SetClickToShowMenu = Menu_SetClickToShowMenu;

	this.Render = Menu_Render;

	this._type = "root";

	this._aItems = new Array();

	this._sNodeID = null;

	this._sChildSetID = Menu_GetNewUniqueID();

	this._bHasChrome = false;

	this._bHasSize = false;

	this._bHasStyleScheme = false;

	if (IE) this._oStyleSheet = document.createStyleSheet();

	this._parentItem = null;

	this._parentMenu = this;

	this._sHAlign = "R";

	this._sOrientation = "V";

	this._sStyleMenu = "";

	this._sVAlign = "M";

	this._bShowHoverOnHighlight = false;

	this._bClickToShowMenu = false;

	this._sDefaultNormalStyle = Menu_GetNewRuleName();

	this._sDefaultHoverStyle = Menu_GetNewRuleName();

	this._sDefaultHighlightStyle = Menu_GetNewRuleName();

	this._sFloatRule = Menu_GetNewRuleName();

	if (IE) {

		this._oStyleSheet.addRule("." + this._sDefaultNormalStyle, sNS);

		this._oStyleSheet.addRule("." + this._sDefaultHoverStyle, sHS);

		this._oStyleSheet.addRule("." + this._sDefaultHighlightStyle, sHiLS);

		this._oStyleSheet.addRule("." + this._sFloatRule, "display: none; position: absolute;"); }

	else {

		gss.insertRule("." + this._sDefaultNormalStyle + "{" + sNS + "}", 0);

		gss.insertRule("." + this._sDefaultHoverStyle + "{" + sHS + "}", 0);

		gss.insertRule("." + this._sDefaultHighlightStyle + "{" + sHiLS + "}", 0);

		gss.insertRule("." + this._sFloatRule + "{ display: none; position: absolute; }", 0); }

	this.SetMenuStyle(sDS);

}



var _Menu_CreatedItemsByUniqueID = new Array();



function Menu_CreateMenu() { return new Menu_MenuItem(this); }



function Menu_CreateLink() {return new Menu_LinkItem(this); }



function Menu_CreateAction() {return new Menu_ActionItem(this); }



function Menu_MenuItem(oParentMenu) {

	Menu_ItemBase(this, oParentMenu);

	this.AddItem = Menu_AddItem;

	this.SetSize = Menu_SetSize;

	this.SetChromeImages = Menu_SetChromeImages;

	this.SetOrientation = Menu_SetOrientation;

	this.SetMenuStyle = Menu_SetMenuStyle;

	this.SetSubMenuImage = Menu_SetSubMenuImage;

	this._type = "menu";

	this._aItems = new Array();

	this._sChildSetID = Menu_GetNewUniqueID();

	this._bHasChrome = false;

	this._bHasSize = false;

	this._bHasStyleScheme = false;

	this._sOrientation = "V";

	this.SetHorizontalAlignment("R");  //

	if (RM) this.SetDynamicStyles(sNS, sHS, sHiLS);  //

	else this.SetDynamicStyles(sNSS, sHSS, sHiLSS); }  //



function Menu_LinkItem(oParentMenu) {

	Menu_ItemBase(this, oParentMenu);

	this.href = "#";

	this._type = "link";

	this.SetHighlight(); //

	this.SetHorizontalAlignment("C"); //

	if (RM) this.SetDynamicStyles(sNS, sHLS, sHiLS);  //

	else this.SetDynamicStyles(sNSS, sHLSS, sHiLSS); }  //



function Menu_ActionItem(oParentMenu) {

	Menu_ItemBase(this, oParentMenu);

	this.action = null;

	this._type = "action"; }



function Menu_ItemBase(oItem, oParentMenu) {

	var sUniqueID = Menu_GetNewUniqueID();

	_Menu_CreatedItemsByUniqueID[sUniqueID] = oItem;

	oItem._sNodeID = sUniqueID;

	oItem._parentMenu = oParentMenu._parentMenu;

	oItem._parentItem = null;

	oItem.SetHighlight = Menu_SetHighlight;

	oItem.SetDynamicStyles = Menu_SetDynamicStyles;

	oItem.SetHorizontalAlignment = Menu_SetHorizontalAlignment;

	oItem.SetVerticalAlignment = Menu_SetVerticalAlignment;

	oItem.displayHtml = "&lt;item&gt;";

	oItem.Activate = Menu_Activate;

	oItem.Deactivate = Menu_Deactivate;

	oItem.Hover = Menu_Hover;

	oItem.Unhover = Menu_Unhover;

	oItem._bActive = false;

	oItem._bHover = false;

	oItem._bHighlight = false; }



function Menu_AddItem(oItem) {

	if (oItem._type != null)

		{

		if (oItem._type == "menu" || oItem._type == "link" || oItem._type == "action")

			{

			oItem._parentItem = this;

			this._aItems[this._aItems.length] = oItem;

			}

		} }



function Menu_SetHighlight() { this._bHighlight = true; }



function Menu_SetSubMenuImage(sImageURL, cx, cy) {

	this._sSubImage = sImageURL;

	this._cxSubImage = cx;

	this._cySubImage = cy; }



function Menu_SetMenuStyle(sMenuStyle) {

	if (sMenuStyle.length > 0) {

		var sRuleName = Menu_GetNewRuleName();

		if (IE) this._parentMenu._oStyleSheet.addRule("." + sRuleName, sMenuStyle);  //

		else {gss.insertRule("." + sRuleName + "{" + sMenuStyle + "}", 0);}

		this._sStyleMenu = sRuleName; }

	else

		this._sStyleMenu = null; }



function Menu_SetDynamicStyles(sNormalStyle, sHoverStyle, sHighlightStyle) {

	this._bHasStyleScheme = true;

	var oMenuStyleSheet = this._parentMenu._oStyleSheet;

	var sRuleName = Menu_GetNewRuleName();

	if (IE) oMenuStyleSheet.addRule("." + sRuleName, sNormalStyle);  //

	else {gss.insertRule("." + sRuleName + "{" + sNormalStyle + "}", 0);}

	this._sStyleNormal = sRuleName;

	sRuleName = Menu_GetNewRuleName();

	if (IE) oMenuStyleSheet.addRule("." + sRuleName, sHoverStyle);  //

	else {gss.insertRule("." + sRuleName + "{" + sHoverStyle + "}", 0);}

	this._sStyleHover = sRuleName;

	sRuleName = Menu_GetNewRuleName();

	if (IE) oMenuStyleSheet.addRule("." + sRuleName, sHighlightStyle);  //

	else {gss.insertRule("." + sRuleName + "{" + sHighlightStyle + "}", 0);}

	this._sStyleHighlight = sRuleName;}



function Menu_SetChromeImages(sImageURL_TopLeft, sImageURL_Top, sImageURL_TopRight, sImageURL_Left, sImageURL_Right, sImageURL_BottomLeft, sImageURL_Bottom, sImageURL_BottomRight, cxLeft, cxRight, cyTop, cyBottom) {

	this._bHasChrome = true;

	this._sChromeTL = sImageURL_TopLeft;

	this._sChromeTM = sImageURL_Top;

	this._sChromeTR = sImageURL_TopRight;

	this._sChromeLF = sImageURL_Left;

	this._sChromeRT = sImageURL_Right;

	this._sChromeBL = sImageURL_BottomLeft;

	this._sChromeBM = sImageURL_Bottom;

	this._sChromeBR = sImageURL_BottomRight;

	this._cxChromeL = cxLeft;

	this._cxChromeR = cxRight;

	this._cyChromeT = cyTop;

	this._cyChromeB = cyBottom; }



function Menu_SetOrientation(sOrientation) {

	var s = sOrientation.substr(0, 1).toUpperCase();

	if (s == "H" || s == "V")

		this._sOrientation = s

	else

		this._sOrientation = null; }



function Menu_SetSize(cxWidth, cyHeight) {

	this._bHasSize = true;

	this._cx = cxWidth;

	this._cy = cyHeight; }



function Menu_SetHorizontalAlignment(sHAlign) {

	var s = sHAlign.substr(0, 1).toUpperCase();

	if (s == "L" || s == "C" || s == "R")

		this._sHAlign = s;

	else

		this._sHAlign = null; }



function Menu_SetVerticalAlignment(sVAlign) {

	this._sVAlign = "M"; }



function Menu_SetShowHoverOnHighlight(bShow) {this._bShowHoverOnHighlight = bShow; }



function Menu_SetClickToShowMenu(bClick) {this._bClickToShowMenu = bClick; }



function Menu_OnClickLink(elmItem) {

	var oItem = Menu_GetItemFromID(elmItem.id);

	var sHrefT = oItem.href;

	var sHT3 = sHrefT.substr(0, 3);

	oItem.Activate();

	if (sHT3=="htt" || sHT3=="pdf" || sHT3=="sec" || sHT3=="img") window.open(sHrefT); //

	else window.location = sHrefT; } //



function Menu_OnClickAction(elmItem) {

	var oItem = Menu_GetItemFromID(elmItem.id);

	oItem.Activate();

	eval(unescape(oItem.action));

	oItem.Deactivate(); }



function Menu_OnClickMenu(elmItem) {

	var oItem = Menu_GetItemFromID(elmItem.id);

	if (oItem._bActive)

		oItem.Deactivate();

	else

		oItem.Activate(); }



function Menu_OnOverLeaf(elmItem) {

	var oItem = Menu_GetItemFromID(elmItem.id);

	if (! oItem._parentMenu._bClickToShowMenu)

		oItem.Activate();

	oItem.Hover(); }



function Menu_OnOverNode(elmItem) {

	var oItem = Menu_GetItemFromID(elmItem.id);

	if (! oItem._parentMenu._bClickToShowMenu)

		oItem.Activate();

	oItem.Hover(); }



function Menu_OnOutLeaf(elmItem) {

	var oItem = Menu_GetItemFromID(elmItem.id);

	oItem.Unhover(); }



function Menu_OnOutNode(elmItem) {

	var oItem = Menu_GetItemFromID(elmItem.id);

	oItem.Unhover(); }



function Menu_GetItemFromID(sItemID) {return _Menu_CreatedItemsByUniqueID[sItemID]; }



function Menu_Activate() {

	this._bActive = true;

	var oParentItem;

	oParentItem = this._parentItem;

	var aItems = oParentItem._aItems;

	for (var nItem = 0; nItem < aItems.length; nItem++)

		{

		var oItem = aItems[nItem];

		if (oItem !== this)

			{

			oItem.Deactivate();

			Menu_Refresh(oItem);

			}

		}

	if (this._type == "menu")

		Menu_DisplaySubMenu(this);

	if (oParentItem._type == "menu")

		oParentItem.Activate(); }



function Menu_Deactivate() {

	this._bActive = false;

	if (this._type == "menu")

		Menu_HideSubMenu(this);	}



function Menu_Hover() {

	this._bHover = true;

	Menu_Refresh(this); }



function Menu_Unhover() {

	this._bHover = false;

	Menu_Refresh(this); }



function Menu_Refresh(oItem) {

	var elmItem = document.getElementById(oItem._sNodeID);

	var sRule;

	if (oItem._bHover)

		{

		if ((! oItem._bHighlight) || (oItem._bHighlight && oItem._parentMenu._bShowHoverOnHighlight))

			{

			sRule = Menu_GetChildHoverStyle(oItem);

			elmItem.className = sRule;

			}

		if (oItem._type != "menu")

			{

			if (oItem._type == "link")

				window.status = oItem.href;

			}

		}

	else

		{

		if (oItem._type == "menu")

			{

			if (! oItem._bActive)

				{

				if (oItem._bHighlight)

					sRule = Menu_GetChildHighlightStyle(oItem);

				else

					sRule = Menu_GetChildNormalStyle(oItem);

				elmItem.className = sRule;

				}

			}

		else

			{

			if (oItem._bHighlight)

				sRule = Menu_GetChildHighlightStyle(oItem);

			else

				sRule = Menu_GetChildNormalStyle(oItem);

			elmItem.className = sRule;

			if (oItem._type == "link")

				window.status = window.defaultStatus;

			}

		} }



function Menu_DisplaySubMenu(item) {

	var element = document.getElementById(item._sNodeID);

	var elmDiv = document.getElementById("div_" + item._sChildSetID);

	if (elmDiv == null)

		{

		elmDiv = document.createElement("DIV");

		elmDiv.id = "div_" + item._sChildSetID;

		document.body.appendChild(elmDiv);

		elmDiv.className = item._parentMenu._sFloatRule;

		elmDiv.innerHTML = item._sHtml;

		}

	elmDiv.style.visible = "hidden";

	elmDiv.style.display = "block";

	if (Menu_GetChildOrientation(item._parentItem) == "H")

		{

		elmDiv.style.pixelTop = Menu_GetOffsetTop(element) + element.clientHeight;

		if (elmDiv.style.pixelBottom > (document.body.scrollTop + document.body.clientHeight)) //

			elmDiv.style.pixelTop = Menu_GetOffsetTop(element) - elmDiv.clientHeight;

		if (item._sHAlign == "L")

			elmDiv.style.pixelLeft = Menu_GetOffsetLeft(element);

		else if(item._sHAlign == "R")

			elmDiv.style.pixelLeft = (Menu_GetOffsetLeft(element) + element.clientWidth) - oDiv.clientWidth;

		}

	else

		{

		(IE ? elmDiv.style.pixelTop = Menu_GetOffsetTop(element) - 2 : elmDiv.style.top = Menu_GetOffsetTop(element) - 2);  //

		if ((Menu_GetOffsetTop(elmDiv) + elmDiv.clientHeight) > (document.body.scrollTop + document.body.clientHeight))

			{

			(IE ? elmDiv.style.pixelTop = Math.max((Menu_GetOffsetTop(element) - elmDiv.clientHeight) + element.clientHeight, 0) : elmDiv.style.top = Math.max((Menu_GetOffsetTop(element) - elmDiv.clientHeight) + element.clientHeight, 0));

			}

		(IE ? elmDiv.style.pixelLeft = Menu_GetOffsetLeft(element) + element.clientWidth + 4 : elmDiv.style.left = Menu_GetOffsetLeft(element) + element.clientWidth  + 4);

		}

	elmDiv.style.visible = "visible"; }



function Menu_HideSubMenu(item) {

	var oDiv = document.getElementById("div_" + item._sChildSetID);

	if (oDiv != null)

		{

		oDiv.style.display = "none";

		for (var nItem = 0; nItem < item._aItems.length; nItem++)

			{

			var oChildItem = item._aItems[nItem];

			if (oChildItem._type == "menu" && oChildItem._bActive)

				oChildItem.Deactivate();

			}

		} }



function Menu_GetOffsetTop(element) {

	return element.offsetTop + (element.offsetParent != null ? Menu_GetOffsetTop(element.offsetParent) : 0); }



function Menu_GetOffsetLeft(element) {

	return element.offsetLeft + (element.offsetParent != null ? Menu_GetOffsetLeft(element.offsetParent) : 0); }



function Menu_Render() {

	var sID;

	sID = Menu_GenerateHtml(this)

	document.write(this._sHtml);

	return sID; }



function Menu_GenerateHtml(item) {

	var sMenuBeginOpen = "<table "; //

	var sMenuBeginClose = ">";

	var sUniqueID = " id=\"" + item._sChildSetID + "\"";

	var sParentID = "";

	var sParentItemID = item._sNodeID;

	if (sParentItemID != null)

		if (sParentItemID.length > 0)

			sParentID = " _menu_parentID=\"" + sParentItemID + "\"";

	var sWhiteSpace = " cellpadding=\"0\" cellspacing=\"0\""

		

	var sClass = "";

	sClass = Menu_GetChildMenuStyle(item);

	if (sClass.length > 0)

		sClass = " class=\"" + sClass + "\"";

	var sMenuWidth = "";

	var cx = Menu_GetBodyWidth(item);

	if (cx > 0)

		{

		cx += Menu_GetChildChromeWidthLeft(item) + Menu_GetChildChromeWidthRight(item);

		sMenuWidth = " width=\"" + cx.toString() + "px\"";

		}

	var sMenuHeight = "";

	var cy = Menu_GetBodyHeight(item);

	if (cy > 0)

		{

		cy += Menu_GetChildChromeHeightTop(item) + Menu_GetChildChromeHeightBottom(item);

		sMenuHeight = " height=\"" + cy.toString() + "px\"";

		}

		

	var sMenuBeginTag = sMenuBeginOpen + sUniqueID + sParentID + sWhiteSpace + sClass + sMenuWidth + sMenuHeight + sMenuBeginClose;

	var sMenuEndTag = "</table>";

	var sChromeTop = Menu_GetChromeTop(item);

	var sChromeBottom = Menu_GetChromeBottom(item);

	var sRows = "";

	var sRowBeginTag = "<tr>";

	var sRowEndTag = "</tr>";

	var cRows = Menu_GetRowCount(item);

	var cCols = Menu_GetColumnCount(item);

	for (var nRow = 1; nRow <= cRows; nRow++)

		{

		var sCols = "";

		for (var nCol = 1; nCol <= cCols; nCol++)

			{

			sCols += Menu_GetItemHtml(item._aItems[(nRow - 1) + (nCol - 1)]);

			}

		sRows += sRowBeginTag + Menu_GetChromeLeft(item) + sCols + Menu_GetChromeRight(item) + sRowEndTag;

		}

	var sMenu = sMenuBeginTag + sChromeTop + sRows + sChromeBottom + sMenuEndTag;

	item._sHtml = sMenu;

	for (var nItem = 0; nItem < item._aItems.length; nItem++)

		{

		oItem = item._aItems[nItem];

		if (oItem._type == "menu")

			Menu_GenerateHtml(oItem);

		}

	return sParentItemID; }



function Menu_GetItemHtml(item) {

	var sItemBeginTag;

	var sItemBeginTagOpen = "<td";

	var sItemBeginTagClose = "><div style=\"position:relative; left:0px; top:0px;\">";

	var sItemEndTag = "</div></td>";

	var sUniqueID = " id=\"" + item._sNodeID + "\"";

	var sClass = "";

	if (item._bHighlight)

		sClass = Menu_GetChildHighlightStyle(item);

	else

		sClass = Menu_GetChildNormalStyle(item);

	sClass = " class=\"" + sClass + "\"";

	var sWidth;

	var sHeight;

	var cx;

	var cy;

	cx = Menu_GetParentWidth(item);

	cy = Menu_GetParentHeight(item);

	if (cx > 0)

		sWidth = " width=\"" + cx.toString() + "px\"";

	if (cy > 0)

		sHeight = " height=\"" + cy.toString() + "px\"";

	var sHAlign = Menu_GetChildHAlign(item);

	sHAlign = (sHAlign == "L") ? "left" : (sHAlign == "C") ? "center" : (sHAlign == "R") ? "right" : "";

	if (sHAlign.length > 0)

		sHAlign = " align=\"" + sHAlign + "\""

	var sVAlign = " valign=middle"

	var sOnClick = "";

	if (item._type == "link")

		sOnClick = " onclick=\"javascript:Menu_OnClickLink(this);\" ondblclick=\"javascript:Menu_OnClickLink(this);\"";

	else if(item._type == "action")

		sOnClick = " onclick=\"javascript:Menu_OnClickAction(this);\" ondblclick=\"javascript:Menu_OnClickAction(this);\"";

	else if(item._type == "menu")

		sOnClick = " onclick=\"javascript:Menu_OnClickMenu(this);\" ondblclick=\"javascript:Menu_OnClickMenu(this);\"";

	var sOnOver = "";

	if (item._type == "link" || item._type == "action")

		sOnOver = " onmouseover=\"javascript:Menu_OnOverLeaf(this);\"";

	else if(item._type == "menu")

		sOnOver = " onmouseover=\"javascript:Menu_OnOverNode(this);\"";

	var sOnOut = "";

	if (item._type == "link" || item._type == "action")

		sOnOut = " onmouseout=\"javascript:Menu_OnOutLeaf(this)\"";

	else if(item._type == "menu")

		sOnOut = " onmouseout=\"javascript:Menu_OnOutNode(this)\"";

	sItemBeginTag = sItemBeginTagOpen + sUniqueID + sClass + sWidth + sHeight + sHAlign + sVAlign + sOnClick + sOnOver + sOnOut + sItemBeginTagClose;

	var sSubImage = "";

	if (item._type == "menu" && item._aItems.length > 0)

		{

		var cxImg = Menu_GetParentSubMenuImageWidth(item);

		var cyImg = Menu_GetParentSubMenuImageHeight(item);

		sSubImage = "<img align=top style=\"margin-left:10;\" src=\"" + Menu_GetParentSubMenuImageSrc(item) + "\" width=\"" + cxImg + "\" height=\"" + cyImg + "\">";

		}

	return sItemBeginTag + item.displayHtml + sSubImage + sItemEndTag; }



function Menu_GetChromeTop(item) {

	var sTL = Menu_GetChildChromeTL(item);

	var sTM = Menu_GetChildChromeTM(item);

	var sTR = Menu_GetChildChromeTR(item);

	var cy = Menu_GetChildChromeHeightTop(item);

	var cxL = Menu_GetChildChromeWidthLeft(item);

	var cxR = Menu_GetChildChromeWidthRight(item);

	var sTop = "";

	if (sTL.length > 0 && sTM.length > 0 && sTR.length > 0 && cy > 0 && cxL > 0 && cxR > 0)

		{

		var sRowBegin = "<tr height=\"" + cy.toString() + "px\">";

		var sRowEnd = "</tr>";



		var sTDEnd = "</td>";

		var sTDTL = "<td width=\"" + cxL.toString() + "px\" height=\"" + cy.toString() + "px\">";

		var sImgTL = "<img src=\"" + sTL + "\" width=\"" + cxL.toString() + "px\" height=\"" + cy.toString() + "px\">";

		var cx = Menu_GetBodyWidth(item);

		var sTDWidth;

		var sImgWidth;

		if (cx > 0)

			{

			sTDWidth = " width=\"" + cx.toString() + "px\"";

			sImgWidth = sTDWidth;

			}

		else

			{

			sTDWidth = "";

			sImgWidth = " width=\"100%\"";

			}

		var cCols = Menu_GetColumnCount(item);

		var sTDTM = "<td" + sTDWidth + " colspan=\"" + cCols.toString() + "\">";

		var sImgTM = "<img src=\"" + sTM + "\"" + sImgWidth + " height=\"" + cy.toString() + "px\">";

		var sTDTR = "<td width=\"" + cxR.toString() + "px\" height=\"" + cy.toString() + "px\">";

		var sImgTR = "<img src=\"" + sTR + "\" width=\"" + cxR.toString() + "px\" height=\"" + cy.toString() + "px\">";

		

		sTop = sRowBegin + sTDTL + sImgTL + sTDEnd + sTDTM + sImgTM + sTDEnd + sTDTR + sImgTR + sTDEnd + sRowEnd;

		}

	return sTop; }



function Menu_GetChromeBottom(item) {

	var sBL = Menu_GetChildChromeBL(item);

	var sBM = Menu_GetChildChromeBM(item);

	var sBR = Menu_GetChildChromeBR(item);

	

	var cy = Menu_GetChildChromeHeightBottom(item);

	var cxL = Menu_GetChildChromeWidthLeft(item);

	var cxR = Menu_GetChildChromeWidthRight(item);

	var sBottom = "";

	if (sBL.length > 0 && sBM.length > 0 && sBR.length > 0 && cy > 0 && cxL > 0 && cxR > 0)

		{

		var sRowBegin = "<tr height=\"" + cy.toString() + "px\">";

		var sRowEnd = "</tr>";

		

		var sTDEnd = "</td>";

		var sTDBL = "<td width=\"" + cxL.toString() + "px\" height=\"" + cy.toString() + "px\">";

		var sImgBL = "<img src=\"" + sBL + "\" width=\"" + cxL.toString() + "px\" height=\"" + cy.toString() + "px\">";

		var cx = Menu_GetBodyWidth(item);

		var sTDWidth;

		var sImgWidth;

		if (cx > 0)

			{

			sTDWidth = " width=\"" + cx.toString() + "px\"";

			sImgWidth = sTDWidth;

			}

		else

			{

			sTDWidth = "";

			sImgWidth = " width=\"100%\"";

			}

		var cCols = Menu_GetColumnCount(item);

		var sTDBM = "<td" + sTDWidth + " colspan=\"" + cCols.toString() + "\">";

		var sImgBM = "<img src=\"" + sBM + "\"" + sImgWidth + " height=\"" + cy.toString() + "px\">";

		

		var sTDBR = "<td width=\"" + cxR.toString() + "px\" height=\"" + cy.toString() + "px\">";

		var sImgBR = "<img src=\"" + sBR + "\" width=\"" + cxR.toString() + "px\" height=\"" + cy.toString() + "px\">";

		

		sBottom = sRowBegin + sTDBL + sImgBL + sTDEnd + sTDBM + sImgBM + sTDEnd + sTDBR + sImgBR + sTDEnd + sRowEnd;

		}

	return sBottom; }



function Menu_GetChromeLeft(item) {

	var sLF = Menu_GetChildChromeLF(item);

	var cy = Menu_GetChildHeight(item);

	var cx = Menu_GetChildChromeWidthLeft(item);

	var sLeft = "";

	if (sLF.length > 0 && cx > 0)

		{

		var sTDEnd = "</td>";

		var sTDHeight;

		var sImgHeight;

		if (cy > 0)

			{

			sTDHeight = " height=\"" + cy.toString() + "px\"";

			sImgHeight = sTDHeight;

			}

		else

			{

			sTDHeight = " height=\"100%\"";

			sImgHeight = " height=\"100%\"";

			}

		var sTDLF = "<td width=\"" + cx.toString() + "px\"" + sTDHeight + ">";

		var sImgLF = "<img src=\"" + sLF + "\" width=\"" + cx.toString() + "px\"" + sImgHeight + ">";

		

		sLeft = sTDLF + sImgLF + sTDEnd;

		}

	return sLeft; }



function Menu_GetChromeRight(item) {

	var sRT = Menu_GetChildChromeRT(item);

	var cy = Menu_GetChildHeight(item);

	var cx = Menu_GetChildChromeWidthRight(item);

	var sRight = "";

	if (sRT.length > 0 && cx > 0)

		{

		var sTDEnd = "</td>";

		var sTDHeight;

		var sImgHeight;

		if (cy > 0)

			{

			sTDHeight = " height=\"" + cy.toString() + "px\"";

			sImgHeight = sTDHeight;

			}

		else

			{

			sTDHeight = " height=\"100%\"";

			sImgHeight = " height=\"100%\"";

			}

		var sTDRT = "<td width=\"" + cx.toString() + "px\"" + sTDHeight + ">";

		var sImgRT = "<img src=\"" + sRT + "\" width=\"" + cx.toString() + "px\"" + sImgHeight + ">";

		

		sRight = sTDRT + sImgRT + sTDEnd;

		}

	return sRight; }



function Menu_GetNewRuleName() {

	_cMenu_StyleRuleCount++;

	return "Menu_DynamicRule" + _cMenu_StyleRuleCount.toString(); }



var _cMenu_UniqueIDCount = 0;



function Menu_GetNewUniqueID() {

	_cMenu_UniqueIDCount++;

	return "Menu_UniqueID_" + _cMenu_UniqueIDCount.toString(); }



function Menu_GetRowCount(parent) {

	if (Menu_GetChildOrientation(parent) == "H")

		return 1;

	else

		return parent._aItems.length; }



function Menu_GetColumnCount(parent) {

	if (Menu_GetChildOrientation(parent) == "V")

		return 1;

	else

		return parent._aItems.length; }



function Menu_GetBodyWidth(parent) {

	var cx;

	if (Menu_GetChildOrientation(parent) == "H")

		cx = Menu_GetChildWidth(parent) * parent._aItems.length;

	else

		cx = Menu_GetChildWidth(parent);

	return cx; }



function Menu_GetBodyHeight(parent) {

	var cy;

	if (Menu_GetChildOrientation(parent) == "V")

		cy = Menu_GetChildHeight(parent) * parent._aItems.length;

	else

		cy = Menu_GetChildHeight(parent);

	return cy; }



function Menu_GetHasSize(item) {return (item._bHasSize != null ? item._bHasSize : false); }



function Menu_GetSelfOrAncestorWithSize(item) {

	return (Menu_GetHasSize(item) ? item : (item._parentItem != null ? Menu_GetSelfOrAncestorWithSize(item._parentItem) : null)); }



function Menu_GetAncestorWithSize(item) {

	return item._parentItem != null ? Menu_GetSelfOrAncestorWithSize(item._parentItem) : null; }



function Menu_GetChildWidth(item) {

	var oItemWithSize = Menu_GetSelfOrAncestorWithSize(item);

	return (oItemWithSize != null ? oItemWithSize._cx : 0); }



function Menu_GetChildHeight(item) {

	var oItemWithSize = Menu_GetSelfOrAncestorWithSize(item);

	return (oItemWithSize != null ? oItemWithSize._cy : 0); }



function Menu_GetParentWidth(item) {

	var oItemWithSize = Menu_GetAncestorWithSize(item);

	return (oItemWithSize != null ? oItemWithSize._cx : 0); }



function Menu_GetParentHeight(item) {

	var oItemWithSize = Menu_GetAncestorWithSize(item);

	return (oItemWithSize != null ? oItemWithSize._cy : 0); }



function Menu_GetHasStyleScheme(item) {

	return (item._bHasStyleScheme != null ? item._bHasStyleScheme : false); }



function Menu_GetSelfOrAncestorWithStyleScheme(item) {

	return (Menu_GetHasStyleScheme(item) ? item : (item._parentItem != null ? Menu_GetSelfOrAncestorWithStyleScheme(item._parentItem) : null)); }



function Menu_GetChildNormalStyle(item) {

	var oItemWithStyle = Menu_GetSelfOrAncestorWithStyleScheme(item);

	var sStyle = oItemWithStyle != null ? oItemWithStyle._sStyleNormal : item._parentMenu._sDefaultNormalStyle;

	return sStyle; }



function Menu_GetChildHighlightStyle(item) {

	var oItemWithStyle = Menu_GetSelfOrAncestorWithStyleScheme(item);

	var sStyle = oItemWithStyle != null ? oItemWithStyle._sStyleHighlight : item._parentMenu._sDefaultHighlightStyle;

	return sStyle; }



function Menu_GetChildHoverStyle(item) {

	var oItemWithStyle = Menu_GetSelfOrAncestorWithStyleScheme(item);

	var sStyle = oItemWithStyle != null ? oItemWithStyle._sStyleHover : item._parentMenu._sDefaultHoverStyle;

	return sStyle; }



function Menu_GetChildMenuStyle(item) {

	if (item._sStyleMenu != null)

		return item._sStyleMenu;

	else

		if (item._parentItem != null)

			return Menu_GetChildMenuStyle(item._parentItem); }



function Menu_GetHasChrome(item) {

	return (item._bHasChrome != null ? item._bHasChrome : false); }



function Menu_GetSelfOrAncestorWithChrome(item) {

	return (Menu_GetHasChrome(item) ? item : (item._parentItem != null ? Menu_GetSelfOrAncestorWithChrome(item._parentItem) : null)); }



function Menu_GetChildChromeTL(item) {

	var oItemWithChrome = Menu_GetSelfOrAncestorWithChrome(item);

	return (oItemWithChrome != null ? oItemWithChrome._sChromeTL : ""); }



function Menu_GetChildChromeTM(item) {

	var oItemWithChrome = Menu_GetSelfOrAncestorWithChrome(item);

	return (oItemWithChrome != null ? oItemWithChrome._sChromeTM : ""); }



function Menu_GetChildChromeTR(item) {

	var oItemWithChrome = Menu_GetSelfOrAncestorWithChrome(item);

	return (oItemWithChrome != null ? oItemWithChrome._sChromeTR : ""); }



function Menu_GetChildChromeLF(item) {

	var oItemWithChrome = Menu_GetSelfOrAncestorWithChrome(item);

	return (oItemWithChrome != null ? oItemWithChrome._sChromeLF : ""); }



function Menu_GetChildChromeRT(item) {

	var oItemWithChrome = Menu_GetSelfOrAncestorWithChrome(item);

	return (oItemWithChrome != null ? oItemWithChrome._sChromeRT : ""); }



function Menu_GetChildChromeBL(item) {

	var oItemWithChrome = Menu_GetSelfOrAncestorWithChrome(item);

	return (oItemWithChrome != null ? oItemWithChrome._sChromeBL : ""); }



function Menu_GetChildChromeBM(item) {

	var oItemWithChrome = Menu_GetSelfOrAncestorWithChrome(item);

	return (oItemWithChrome != null ? oItemWithChrome._sChromeBM : ""); }



function Menu_GetChildChromeBR(item) {

	var oItemWithChrome = Menu_GetSelfOrAncestorWithChrome(item);

	return (oItemWithChrome != null ? oItemWithChrome._sChromeBR : ""); }



function Menu_GetChildChromeWidthLeft(item) {

	var oItemWithChrome = Menu_GetSelfOrAncestorWithChrome(item);

	return (oItemWithChrome != null ? oItemWithChrome._cxChromeL : 0); }



function Menu_GetChildChromeWidthRight(item) {

	var oItemWithChrome = Menu_GetSelfOrAncestorWithChrome(item);

	return (oItemWithChrome != null ? oItemWithChrome._cxChromeR : 0); }



function Menu_GetChildChromeHeightTop(item) {

	var oItemWithChrome = Menu_GetSelfOrAncestorWithChrome(item);

	return (oItemWithChrome != null ? oItemWithChrome._cyChromeT : 0); }



function Menu_GetChildChromeHeightBottom(item) {

	var oItemWithChrome = Menu_GetSelfOrAncestorWithChrome(item);

	return (oItemWithChrome != null ? oItemWithChrome._cyChromeB : 0); }



function Menu_GetHasOrientation(item) {return (item._sOrientation != null); }



function Menu_GetSelfOrAncestorWithOrientation(item) {

	return (Menu_GetHasOrientation(item) ? item : (item._parentItem != null ? Menu_GetSelfOrAncestorWithOrientation(item._parentItem) : null)); }



function Menu_GetChildOrientation(item) {

	var oItemWithOrientation = Menu_GetSelfOrAncestorWithOrientation(item);

	return (oItemWithOrientation != null ? oItemWithOrientation._sOrientation : "H"); }



function Menu_GetHasSubMenuImage(item) {return (item._sSubImage != null); }



function Menu_GetSelfOrAncestorWithSubMenuImage(item) {

	return (Menu_GetHasSubMenuImage(item) ? item : (item._parentItem != null ? Menu_GetSelfOrAncestorWithSubMenuImage(item._parentItem) : null)); }



function Menu_GetAncestorWithSubMenuImage(item) {

	return item._parentItem != null ? Menu_GetSelfOrAncestorWithSubMenuImage(item._parentItem) : null; }



function Menu_GetChildSubMenuImageSrc(item) {

	var oItemWithSubMenuImage = Menu_GetSelfOrAncestorWithSubMenuImage(item);

	return (oItemWithSubMenuImage != null ? oItemWithSubMenuImage._sSubImage : null); }



function Menu_GetChildSubMenuImageWidth(item) {

	var oItemWithSubMenuImage = Menu_GetSelfOrAncestorWithSubMenuImage(item);

	return (oItemWithSubMenuImage != null ? oItemWithSubMenuImage._cxSubImage : null); }



function Menu_GetChildSubMenuImageHeight(item) {

	var oItemWithSubMenuImage = Menu_GetSelfOrAncestorWithSubMenuImage(item);

	return (oItemWithSubMenuImage != null ? oItemWithSubMenuImage._cySubImage : null); }



function Menu_GetParentSubMenuImageSrc(item) {

	var oItemWithSubMenuImage = Menu_GetAncestorWithSubMenuImage(item);

	return (oItemWithSubMenuImage != null ? oItemWithSubMenuImage._sSubImage : null); }



function Menu_GetParentSubMenuImageWidth(item) {

	var oItemWithSubMenuImage = Menu_GetAncestorWithSubMenuImage(item);

	return (oItemWithSubMenuImage != null ? oItemWithSubMenuImage._cxSubImage : null); }



function Menu_GetParentSubMenuImageHeight(item) {

	var oItemWithSubMenuImage = Menu_GetAncestorWithSubMenuImage(item);

	return (oItemWithSubMenuImage != null ? oItemWithSubMenuImage._cySubImage : null); }



function Menu_GetHasHorizontalAlignment(item) {return (item._sHAlign != null); }



function Menu_GetSelfOrAncestorWithHorizontalAlignment(item) {

	return (Menu_GetHasHorizontalAlignment(item) ? item : (item._parentItem != null ? Menu_GetSelfOrAncestorWithHorizontalAlignment(item._parentItem) : null)); }



function Menu_GetChildHAlign(item) {

	var oItemWithHAlign = Menu_GetSelfOrAncestorWithHorizontalAlignment(item);

	return (oItemWithHAlign != null ? oItemWithHAlign._sHAlign : "L"); }



function Menu_GetHasVerticalAlignment(item) {

	return (item._sVAlign != null); }



function Menu_GetSelfOrAncestorWithVerticalAlignment(item) {

	return (Menu_GetHasVerticalAlignment(item) ? item : (item._parentItem != null ? Menu_GetSelfOrAncestorWithVerticalAlignment(item._parentItem) : null)); }



function Menu_GetChildVAlign(item) {

	var oItemWithVAlign = Menu_GetSelfOrAncestorWithVerticalAlignment(item);

	return (oItemWithVAlign != null ? oItemWithVAlign._sVAlign : "M"); }



var oHPmenu = new Menu();

	oHPmenu.SetSubMenuImage("imgs/HPmenu_Arrow.gif", 11, 14);

	oHPmenu.SetChromeImages("imgs/MenTL.bmp", "imgs/MenTM.bmp", "imgs/MenTR.bmp", "imgs/MenLM.bmp", "imgs/MenRM.bmp", "imgs/MenBL.bmp", "imgs/MenBM.bmp", "imgs/MenBR.bmp", 4, 4, 4, 4);

	oHPmenu.SetSize(202, 22);

	oHPmenu.SetShowHoverOnHighlight(true);

	oHPmenu.SetClickToShowMenu(false);

	oHPmenu.SetMenuStyle(sDS);

	oHPmenu.SetVerticalAlignment("M");





RM=1; var oHPmenuA = oHPmenu.CreateLink();

oHPmenuA.displayHtml = "Activities Calendar";

oHPmenuA.href = "ActivitiesCalendar.htm";

oHPmenu.AddItem(oHPmenuA); RM=0;

RM=1; var oHPmenuB = oHPmenu.CreateLink();

oHPmenuB.displayHtml = "Section Mileages";

oHPmenuB.href = "SectionMileages.php";

oHPmenu.AddItem(oHPmenuB); RM=0;

RM=1; var oHPmenuC = oHPmenu.CreateMenu();

oHPmenuC.displayHtml = "The Trail - Map & Stats";

oHPmenu.AddItem(oHPmenuC);

oHPmenuC.SetSize(200, 23); RM=0;

var oHPmenuC1 = oHPmenu.CreateLink();

oHPmenuC1.displayHtml = "Overview Map Page";

oHPmenuC1.href = "OverviewMap.htm";

oHPmenuC.AddItem(oHPmenuC1);

var oHPmenuC4 = oHPmenu.CreateLink();

oHPmenuC4.displayHtml = "Free Downloads (incl MAPS)";

oHPmenuC4.href = "FreeDownloads.htm";

oHPmenuC.AddItem(oHPmenuC4);

var oHPmenuC2 = oHPmenu.CreateLink();

oHPmenuC2.displayHtml = "BMT Vital Info";

oHPmenuC2.href = "BMTVitalInfo.htm";

oHPmenuC.AddItem(oHPmenuC2);

var oHPmenuC3 = oHPmenu.CreateLink();

oHPmenuC3.displayHtml = "Overview Map Download";

oHPmenuC3.href = "pdfs/BMT-OverviewMap.pdf";

oHPmenuC.AddItem(oHPmenuC3);

RM=1; var oHPmenuD = oHPmenu.CreateMenu();

oHPmenuD.displayHtml = "Hiker Resources";

oHPmenu.AddItem(oHPmenuD);

oHPmenuD.SetSize(210, 23); RM=0;

var oHPmenuD1 = oHPmenu.CreateLink();

oHPmenuD1.displayHtml = "Hiker Resources Page";

oHPmenuD1.href = "HikerResources.htm";

oHPmenuD.AddItem(oHPmenuD1);

var oHPmenuD2 = oHPmenu.CreateLink();

oHPmenuD2.displayHtml = "Trailheads and Access";

oHPmenuD2.href = "TrailheadsandAccessPoints.htm";

oHPmenuD.AddItem(oHPmenuD2);

var oHPmenuD3 = oHPmenu.CreateMenu();

oHPmenuD3.displayHtml = "Resupply";

oHPmenuD.AddItem(oHPmenuD3);

oHPmenuD3.SetSize(160, 23);

var oHPmenuD3a = oHPmenu.CreateLink();

oHPmenuD3a.displayHtml = "Points and Services";

oHPmenuD3a.href = "ResupplyPointsAndServices.htm";

oHPmenuD3.AddItem(oHPmenuD3a);

var oHPmenuD3b = oHPmenu.CreateLink();

oHPmenuD3b.displayHtml = "Resupply Details";

oHPmenuD3b.href = "ResupplyDetails.htm";

oHPmenuD3.AddItem(oHPmenuD3b);

var oHPmenuD4 = oHPmenu.CreateMenu();

oHPmenuD4.displayHtml = "Guides and Maps";

oHPmenuD.AddItem(oHPmenuD4);

oHPmenuD4.SetSize(200,23);

var oHPmenuD4a = oHPmenu.CreateLink();

oHPmenuD4a.displayHtml = "Cherokee NF Hiking Guide";

oHPmenuD4a.href = "http://www.utpress.org/a/searchdetails.php?jobno=T01025";

oHPmenuD4.AddItem(oHPmenuD4a);

var oHPmenuD4b = oHPmenu.CreateLink();

oHPmenuD4b.displayHtml = "GA Guide - Tim Homan";

oHPmenuD4b.href = "http://www.peachtree-online.com/product/2771.aspx";

oHPmenuD4.AddItem(oHPmenuD4b);

var oHPmenuD4c = oHPmenu.CreateLink();

oHPmenuD4c.displayHtml = "Suggested Maps";

oHPmenuD4c.href = "HikerResources.htm#SuggestedMaps";

oHPmenuD4.AddItem(oHPmenuD4c);

var oHPmenuD5 = oHPmenu.CreateLink();

oHPmenuD5.displayHtml = "Free Downloads (incl MAPS)";

oHPmenuD5.href = "FreeDownloads.htm";

oHPmenuD.AddItem(oHPmenuD5);

var oHPmenuD6 = oHPmenu.CreateLink();

oHPmenuD6.displayHtml = "Trail Advisories";

oHPmenuD6.href = "HikerResources.htm#Advisories";

oHPmenuD.AddItem(oHPmenuD6);

var oHPmenuD7 = oHPmenu.CreateLink();

oHPmenuD7.displayHtml = "Markers & Navigation";

oHPmenuD7.href = "HikerResources.htm#TrailMarkers";

oHPmenuD.AddItem(oHPmenuD7);

var oHPmenuD8 = oHPmenu.CreateLink();

oHPmenuD8.displayHtml = "Hiker Shuttles";

oHPmenuD8.href = "Shuttles.htm";

oHPmenuD.AddItem(oHPmenuD8);

var oHPmenuD9 = oHPmenu.CreateLink();

oHPmenuD9.displayHtml = "BMT Vital Info";

oHPmenuD9.href = "BMTVitalInfo.htm";

oHPmenuD.AddItem(oHPmenuD9);

var oHPmenuDA = oHPmenu.CreateLink();

oHPmenuDA.displayHtml = "Fish the BMT";

oHPmenuDA.href = "FishTheBMT.htm";

oHPmenuD.AddItem(oHPmenuDA);

RM=1; var oHPmenuE = oHPmenu.CreateMenu();

oHPmenuE.displayHtml = "For Trail Workers";

oHPmenu.AddItem(oHPmenuE);

oHPmenuE.SetSize(190, 23); RM=0;

var oHPmenuE1 = oHPmenu.CreateLink();

oHPmenuE1.displayHtml = "Maintainer's Page";

oHPmenuE1.href = "MaintainersPage.htm";

oHPmenuE.AddItem(oHPmenuE1);

var oHPmenuE3 = oHPmenu.CreateMenu();

oHPmenuE3.displayHtml = "Forms";

oHPmenuE.AddItem(oHPmenuE3);

oHPmenuE3.SetSize(210, 23);

var oHPmenuE3a = oHPmenu.CreateLink();

oHPmenuE3a.displayHtml = "Maintainer's Report Form";

oHPmenuE3a.href = "MaintainersReportForm.rtf";

oHPmenuE3.AddItem(oHPmenuE3a);

var oHPmenuE3b = oHPmenu.CreateLink();

oHPmenuE3b.displayHtml = "Trip Leader's Signup Sheet";

oHPmenuE3b.href = "pdfs/SignupSheet.pdf";

oHPmenuE3.AddItem(oHPmenuE3b);

var oHPmenuE3c = oHPmenu.CreateLink();

oHPmenuE3c.displayHtml = "Annual Walk-Thru Form";

oHPmenuE3c.href = "Annual Walk-Thru Report Form.txt";

oHPmenuE3.AddItem(oHPmenuE3c);

var oHPmenuE4 = oHPmenu.CreateLink();

oHPmenuE4.displayHtml = "For Section Maintainers";

oHPmenuE4.href = "SectionMaintainerGuidelines.htm";

oHPmenuE.AddItem(oHPmenuE4);

var oHPmenuE5 = oHPmenu.CreateLink();

oHPmenuE5.displayHtml = "Annual Walk-Thru";

oHPmenuE5.href = "AnnualWalk-Thru.php";

oHPmenuE.AddItem(oHPmenuE5);

var oHPmenuE6 = oHPmenu.CreateLink();

oHPmenuE6.displayHtml = "Maintainer of the Year";

oHPmenuE6.href = "MaintainerOfTheYear.htm";

oHPmenuE.AddItem(oHPmenuE6);

var oHPmenuE7 = oHPmenu.CreateLink();

oHPmenuE7.displayHtml = "Trailheads and Access";

oHPmenuE7.href = "TrailheadsandAccessPoints.htm";

oHPmenuE.AddItem(oHPmenuE7);

RM=1; var oHPmenuF = oHPmenu.CreateLink();

oHPmenuF.displayHtml = "Membership Info";

oHPmenuF.href = "Membership.htm";

oHPmenu.AddItem(oHPmenuF); RM=0;

RM=1; var oHPmenuG = oHPmenu.CreateLink();

oHPmenuG.displayHtml = "Want to Help?";

oHPmenuG.href = "WantToHelp.htm";

oHPmenu.AddItem(oHPmenuG); RM=0;

RM=1; var oHPmenuH = oHPmenu.CreateMenu();

oHPmenuH.displayHtml = "BMTA Store";

oHPmenu.AddItem(oHPmenuH);

oHPmenuH.SetSize(160, 23); RM=0;

var oHPmenuH1 = oHPmenu.CreateLink();

oHPmenuH1.displayHtml = "BMTA Store Page";

oHPmenuH1.href = "BMTA_Store.htm";

oHPmenuH.AddItem(oHPmenuH1);

var oHPmenuH2 = oHPmenu.CreateLink();

oHPmenuH2.displayHtml = "Order Form";

oHPmenuH2.href = "pdfs/BMTAOrderForm.pdf";

oHPmenuH.AddItem(oHPmenuH2);

RM=1; var oHPmenuI = oHPmenu.CreateMenu();

oHPmenuI.displayHtml = "Long-Distance Hiking";

oHPmenu.AddItem(oHPmenuI);

oHPmenuI.SetSize(120, 23); RM=0;

var oHPmenuI2 = oHPmenu.CreateLink();

oHPmenuI2.displayHtml = "300-Milers";

oHPmenuI2.href = "300-Milers.htm";

oHPmenuI.AddItem(oHPmenuI2);

var oHPmenuI3 = oHPmenu.CreateLink();

oHPmenuI3.displayHtml = "BMT-AT Loop";

oHPmenuI3.href = "BMT-ATLoop.htm";

oHPmenuI.AddItem(oHPmenuI3);

var oHPmenuI4 = oHPmenu.CreateMenu();

oHPmenuI4.displayHtml = "Resupply";

oHPmenuI.AddItem(oHPmenuI4);

oHPmenuI4.SetSize(160, 23);

var oHPmenuI4a = oHPmenu.CreateLink();

oHPmenuI4a.displayHtml = "Points and Services";

oHPmenuI4a.href = "ResupplyPointsAndServices.htm";

oHPmenuI4.AddItem(oHPmenuI4a);

var oHPmenuI4b = oHPmenu.CreateLink();

oHPmenuI4b.displayHtml = "Resupply Details";

oHPmenuI4b.href = "ResupplyDetails.htm";

oHPmenuI4.AddItem(oHPmenuI4b);

var oHPmenuI5 = oHPmenu.CreateLink();

oHPmenuI5.displayHtml = "Shuttles";

oHPmenuI5.href = "Shuttles.htm";

oHPmenuI.AddItem(oHPmenuI5);

RM=1; var oHPmenuP = oHPmenu.CreateLink();

oHPmenuP.displayHtml = "Report / View Trail Work";

oHPmenuP.href = "BMTAwork.php";

oHPmenu.AddItem(oHPmenuP); RM=0;

RM=1; var oHPmenuJ = oHPmenu.CreateMenu();

oHPmenuJ.displayHtml = "Current Issues";

oHPmenu.AddItem(oHPmenuJ);

oHPmenuJ.SetSize(190, 23); RM=0;

var oHPmenuJ1 = oHPmenu.CreateLink();

oHPmenuJ1.displayHtml = "Current Issues Page";

oHPmenuJ1.href = "CurrentIssues.htm";

oHPmenuJ.AddItem(oHPmenuJ1);

var oHPmenuJ2 = oHPmenu.CreateLink();

oHPmenuJ2.displayHtml = "Brawley Mountain Project";

oHPmenuJ2.href = "BrawleyMtComment1.htm";

oHPmenuJ.AddItem(oHPmenuJ2);

var oHPmenuJ3 = oHPmenu.CreateLink();

oHPmenuJ3.displayHtml = "N. Shore Rd - Smokies";

oHPmenuJ3.href = "NorthShoreRd.htm";

oHPmenuJ.AddItem(oHPmenuJ3);

var oHPmenuJ4 = oHPmenu.CreateLink();

oHPmenuJ4.displayHtml = "Stop I-3";

oHPmenuJ4.href = "StopI3.htm";

oHPmenuJ.AddItem(oHPmenuJ4);

RM=1; var oHPmenuK = oHPmenu.CreateLink();

oHPmenuK.displayHtml = "Get Connected";

oHPmenuK.href = "GetConnected.htm";

oHPmenu.AddItem(oHPmenuK); RM=0;

RM=1; var oHPmenuL = oHPmenu.CreateMenu();

oHPmenuL.displayHtml = "Press & BMTA Misc.";

oHPmenu.AddItem(oHPmenuL);

oHPmenuL.SetSize(210, 23); RM=0;

var oHPmenuL1 = oHPmenu.CreateLink();

oHPmenuL1.displayHtml = "Press Releases";

oHPmenuL1.href = "PressReleases.htm";

oHPmenuL.AddItem(oHPmenuL1);

var oHPmenuL2 = oHPmenu.CreateLink();

oHPmenuL2.displayHtml = "BMT Grand Opening";

oHPmenuL2.href = "BMTGrandOpening.htm";

oHPmenuL.AddItem(oHPmenuL2);

var oHPmenuL3 = oHPmenu.CreateLink();

oHPmenuL3.displayHtml = "25th Anniversary";

oHPmenuL3.href = "Anniversary25.htm";

oHPmenuL.AddItem(oHPmenuL3);

var oHPmenuL4 = oHPmenu.CreateLink();

oHPmenuL4.displayHtml = "Fed. Agency Partners";

oHPmenuL4.href = "FederalAgencyPartners.htm";

oHPmenuL.AddItem(oHPmenuL4);

var oHPmenuL5 = oHPmenu.CreateLink();

oHPmenuL5.displayHtml = "Photos";

oHPmenuL5.href = "Photos.htm";

oHPmenuL.AddItem(oHPmenuL5);

var oHPmenuL6 = oHPmenu.CreateLink();

oHPmenuL6.displayHtml = "Officer Reports, 2005";

oHPmenuL6.href = "OfficerReports2005.htm";

oHPmenuL.AddItem(oHPmenuL6);

var oHPmenuL7 = oHPmenu.CreateLink();

oHPmenuL7.displayHtml = "Maintainer of the Year";

oHPmenuL7.href = "MaintainerOfTheYear.htm";

oHPmenuL.AddItem(oHPmenuL7);

var oHPmenuL8 = oHPmenu.CreateLink();

oHPmenuL8.displayHtml = "Toccoa River Bridge Project";

oHPmenuL8.href = "ToccoaRvrBridgeProject.htm";

oHPmenuL.AddItem(oHPmenuL8);

var oHPmenuL9 = oHPmenu.CreateLink();

oHPmenuL9.displayHtml = "2004 Retreat Report";

oHPmenuL9.href = "pdfs/BMTARetreatReportFINAL.pdf";

oHPmenuL.AddItem(oHPmenuL9);

RM=1; var oHPmenuM = oHPmenu.CreateMenu();

oHPmenuM.displayHtml = "Site Map, Links, TOU";

oHPmenu.AddItem(oHPmenuM);

oHPmenuM.SetSize(120, 23); RM=0;

var oHPmenuM1 = oHPmenu.CreateLink();

oHPmenuM1.displayHtml = "Site Map";

oHPmenuM1.href = "SiteMap.htm";

oHPmenuM.AddItem(oHPmenuM1);

var oHPmenuM2 = oHPmenu.CreateLink();

oHPmenuM2.displayHtml = "Links";

oHPmenuM2.href = "LinksPage.htm";

oHPmenuM.AddItem(oHPmenuM2);

var oHPmenuM3 = oHPmenu.CreateLink();

oHPmenuM3.displayHtml = "Terms of Use";

oHPmenuM3.href = "TermsOfUse.htm";

oHPmenuM.AddItem(oHPmenuM3);

RM=1; var oHPmenuN = oHPmenu.CreateLink();

oHPmenuN.displayHtml = "Newsletter Archives";

oHPmenuN.href = "NewsletterArchives.htm";

oHPmenu.AddItem(oHPmenuN); RM=0;

RM=1; var oHPmenuO = oHPmenu.CreateLink();

oHPmenuO.displayHtml = "Contact Us";

oHPmenuO.href = "ContactUs.php";

oHPmenu.AddItem(oHPmenuO); RM=0;
