<!DOCTYPE html>
<?php
/*
 * The Header template for our theme
 *
 * Displays all of the <head> section and everything up till <div id="main">
 *
 * @package WordPress
 * @subpackage Twenty_Thirteen
 * @since Twenty Thirteen 1.0
 */
/* 	this is Roy Weil's standard Trail header
 *
 *	to use: do the following
 *	Under "appearance", "customize", "Header Image" upload the left hand header logo
 *	   at a height of about 150
 *	Under "appearance", "customize", "Site Identity" enter header text
 *	Upload right hand header images to the directory wp-content/upload/Top-Banner-Images
 *			if no right hand image wanted, leave directory empty
 *
 */
$debugSwitch = rrwParam::isDebugMode("debugSwitch", false);
$debugNormal = rrwParam::isDebugMode("debugNormal", false);
$debugProgress = rrwParam::isDebugMode("debugProgress", false);
$eol = "<br />\n";
//if ( current_user_can( "edit_users" ) ) {
ini_set("display_errors", true);
$OriginalErrorReporting = error_reporting(E_ALL);
//} // else no auto debug
?>
<!--[if IE 7]>
<html class="ie ie7" <?php language_attributes(); ?>>wp-element-buttoncreative
<![endif]-->
<!--[if IE 8]>
<html class="ie ie8" <?php language_attributes(); ?>>
<![endif]-->
<!--[if !(IE 7) | !(IE 8)  ]><!-->
<html <?php language_attributes(); ?>>
<!--<![endif]-->

<head>
    <!-- I#1301 -- page  header.php try #16---------------------------------------- -->
    <meta charset="<?php bloginfo('charset'); ?>">
    <meta name="viewport" content="width=device-width">
    <title>
        <?php
        wp_title('|', true, 'right');
        ?>
    </title>
    <!--	<link rel="profile" href="https://gmpg.org/xfn/11">
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>">
-->
    <!--[if lt IE 9]>
	<script src="<?php echo get_template_directory_uri(); ?>/js/html5.js"></script>
	<![endif]-->
    <?php
    if ($debugProgress) print "I#1396 calling wp_head() <br />$eol -->\n  ";
    wp_head();
    if ($debugProgress) print "I#1307 after calling wp_head() <br />$eol -->\n  ";
    $rrw_trail_menu_footer_background_color = get_option("freewheelingeasy_menu_footer_background_color", "white");
    $rrw_trail_menu_footer_text_color =
        get_option("freewheelingeasy_menu_footer_text_color", "black");
    // switchname used to select different header based on url
    print "
<style>
.TDflex {
    float:left
}
</style>";
    $switchName = rrw_trail_SetSwitchName();        // used by serval switches below
    if ($debugProgress) print "\n-- I#1308 themes style section based on url and customizations  - $switchName ---------------------------------- -->$eol";
    switch ($switchName) { // set styles base on switch
        case "eriepittsburgh":
            print "
<style>
div.erieswishlogo {
	position: relative;
	top: 0;
	left: 0px;
}
div.erieSearchForm {
	position: absolute;
	bottom: 5px;
	right: 0px;
	border: 2px solid #73AD21;
}
div.eriemenu {
	position: absolute;
    top:45px;
	left: 125px;
	height: 20px;
/*  border: 2px solid #73AD21;  */
	z-index: 100;
}
/* Mobile devices */
@media (max-width: 359px) {
}
</style>
    ";
            break;
        case "picture":
        case "pictureDev":
            print "
<script src='/wp-content/plugins/roys-picture-processing/pictures.js'></script>
<script src='https://pictures.shaw-weil.com/wp-includes/js/jquery/jquery.min.js?ver=3.6.0'
    id='jquery-core-js'></script>
<script src='https://pictures.shaw-weil.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.3.2'
    id='jquery-migrate-js'></script>
<style>
.nav_rrw_buttons {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
</style>
";
            wp_enqueue_style("pictures", "https://pictures.shaw-weil.com/wp-content/plugins/roys-picture-processing/pictures.css");
            break;
        case "dino":
            wp_enqueue_style("dino", "https://dinomitedays.org/wp-content/plugins/dinomitedays/dinomitedays.css");
            break;
        case "theyWorking":
        case "tommarellogc":
            $rrw_trail_menu_footer_text_color = "white";
            break;
        case "normal":
        case "clean":
        case "demo7":
        case "edit":
        case "linkup":
            print '
            <style>

            wp-element-button {
                background-color: #cfcfcf !important;
                border: none;
                color: black;
            }
            </style>
            ';
            break;

        case "nudges":
            wp_enqueue_style("creative", "https://creative-nudges.com/wp-content/plugins/creative-nudges/creative-nudges.css");
            //            print "
            //<link rel='stylesheet' href='https://creative-nudges.com/wp-content/plugins/creative-nudges/creative-nudges.css' media='all'
            //           id='creative-nudges.css' ></link>
            //";
            break;
        case "ohio";
        case "tailOnly":
            break;
        case "validate":
            $_GET['nohead'] = "true"; // force no header
            break;
        default:
            print "<p>E#1302 Unknown switchName of '$switchName' in header.php</p> ";
            break;
    }
    // end if ( $switchName  )
    print "
<style>
.menucolor {
    color: $rrw_trail_menu_footer_text_color;
    background-color: $rrw_trail_menu_footer_background_color;
    min-height: 26px;
}
.menuitem {
    color: $rrw_trail_menu_footer_text_color;
    background-color: $rrw_trail_menu_footer_background_color;
    min-height: 26px;
}
.nav-menu a {
        color: $rrw_trail_menu_footer_text_color!important;
        background-color: $rrw_trail_menu_footer_background_color;
        min-height: 26px;
    }
    .nav-menu .current_page_item > a,
    .nav-menu .current_page_ancestor > a,
    .nav-menu .current-menu-item > a,
    .nav-menu .current-menu-ancestor > a {
        color: $rrw_trail_menu_footer_text_color!important;
        background-color: $rrw_trail_menu_footer_background_color;
    }
    .site-footer a {
        color: $rrw_trail_menu_footer_text_color!important;
    }
</style>
<!-- end themes style section based on url and customizations -->
<script src='https://pictures.shaw-weil.com/randomTrailPicture.js'></script>

</head>
<body ";
    print body_class();

    $translated_Skip_to_content =  __('Skip to content', 'twentythirteen');
    print " >



    <div id='page' class='hfeed site'>
        <!--  ==================================================================================================== header -->
        <header id='masthead' style='text-align:left;'>
            <a class='screen-reader-text skip-link' href='#content' aria-label='$translated_Skip_to_content 1' title='$translated_Skip_to_content' >
            </a>\n";
    $image = get_header_image();
    $homeName = esc_attr(get_bloginfo('name', 'display'));
    if (array_key_exists("nohead", $_GET))
        $noHeader = true;
    else
        $noHeader = false;
    if ($noHeader) {
        print "<!-- no header displayed as per request -->";
        return;
    }
    $mobile = false;
    if (array_key_exists('HTTP_USER_AGENT', $_SERVER)) {
        $browser = $_SERVER['HTTP_USER_AGENT'];
        if (strpos($browser, "Mobile") !== false || strpos($browser, "Samsung"))
            $mobile = true;
    }
    $rightRandomImage = ""; // the various switch routines will set this if they want it
    $searchbox = "";        // the various switch routines will set this if they want it
    if ($mobile && (0 != strcmp("dino", $switchName))) {
        print "<!-- mobile devices do not get the images -->\n";
    } else {
        if ($debugProgress) print "I#1308  ------------------------------------------------------------- $switchName ----------------------------   heading display -->\n";
        $blogInfoDescription = get_bloginfo('description');
        $LogoImage = get_header_image();           // default logo image used by serval switches below
        // --------------------------------------------------------------------------------------- header code
        switch ($switchName) {
            case "nudges":
                print "<!-- no header displayed -->";
                break;
            /*
                $imageSource = "/wp-content/themes/roys-header/images/jus-sayin-slanted-logo.png";
                print "
            <!-- start div id='rrw_header_menu_block_1' -->

<div id='rrw_header_menu_block' >
    <table id='rrw_header_mastheadPhotos' style='max-height: 30px; border:2px' role='presentation'>
        <tr>
           <td class='TDflex' >
                <h2 style=' ' valign='top' >CREATIVE NUDGES&trade;</h2></td>
             <td class='ohioTDflex' > <img src='$imageSource' height='500%' align='left' ></td>
          <td class='TDflex' >
                <div id='rrw_header_searchform' >
                    <form action='onecard' onlostfocus='this.submit();' method='get'   >
                         <input type='submit' value='Please find me a nudge(s)' ><br />
                       <input type='text' style='width:198px;' name='SearchBox' id='SearchBox' placeholder='Enter a one word search term' /><br/>
                    </form>
                </div>
            </td>
        </tr>
    </table>
</div>
            <!-- end /div id='rrw_header_menu_block_1' -->
    ";
                break;
            */
            case "eriepittsburgh": // -------------------------------------------- header erie
                $imageSource = get_bloginfo('stylesheet_directory') . "/images/cropped-swishlogo.jpg";
                print "
            <!-- start div id='rrw_header_menu_block_1' -->
<div id='rrw_header_menu_block' class='erieswishlogo'>
    <table id='rrw_header_mastheadPhotos' style='min-height: 30px; border:2px' role='presentation'>
        <tr>
            <td><img src='$imageSource' class='alignnone size-full' ></td>
        </tr>
    </table>
    <div id='rrw_header_searchform' class='erieSearchForm'>";
                get_search_form();
                print " </div>
    <!-- end /div id='rrw_header_searchform'  --> \n
</div>
            <!-- end /div id='rrw_header_menu_block_1' --> ";
                break;
            case "picture":
            case "pictureDev":
                // picture has it own special header, does not use this code
                if ($debugSwitch) print "working on picture header $eol";
                if ("pictureDev" == $switchName)
                    $dev = "-dev";
                else
                    $dev = "";
                $pictureSearchBox =
                    "/home/pillowan/www-shaw-weil-pictures$dev/wp-content/plugins" .
                    "/roys-picture-processing/searchBox.php";
                if (!file_exists($pictureSearchBox)) {
                    print "E#1300 looking for the file $pictureSearchBox,
                        need to load the pictures plugin
                            <br />  --- Fatal error ";
                    exit();
                }
                require_once "$pictureSearchBox";
                if ($debugSwitch) print "got the code $eol ";
                $box = rrwPictures_searchBox::rrwPicturesSearchBox();
                if ($debugSwitch) print "rrwPicturesSearchBox returned, " . strlen($box) . "
                        bytes $eol ";
                print $box;
                break;
            case "theyWorking":
                print '
    <table border="0" id="table2" cellspacing="0" cellpadding="0"
    style=\'width:100%; border:0;
background-image:url("/wp-content/themes/roys-header/images/riders-header-1-1700.jpg")\' >
        <tr>
            <td align="center" style="headerTD">
		<h3 align="center"><font color="white">
		<span style="font-size: 28pt">
		Trail Volunteer Fund<br></span></font>
        <font size="5" color="white">of The Pittsburgh Foundation</font></h3>
        <h3 align="center"><span style="font-weight: 400"><font color="white"><i>
	Supporting volunteer trail projects with tools and materials</i></font></span></h3>
    <span align="center" >
    <!-- navigation buttons -->
       <map name="FPMap0_I1">
		<area href="/" shape="rect" coords="4, 0, 172, 44"
				alt="link to Home page">
		<area href="/projects/" shape="rect" coords="192, 0, 360, 44"
				alt="Link to projects page">
		<area href="/grants/" shape="rect" coords="378, 0, 545, 44"
				alt="Link to how to make a grant page">
		<area href="/helpus/" shape="rect" coords="566, 0, 735, 44"
				alt="Link to How to make a contribution page">
		</map>
        <div style=\'align-center\'>
		<img class="nav_rrw_buttons" src="/wp-content/themes/roys-header/images/sign-buttons-v2.gif" usemap="#FPMap0_I1" alt="navigation buttons" width="735" height="44" >
        </div>
    <!-- navigation buttons -->
    </span>
</td>
</tr>
</table>
        ';
                break;
            //-------------------------------------------------------------------------------------------
            case "ohio":
                print "<!-- Ohio River Trail header -->";
                $siteUrl = site_url();
                print "
            <div id='rrw_header_menu_block'>
    <table id='rrw_header_mastheadPhotos' style='min-height: 30px;
            border: 2px; ' role='presentation'>
        <tr>
            <td class='TDflex'>
                     <img src='$LogoImage' alt='$homeName logo ' class='alignnone size-full' > </a>
            </td>
            <td  border:thin;'>
               <a href='$siteUrl' title='$homeName' rel='home'>
                <h1 class='site-title'>$homeName</h1>
                <h2 class='site-description'> $blogInfoDescription</h2>
                </a>
            </td>
            <td  >
            <img src='$siteUrl/wp-content/themes/roys-header/images/ohioRiverTrailOverview.jpg'
                alt='Ohio River Trail Overview' width='200' >
            </td>
        </tr>
    </table>
    ";
                break;
            // -------------------------------------------------------------------------------------------
            case "normal":
            case "linkup":
                // build some variables
                $rightRandomImage = "<div id='randomTrailImageGoesHereDiv'>one moment while we fetch a trail picture
                <script>
                    randomPicFunction('randomTrailImageGoesHereDiv');
                </script>
            </div>";
                $searchbox = get_search_form(array("echo" => false));
                $siteUrl = site_url();
                if ($debugProgress) print "I#1309  in $switchName ----------------------------   heading display -->$eol";
                print "<div id='rrw_header_menu_block_1309'>";
                if (false === strpos($LogoImage, "White_48-x-40.png")) {
                    // we have a logo image.
                    if ($debugProgress) print "I#1311 -----------   logo image display $LogoImage -->$eol";
                    print "
    <table id='rrw_header_mastheadPhotos' style='min-height: 30px; border: 2px;' role='presentation'>
        <tr>
            <td><a class='home-link site-description' href='$siteUrl' title='$homeName' rel='home'>
                     <img src='$LogoImage' alt='$homeName logo ' class='alignnone size-full' > </a>
            </td>
            <td style='text-align:center; border:thin;'>
               <a href='$siteUrl' title='$homeName' rel='home'>
                <h1 class='site-title'>$homeName</h1>";
                    if (empty($blogInfoDescription)) {
                        // no second lne for description, so increase the size of the title
                        print "<script>
                    fieldSiteTitle = document.getElementById('site-title');
                    fieldSiteTitle.style.fontSize = '36pt';
                    </script>
                    ";
                    } else {
                        print "
                        <h2 class='site-description'> $blogInfoDescription</h2>
                        ";
                    }
                    print "
                </a>
            </td>
            <td class='site-description'>
            $rightRandomImage
            $searchbox
            </td>
        </tr>
    </table>
    ";
                    if ($debugProgress) print "I#1312 -----------   end of logo image display -->$eol";
                } else {
                    // no logo image just the search box
                    print '
    <span class="screen-reader-text">Search for:</span>
    <input type="search" class="search-field" placeholder="Search &hellip;" value="" name="searchBox" />
    </label>
    </form>
    </td>
    </tr>
    </table>
    ';
                }
                print "</div> <!-- end /div id='rrw_header_menu_block_1309' -->";
                break;
            case "clean":
            case "tailOnly":
            case "edit":
                print "<!-- no header displayed -->";
                break;
            case "tommarellogc":
                print '
        <img src="https://tommarellogc.com/wp-content/uploads/2014/09/tommarelloLogo.jpg" >
';
                break;

            case "dino":
                $title = wp_title("", false);
                print "<div id=dinoMenu class='dinoMenu' > <!-- entire space is orange -->
            <table class='dinoMenu' style='table-layout: auto;' >
       <tr class='dinoMenu' >
            <td><span class='site-title' > $title </span><br /><br />\n";
                $siteDire = "/home/pillowan/www-dinomitedays";
                print wp_nav_menu(array(
                    'theme_location' => 'primary',
                    'menu_class' => 'nav-menu menucolor',
                    'echo' => false
                ));
                print "</td>
            ";
                if ($mobile) { // on mobile devices do not display the logo
                    print "
            <td> </td>
            ";
                } else {
                    print "
        <td class='dinoMenu' >
            <a href='/' ><img src='/wp-content/themes/roys-header/images/dinomiteLogo-85.png'
             > </a>
        </td>";
                }
                print "
     </tr></table>
  </div>
";
                break;
            case "validate":
                break;
            default:
                print "<p>E#1304 Unknown switchName of '$switchName' in header.php</p> ";
        } // end of switch";
    } // end if ( $mobile )
    print "\n\n
    <!--  ================================================================= $switchName ============== nav bar -->
    ";
    // --------------------------------------------------------- nave bar code
    switch ($switchName) {
        case "nudges":
            $spaces80 = str_repeat("&nbsp;", 80);
            print '
            <style>
            .entry-title {
                display:none;
            }
        </style>';
            $pageTexts = array(
                "about" => "70|About Creative Nudges",
                "booklet" => "90|<span class='creative-nudge-page-header'>Print the booklet on your own printer ’</span><br><br>",
                "booklet-frontpage" => "70|<p class='creative-nudge-page-header'>Instructions - Front Page of booklet.</p>",
                "canceled" => "70|<p class='creative-nudge-page-header'>Order has been cancelled.</p>",
                "contact" => "70|<p class='creative-nudge-page-header'>Contact Us</p>",
                "edit-comment" => "70|<p class='creative-nudge-page-header'>Edit Comment</p>",
                "edit1" => "70|<p class='creative-nudge-page-header'>Edit Comment</p>",
                "home" => "|",
                "how-to-use" => "210|<span class='creative-nudge-page-header'>Sometimes ya get stuck in a creative rut and<br>
                                    it takes a li’l nudge to get out, jus’ sayin’</span><br><br>
                    <p class='creative-nudge-page-text'>These creative nudge cards capture wisdom and experience about creativity and design, especially in software. This should should all be common sense, but it is often are not recognized as such. <br><br></p>
                    <p class='creative-nudge-page-text'>Echoing  [Lampson 83], “these are not novel (with a few exceptions), laws of system design, precisely formulated, consistent, always appropriate, approved by all the leading experts, or guaranteed to work.  They are just hints”.  So these are not recipes, but suggestions about ways to think about your problems that may give you new insights.
                    </p>",
                "instructions" => "70|<p class='creative-nudge-page-header'>Internal Instructions</p>",
                "unstructions-booklet-2" => "70|<p class='creative-nudge-page-header'>How to create the Instruction Booklet files</p>",
                "instructions-production-11-25" => "70|<p class='creative-nudge-page-header'>instructions-production-11-25</p>",
                "not-yet" => "70|<p class='creative-nudge-page-header'>Page not built. Please contact with the link to this page</p>",
                "onecard" => "70|<p class='creative-nudge-page-header'> Display just one card</p>",
                "order-placed" => "70|<p class='creative-nudge-page-header'>Order has been successfully placed.</p>",
                "faq" => "70|<p class='creative-nudge-page-header'>Frequently Ask Questions</p>",
                "privacy-policy-2" => "144|<p class='creative-nudge-page-header'>Privacy is important to us, and we want you to understand what data we collect and how we use it.</p>",
                "privacy-policy" => "90|<p class='creative-nudge-page-header'>Privacy is important to us, and we want you to understand what data we collect and how we use it.</p>",
                "references" => "160|<span class='creative-nudge-page-header'><br>if I have seen further [than others], it is by standing on the shoulders of giants.
                                        <br> $spaces80-- Isaac Newton><br></span>
                                <p class=\"creative-nudge-page-text\">Just as Newton’s aphorism has roots at least as far back as the 12th century, many of the nudges on these cards quote or adapt ideas that I learned from others.  In the cases where I can identify that influence, I have attributed it.<br><br>
                                        This page provides those sources, keyed to the attributions on the cards.</p>
                </p>",
                "store" => "|",
            );
            $logoHeightArray = array(
                "about" => 70,
                "booklet" => 90,
                "edit-comment" => 70,
                "contact" => 70,
                "home" => 144,
                "how-to-use" => 210,
                "privacy-policy-2" => 144,
                "privacy-policy" => 90,
                "references" => 160,
                "store" => 144
            );
            $pagename = $_SERVER['REQUEST_URI'];
            $pagename = str_replace("https://creative-nudges.com/", "", $pagename);
            $iiSearch = strpos($pagename, "?");
            if (false !== $iiSearch) {
                $pagename = substr($pagename, 0, $iiSearch);
            }
            $pagename = str_replace("/", "", $pagename);
            if (empty($pagename))
                return "";
            if (! array_key_exists($pagename, $pageTexts)) {
                $pagetext = "E#2870 Error missing page text for $pagename, need to add to pageTexts array in header.php";
                $logoHeight = 70;
            } else {
                list($logoHeight, $pagetext) = explode("|", $pageTexts[$pagename]);
                //              $pagetext = $pageTexts[$pagename];
                //             $logoHeight = $logoHeightArray[$pagename];
            }
            print '
<style>
     .entry-title {
            display:none;
        }
    .creative-nudge-left-pos-minus-10 {
        position: relative;
        left: -10px;
    }
    .creative-nudge-page-header {
        display:block;
        font-size: larger;
        font-weight: bold;
        text-align: center;
        margin-right: 100px
}
    .creative-nudge-page-text {
       padding-left: 40px;
        padding-right: 100px;
/*      border: 2px solid green;  */
}
        </style>';
            if (!empty($pagetext)) {
                print '
            <table style="width:100%;" >
            <tr width="100%" style="width:100%;">
                    <td align="left" rowspan="2" style="float:left; " >
                       <img height="' . "$logoHeight" . 'px" width="auto"   src="https://creative-nudges.com/wp-content/uploads/2026/04/auxpagestopleft.png" alt="Creative Nudges Logo">
                    </td>
                    <td align="center">
                        &nbsp;
                    </td>
                    <td style="text-align:right;" >
                        ';
                $rrw_trail_menuText = wp_nav_menu(array(
                    'theme_location' => 'primary',
                    'menu_class' => 'nav-menu menucolor',
                    'echo' => false
                ));
                echo $rrw_trail_menuText;
                print "</td></tr>
                <tr><td>&nbsp;</td><td class=\"creative-nudge-page-text\" colspan=\"2\" >
                    <span class=\"creative-nudge-page-text\"> $pagetext </span>
                    </td></tr>
            </table>
";
            }
            break;
        case "eriepittsburgh": // --------------------------------------------
            // eriepittsburgh has menu buried i the swish
            $translated_Menu = __('Menu', 'twentythirteen');
            $translated_Skip_to_content =  __('Skip to content', 'twentythirteen');
            print '
            <div id="navbar" class="eriemenu  menucolor" style="z-index:1;">
                <nav id="site-navigation" class="navigation main-navigation menucolor">
                    <table role="presentation">
                        <tr>
                            <td>
                                <h3 class="menu-toggle"> ' .
                $translated_Menu .
                '</h3>
                            <a class="screen-reader-text skip-link" aria-label="$translated_Skip_to_content 2"   href="#content" title="' .
                $translated_Skip_to_content  .
                "' ></a>";
            $rrw_trail_menuText = wp_nav_menu(array(
                'theme_location' => 'primary',
                'menu_class' => 'nav-menu menucolor',
                'echo' => false
            ));
            echo $rrw_trail_menuText;
    ?>
            </td>
            </tr>
            </table> <!-- end table in erie pittsburgh header -->
            </nav>
            </div> <!-- close div id=navbar in erie_pittsburgh header -->
    <?php
            break;
        case "dino":
        case "clean":
        case "picture":
        case "pictureDev":
        case "tailOnly":
        case "theyWorking":
        case "edit":
        case "validate":
            // menu is displayed on top of the header image
            // or not displayed at all
            print " <!-- No menu displayed -->";
            break;
        case "normal":
        case "linkup":
        case "tommarellogc":
        case "ohio":
            print rrwHeaderMenu();
            // code moved to subroutine, so that footer can show menu as well
            break;
        default:
            print "<p>E#1305 Unknown switchName of '$switchName' in header.php</p> ";
    } // end switchName == "eriepittsburgh" )
    ?>
    <!-- =====================================  end #navbar -->
    </div>
    </header>
    </div>
    <!-- end dive id="page" -->
    <!-- #masthead -->
    <!--  ===== last line -2 of header.php ============================================ main content -->
    <div id="main" class="site-main">
        <?php
        error_reporting($OriginalErrorReporting); // restore original error reporting


        function rrwHeaderMenu()
        {
            $translated_Menu = __('Menu', 'twentythirteen');
            $translated_Skip_to_content =  __('Skip to content', 'twentythirteen');

            $msg = "";
            $msg .= "<!--  rrwHeaderMenu  -->
            <div id=\"navbar\" class=\"eriemenu  menucolor\" style='z-index:1;'>
                <nav id=\"site-navigation\" class=\"navigation main-navigation menucolor\">
                    <table role=\"presentation\">
                        <tr>
                            <td>
                                <h3 class=\"menu-toggle\">$translated_Menu</h3>
                                <a class=\"screen-reader-text skip-link\" href=\"#content\" aria-label=\"$translated_Skip_to_content 3\" title=\"$translated_Skip_to_content\">
                                </a>";
            $rrw_trail_menuText = wp_nav_menu(array(
                "theme_location" => "primary",
                "menu_class" => "nav-menu menucolor",
                "echo" => false
            ));
            $msg .= $rrw_trail_menuText . "
                            </td>
                        </tr>
                    </table>
                </nav>
    </div>      <!--close div id=navbar  in rrwHeaderMenu --> ";
            return $msg;
        } // end of rrwHeaderMenu
