//>>>>>>>>>>>>>>>>>>>>>>>>>>>
//Add menu items if requested
//>>>>>>>>>>>>>>>>>>>>>>>>>>>

if (ShowNavigation)
{
    //Transfer the user to the V4 Info Center
    addMLSWebMenu("InfoCenterMenu", "Info Center", "", "http://" + domain + "Validation/Logout.asp?act=T&aid=" + STS_PUBLIC_SITE + "&dst=" + STS_PUBLIC_SITE_INFOCENTER);

    //Transfer to the default MLS Page
    addMLSWebMenu("MLSMenu", "MLS", "", "http://" + domain + "Validation/Logout.asp?act=T&aid=" + STS_MLS);

    //Public Records Menu
    addMLSWebMenu("TaxMenu", "Public Records", "","");
    addMLSWebSubMenu("TaxMenu", "Address Search", "http://" + domain + "search/addresssearch.asp");
    addMLSWebSubMenu("TaxMenu", "Owner Name Search", "http://" + domain + "search/ownernamesearch.asp");
    addMLSWebSubMenu("TaxMenu", "Owner Phone Search", "http://" + domain + "search/phonenumbersearch.asp");
    addMLSWebSubMenu("TaxMenu", "TaxID Search", "http://" + domain + "search/taxidcounty.asp");
    addMLSWebSubMenu("TaxMenu", "Search", "http://" + domain + "search");
    addMLSWebSubMenu("TaxMenu", "Saved Results", "http://" + domain + "search/savedresults.asp");
    addMLSWebSubMenu("TaxMenu", "Saved Criteria", "http://" + domain + "search/savedcriteria.asp");
    addMLSWebSubMenu("TaxMenu", "Export Results", "http://" + domain + "exports");
    addMLSWebSubMenu("TaxMenu","Resources","http://" + domain + "resources");
    addMLSWebSubMenu("TaxMenu","User Preferences","http://" + domain + "admin/UserPreferences.asp");

    if (IsStaff==1) {
        addMLSWebSubMenu("TaxMenu","Tax Site Admin","http://" + domain + "admin/default.asp");
    }

    //Member Directory
    addMLSWebMenu("ServicesMenu", "Services", "","");
    addMLSWebSubMenu("ServicesMenu", "<i style='font-size: 13px;'>Statistics</i>", "");
    addMLSWebSubMenuLine("ServicesMenu")
    addMLSWebSubMenu("ServicesMenu", "Economic &amp; Market Watch", "http://" + domain + "Validation/Logout.asp?act=T&aid=" + STS_PUBLIC_SITE + "&dst=" + STS_MLS_MARKET_WATCH);

    addMLSWebSubMenu("ServicesMenu", "Market Statistics", "http://" + domain + "statistics/marketstatistics/search.asp?fid=revise");
    addMLSWebSubMenu("ServicesMenu", "Residential Activity", "http://" + domain + "statistics/residentialactivity/search.asp");
    addMLSWebSubMenu("ServicesMenu", "Year-To-Date", "http://" + domain + "statistics/ytd/search.asp");

    //Member Directory
    addMLSWebMenu("FinancialMenu", "Financial", "","");
    addMLSWebSubMenu("FinancialMenu", "Amortization Schedule", "http://" + domain + "calculators/amortization/reportform.asp");
    addMLSWebSubMenu("FinancialMenu", "Buyer Closing Costs", "http://" + domain + "calculators/closingcost/buyercc.asp");
    addMLSWebSubMenu("FinancialMenu", "Seller Closing Costs", "http://" + domain + "calculators/closingcost/sellercc.asp");

    //Transfer the user to V4 My Account
    addMLSWebMenu("MyAccountMenu", "My Account", "", "http://" + domain + "Validation/Logout.asp?act=T&aid=" + STS_PUBLIC_SITE + "&dst=" + STS_PUBLIC_SITE_MYACCOUNT);

    //Transfer the user to V4 Help Desk
    addMLSWebMenu("HelpDeskMenu", "Help Desk", "", "http://" + domain + "Validation/Logout.asp?act=T&aid=" + STS_PUBLIC_SITE + "&dst=" + STS_PUBLIC_SITE_HELPDESK);

    //Log user off and present the V4 Login Page
    addMLSWebMenu("LogoffMenu", "Logoff", "Logoff Public Records","http://" + domain + "Validation/Logout.asp?act=L&aid=" + STS_PUBLIC_SITE + "&dst=" + STS_PUBLIC_SITE_LOGOUT);	

}
