{form->hidden name="pageAccess" id="pageAccess" value="{$pageAccess}"}
{*<!--Ajax loader Start---------------------------------------------------------------------------------------------------------------->*}
<div class="pop_loader" style="display:none;"> <img src="{$view_images}/loader-small.gif" /> Loading...</div>
{*<!--Ajax loader End---------------------------------------------------------------------------------------------------------------->*}
{*<!-- Login popup Start------------------------------------------------------------------------------------------------------------------------------ -->*}
<div class="popupUpSubscribe" style="display:none;"></div>
<div class="popupSignupLogin" style="display:block;">
  <div class="popupsectionlogin popupShowLogin">
   <iframe id="iframeLogin" name="loginPopup" src="" class="quickpopup popupShowLogin"  frameborder="0" width="95%" height="450" marginwidth="5" marginheight="5">
  
   </iframe>
    </div>
</div>
{*<!-- Login popup End------------------------------------------------------------------------------------------------------------------------------ -->*}
<div id="fb-root" class="fb-root01"></div>
<header>
   <div class="header-top ">
        <div class="container padding-vertical ">
         <div class="row">
{*<!----------------------Heder left logo and nav toggler  Start -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}   
            <div class="col-sm-6 col-xs-7">
               <div id="logo" class="logo">
                 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
               <span class="sr-only">Toggle navigation</span>
               <span class="icon-bar"></span>
               <span class="icon-bar"></span>
               <span class="icon-bar"></span>
               </button>
                  {if $commonCompanyLogo} 
                  {html->anchor href="/" title="{$commonSiteName}"  content="<img src='{$commonCompanyLogo}' border='0' alt='{$commonSiteName}' class='img-responsive' />"}
                  {else}
                  {html->anchor href="/" title="{$commonSiteName}"  caption="{$commonSiteName}"}
                  {/if} 
               </div>
            </div>
{*<!----------------------Heder left logo and nav toggler  ends -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*} 
{*<!----------------------Cart drop down whish list and user signup  Section  Start -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}                       
            <div class="pull-right right-top-section padding-right">
               {*<!-- User login my account section starts -->*}
               {if $commonUserID|default:0>0}
                 {*<!-- after login -->*}
                  {form->hidden name="userLogined" id="userLogined" value="Yes"}
                   {if $httpsSiteUrl|default:''!=""}
                        {html->anchor href="/user/account/" class="pull-right sprite icon-user" secureURL="{$httpsSiteUrl}/user/account/" title=$language.lblMyAccount} 
                     {else}
                        {html->anchor href="/user/account/" class="pull-right sprite icon-user" title=$language.lblMyAccount}
                     {/if} 
                {else}
                    {*<!-- Before login -->*}
                     {html->anchor  section="login" title="{$language.lblLogin}" class="pull-right sprite icon-user  popuplogin"}
                {/if}
             {*<!-- User end login my account section starts -->*}
           {if $statPageName|default:''!='cart'}
              {* <!-- cart section starts -->*}
               {include file='cart/CartNotification.tpl'} 
              {* <!--Common Cart notification starts--> *}
               <div class="cart-dropdown-box pull-right"></div>
              {* <!--Common Cart notification ends-->*}
              {* <!-- cart section ends -->*}
               {/if}
               <a href="javascript:void(0);" class="icon-search pull-right sprite margin-right" title="{$language.lblSearch}"></a>
            </div>
{*<!----------------------Cart drop down whish list and user signup  Section  Start -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}  
         </div>
       </div>
    </div>
         
{*<!----------------------Search Section  Start -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}          
            <div class="search-container padding-top container">
               <div class="clearfix">
                  
                  <div class="input-group input-group-lg ">
                    <i class="icon-mouse_over"></i>
                     {form->textbox name="searchKeyword"  ng="model->query" ui="autocomplete->autoComplete" class="form-control"  placeholder="{$language.lblSearchforitems}" autocomplete="off"}
                     <span class="input-group-btn">
                     {form->button name="serachButton" value="{$language.lblSearch}" class=" btn btn-primary serachBtn"}
                     </span>
                  </div>
               </div>
               <div class="searchResult" id="searchResult"></div>
               <div class="search-error-outer alert alert-danger" style="display: none;">
                  <div class="search-error">{$language.errChooseCategory}</div>
               </div>
            </div>
{*<!----------------------Search Section  End -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}   
          
{*<!----------------------Navigation menu Start -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}         
         <div class="nav-menu light-bg c-menu c-menu--slide-left" id="c-menu--slide-left">
         <button class="c-menu__close btn btn-default btn-xs">
             &larr; Close Menu
         </button>
          
         <h6 class="padding hedding font-semibold">SHOP BY CATEGORY</h6>
         {custommenu->showMenu menukey='main_navigation' seperator='li'} </div>
          <div id="c-mask" class="c-mask"></div>
{*<!----------------------Navigation menu End -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}         
   <script type="text/javascript">	
      var showCartNotification = "{$showCartNotification|default:''}";
      var lblYourShoppingCart = "{$language.lblYourShoppingCart}";
      var lblYourCart = "{$language.lblYourCart}";
      var lblCartEmpty = "{$language.lblCartEmpty}";
      var lblCartSubTotal = "{$language.lblCartSubTotal}";
      var lblCartTotal = "{$language.lblCartTotal}";
      var lblCartContinueShopping = "{$language.lblCartContinueShopping}";
      var lblCartCheckOut = "{$language.lblCartCheckOut}";
      var lblCartClose = "{$language.lblCartClose}";
      var lblCartItems = "{$language.lblCartItems}";
      var lblCartStockNotAvailable = "{$language.lblCartStockNotAvailable}";
      var lblCartYouHaveExceededLimit = "{$language.lblCartYouHaveExceededLimit}";
      var lblCartProductTypeMisMatch = "{$language.lblCartProductTypeMisMatch}";
      var lblCartInvalidCurrencyConfig = "{$language.lblCartInvalidCurrencyConfig}";
      var lblCartCurrencyNotMatching = "{$language.lblCartCurrencyNotMatching}";
      var lblCartProductNotTipped = "{$language.lblCartProductNotTipped}";
      var lblCartItemAddedSuccessfully = "{$language.lblCartItemAddedSuccessfully}";
      var lblCartItemRemovedSuccessfully = "{$language.lblCartItemRemovedSuccessfully}";
      var lblCartItemsRemovedSuccessfully = "{$language.lblCartItemsRemovedSuccessfully}";
      var lblPromoDiscount = "{$language.lblPromoDiscount}";
      var lblAccountCredit = "{$language.lblAccountCredit}";
      var lblServiceCharge = "{$language.lblServiceCharge}";
      var lblShippingCharge = "{$language.lblShippingCharge}";
      var lblTaxAmount = "{$language.lblTaxAmount}";
      var msgConfirmGift = "{$language.msgConfirmGift}";
      var lblItem = "{$language.lblItem}";
      var lblQty = "{$language.lblQty}";
      var lblUnitPrice = "{$language.lblUnitPrice}";
      var lblDeleteItem = "{$language.lblDeleteItem}";
      var lblCartProductNotTippedExisting = "{$language.lblCartProductNotTippedExisting}";
      var lblCartPleaseSaveGiftDetails = "{$language.lblCartPleaseSaveGiftDetails}";
      var currencyForJS = {$currencyForJS};
      var lblCartSingleItemCheckoutError = "{$language.lblCartSingleItemCheckoutError}";
      var lblCartSingleItemsCheckoutError = "{$language.lblCartSingleItemsCheckoutError}";
      var AlertText= '{$language.lblAlert}';
      var msgAddtoCartValidation= '{$language.msgAddtoCartValidation}';
      var errImage= '{$language.errImage}';
      {if $productsToJs|default:''!=''}
      var products= {$productsToJs};
      {/if}
      var __ANALYTICS_MODULE	= {$__ANALYTICS_MODULE};
	  var __AFFILIATE_MODULE	= {$__AFFILIATE_MODULE};
      var targetPath			= "{$targetPath}";
      var targetPathType		= "{$targetPathType}";
      var statPageName		= "{$statPageName|default:''}";
      var enterOrderID		= "{$language.errEnterOrderID}";
      var errValidOrderID		= "{$language.errValidOrderID}";
      var msgCheckEmail		= "{$language.msgCheckEmail}";
   </script>
   {$cartToJs|default:''}
   <!--[if lte IE 9]> 
   <div id="ie7-display" style="background:#FC3;font:20px/25px bold Arial, Helvetica, sans-serif;margin:20px;padding:20px;border:#C90 1px solid;position:fixed;top:45%;left:20%;right:20%;color:#000;z-index:10000;text-align:center">For better view "Please Update Your Browser",you are using an old version of Internet explorer!!!!!</div>
   <script type="text/javascript">
      setTimeout(function(){ $("#ie7-display").slideUp();},10000);
   </script>
   <![endif]-->
   <style>
	.hide.active{
		display:block !important;
	}
   </style>
</header> 
{include file='SearchTemplate.tpl'} 
