</head>
<body>

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-24957096-42', 'petersonsfreshmarket.com');
  ga('send', 'pageview');

</script>


<?php require_once($_SERVER['DOCUMENT_ROOT'] . '/common/constantsJS.php'); ?>

<div id="contentWrapper">
  <div id="sf-wrapper"> <!-- Sticky Footer Wrapper -->
    <!-- Prompt IE 6/7 users to install Chrome Frame. Remove this if you support IE 7-.
         chromium.org/developers/how-tos/chrome-frame-getting-started -->
    <!--[if lt IE 8]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
  <!--! END KICKSTRAP HEADER --> 
  
  
  
  <div id="bodyPadding">
    
    <nav class="navbar">
      <div class="navbar-inner">
        <div class="container">
          <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
          </a>
          <a class="brand" href="/"><span class="hideObject">Petersons Fresh Market</span></a>
          <!--<div id="weeklyAdBtn"><a href="/weeklyAd"><img src="/Kickstrap/img/weeklyAdBTN.png" width=86%></a></div>-->
          <div class="nav-collapse collapse clearfix">
              <ul class="nav loggedNav">
                <?php
                  if(isset($loggedIn) && $loggedIn === true){
                ?>
                  <li class="dropdown" id="loggedInDropdown">
                    <a href="#"><span>Hello, <?php echo $_SESSION['Username']; ?></span> <i class="icon-caret-down"></i></a>
                    <ul class="dropdown-menu pull-right">
                      <?php
                        if(isset($_SESSION['MyStoreAFS']['store_name']) && isset($purposefullyFalse)){
                      ?>
                        <li>My Store:<?php echo $_SESSION['MyStoreAFS']['store_name']; ?></li>
                      <?php
                        }
                      ?>
                      <li><a href="/account">My Account</a></li>
                      <li><a href="/plus">My Plus</a></li>
                      <li><a href="/admin/logout.php">Log Out</a></li>
                    </ul>
                  </li>
                <?php
                  }else {
                ?>
                  <div id="loggedOutContainer">
                    <a href="#loginModal" data-toggle="modal" role="button">Log In</a>&nbsp; | &nbsp;<a href="/register">Register</a>
                  </div>
                <?php
                  }
                ?>
              </ul>
              <ul class="nav">
                <li class="dropdown"><a href="#">Savings <i class="icon-caret-down"></i></a>
                  <ul class="dropdown-menu">
                    <li><a href="/weeklyAd"><span>Weekly Ad</span></a></li>
          					<li><a href="/ways-to-save">Ways to Save</a></li>
          					<li><a href="/personalshopper"><span>Save Time. Shop Online.</span></a></li>
          					<li><a href="/exclusive-brands">Exclusive Brands</a></li>
                  </ul>
                </li>
                <li><a href="/personalshopper"><span>Shop Online</span></a></li>
                <li><a href="/plus"><span>Plus</span></a></li>
                <li><a href="/coupons"><span>Digital Coupons</span></a></li>
                <li class="dropdown">
                  <a href="/departments">Departments <i class="icon-caret-down"></i></a>
                  <ul class="dropdown-menu">
                    <li><a href="/personalshopper"><span>Personal Shopper</span></a></li>
					<li><a href="/departments/produce">Produce</a></li>
                    <li><a href="/departments/meat">Meat</a></li>
                    <li><a href="/departments/bakery">Bakery</a></li>
                    <li><a href="/departments/deli">Deli</a></li>
                    <li><a href="/departments/pharmacy">Compounding Pharmacy</a></li>
                    <li><a href="/departments/signature-items">Signature Items</a></li>
                    <li><a href="/departments/gift-cards">Gift Cards</a></li>
                  </ul>
                </li>
                <li class="dropdown"><a href="#"><span>In Store</span> <i class="icon-caret-down"></i></a>
                  <ul class="dropdown-menu">
                    <?php include($_SERVER['DOCUMENT_ROOT'] . '/admin/inc/inStoreNav.php'); ?>
          					<li><a href="/sg/healthy-attribute">Healthy Attributes</a></li>
                  </ul>
                </li>
                <li class="dropdown"><a href="#"><span>About Us</span> <i class="icon-caret-down"></i></a>
                  <ul class="dropdown-menu">
                    <li><a href="/employment"><span>Employment</span></a></li>
                    <li><a href="/links"><span>Favorite Links</span></a></li>
                    <li><a href="/ask-an-expert"><span>Ask an Expert</span></a></li>
                    <li><a href="/our-team"><span>Our Team</span></a></li>
                  </ul>
                </li>
                <!--<li><a href="/lunchSpecials"><span>Lunch Specials</span></a></li>-->
                <li><a href="/contactUs"><span>Contact Us</span></a></li>
                <!--
				<li class="dropdown"><a href="/plus">PLUS <i class="icon-caret-down"></i></a>
                  <ul class="dropdown-menu">
                    <li><a href="/plus"><span>Login</span></a></li>
                    <li><a href="/plus/about"><span>Learn More</span></a></li>
                    <li><a href="/plus/instant-offers"><span>Instant Offers</span></a></li>
                    <li><a href="/plus/promotions"><span>Promotions</span></a></li>
                  </ul>
                </li>
				-->
                <li class="visible-phone"><a href="/index.php#rightSidebarCollapse"><span>Store Information</span></a></li>
                
                
                <!--<li class=""><a href="#"><i class="icon-asterisk"></i> <span>Serving You</span></a></li>
                <li class=""><a href="#"><i class="icon-home"></i> <span>Community</span></a></li>-->
              </ul>
          </div>
          <ul class="nav pull-right hidden-phone">
            <!--<li id="facebookNav"><span><a id="facebookLink" href="<?php echo FACEBOOK_URL; ?>"><i class="icon-facebook-sign"></i></a></span></li>-->
            <li><a href="/weeklyAd" class="btn btn-primary"><span>Weekly Ad</span></a></li>
            <li style="margin-left:20px;"><a href="/personalshopper" class="btn btn-green"><span>Shop Online</span></a></li>
            
            <!--
            <li><a href="/accounts/login/"><i class="icon-key"></i> Login</a></li>
            -->
          </ul>
        </div>
      </div>
    </nav>
