{form->hidden name="pageAccess" id="pageAccess" value="{$pageAccess}"}
{form->hidden name="trackItem"  value=""}

{*<!--Ajax loader Start---------------------------------------------------------------------------------------------------------------->*}
<div class="pop_loader hide"> <div class="light-bg padding">
<img src="{$view_images}/loader-small.gif" width="64" height="64" alt="Loding"> {$language.lblLoading}</div></div>
<div class="hide-content"></div>
<div class="popupUpSubscribe active" style="display:block;"></div>
{*<!--Ajax loader End---------------------------------------------------------------------------------------------------------------->*}

 {if $resHeaderTopBlock|default:''}
<div class="bg-dark staticblock d-none d-lg-block"><div class="container  text-center py-1 font-small font-semibold">
    <a href="javascript:void(0);" class="float-right icon-cross-medium text-white close-static"></a>
     {foreach from=$resHeaderTopBlock item="static"}
     	{if $static.hideTitle!='Yes'}{$static.blockTitle|unescape:"html"}{/if}
         {$static.blockContent|unescape:"html"}
       {/foreach}
    </div>
    </div>
{/if} 
<header>
    <div class="container py-2 py-lg-0">
        <div class="row position-relative">
            {*<!----------------------Heder left logo and nav toggler  Start -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}   
           <div class="col-12 col-lg-2  align-self-center logo-block" >
               {if $defaultLogo} 
                        {html->anchor href="/" title="{$commonSiteName}" class="img-fluid" target="_self" content="<img src='{$view_public_path}/uploads/languages/logo/{$defaultLogo}' alt='{$commonSiteName}' class='img-fluid'>"}
                        {else}
                            {if $commonCompanyLogo} 
                                {html->anchor href="/" title="{$commonSiteName}" class="img-fluid" target="_self" content="<img src='{$commonCompanyLogo}' border='0' alt='{$commonSiteName}' class='img-fluid'>"}
                            {else}
                            {html->anchor href="/" title="{$commonSiteName}"  caption="{$commonSiteName}"}
                            {/if} 
                        {/if}
                        <a href="javascript:void(0);" class="d-lg-none d-inline-flex  py-2 menu-icon float-right"><i class="icon-menu"></i></a>
           </div>
            {*<!----------------------Heder left logo and nav toggler  ends -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*} 
           <div class="col-lg-10  align-self-lg-center  text-uppercase nav-block">
                     <a href="javascript:void(0);" class="d-block d-lg-none menu-close py-2 text-muted text-right"><i class="icon-close"></i></a>
               <div class="row mob-nav-block-container">
                   <div class="align-self-center col-12 {if $languageDirection eq 'rtl'}col-lg-3 {else}col-lg-4{/if} order-lg-last mb-5 mb-lg-0">
                   
                      <div class="row mr-0 ">
                         <div class="col-4 d-lg-none align-self-center">
                              {if $defaultLogo} 
                        {html->anchor href="/" title="{$commonSiteName}" class="img-fluid" target="_self" content="<img src='{$view_public_path}/uploads/languages/logo/{$defaultLogo}' alt='{$commonSiteName}' class='img-fluid'>"}
                        {else}
                            {if $commonCompanyLogo} 
                                {html->anchor href="/" title="{$commonSiteName}" class="img-fluid" target="_self" content="<img src='{$commonCompanyLogo}' border='0' alt='{$commonSiteName}' class='img-fluid'>"}
                            {else}
                            {html->anchor href="/" title="{$commonSiteName}"  caption="{$commonSiteName}"}
                            {/if} 
                        {/if}
                         </div>
                          <div class="col-6 {if $languageDirection eq 'rtl'}col-lg-9 {else}col-lg-10{/if} px-0 px-xl-3 align-self-center"> {custommenu->showMenu menukey='main-utility' seperator='li'}</div>
                          <div class="{if $languageDirection eq 'rtl'}col-lg-3 {else}col-lg-2{/if} text-right px-0 language-block align-self-center">
                              {if $view_common_languages|@count>1}
                    {include file='CommonLanguageOptions.tpl'}
                    {/if}
                          </div>
                      </div>
                        
                   </div>
                    {*<!----------------------Navigation menu Start -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}   
                       <div class="col-12 {if $languageDirection eq 'rtl'}col-lg-9 {else}col-lg-8{/if}">
                           {custommenu->showMenu menukey='main_navigation' seperator='li'}
                       </div>
                    {*<!----------------------Navigation menu End -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}
               </div>
           </div>
            {assign var="commonUserID" value=$commonUserID|default:''}
            {form->hidden name="redirectLoginUrl" id="redirectLoginUrl"}
           
        </div>
    </div>

<script type="text/javascript">	
    var showCartNotification = "{$showCartNotification|default:''}";
    var AjaxCurrLanguage     =  "{$AjaxCurrLanguage|default:''}";
    var lblYourShoppingCart = "{$language.lblYourShoppingCart}";
    var lblYourCart = "{$language.lblYourCart}";
    var lblCartEmpty = "{$language.lblCartEmpty}";
    var lblUpdate = "{$language.lblUpdate}";
    var lblCartSubTotal = "{$language.lblCartSubTotal}";
    var lblCartTotal = "{$language.lblCartTotal}";
    var lblCartContinueShopping = "{$language.lblCartContinueShopping}";
    var lblContinue             = "{$language.lblContinue}";
    var lblContinueShopping     = "{$language.lblContinueShopping}";
    var lblCartItemNameAddedSuccessfully= "{$language.lblCartItemNameAddedSuccessfully}";
    var lblThere                  = "{$language.lblThere}";
    var lblItemsInShopping        = "{$language.lblItemsInShopping}";
    var lblItemInShopping         = "{$language.lblItemInShopping}";
    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}';
    {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}";
     $(".main-navigation li").each(function(){
        if($(this).has("ul").length){
            $(this).addClass('subitem');
        }
    });
     $(".subitem>span").click(function(){
         $('body').addClass('showsubmenu');
         $(this).parent('li').addClass('active');
     });
     $(".sublevalclose").click(function(){
         $('body').removeClass('showsubmenu');
         $('.subitem').removeClass('active');
     });
</script>
   {$cartToJs|default:''}

<span class="mask"></span>

</header>
