{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 class="bg-grey">
    <div class="container clearfix">
        <div class="row position-relative">
            {*<!----------------------Navigation menu Start -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}   
            <div class="col align-self-center">
                <a href="javascript:void(0);" class="d-lg-none d-inline-flex text-white py-2 menu-icon float-left"><i class="icon-menu"></i></a>
                <nav class="main-menu d-lg-flex flex-lg-row flex-column font-small font-semibold p-lg-0 p-3 text-left">
                {custommenu->showMenu menukey='main_navigation' seperator='li'}
                <div class="d-flex ml-lg-auto order-lg-last order-first align-items-lg-center align-items-end mb-lg-0 mb-4">
                    <a href="javascript:void(0);" class="d-inline-flex d-lg-none position-absolute pr-3 pt-3 right-0 top-0 text-muted menu-close"><i class="icon-close"></i></a>
                    <div class="d-lg-none d-inline-block mr-3">
                        {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>
                    {custommenu->showMenu menukey='main-utility' seperator='li'}
                    {if $view_common_languages|@count>1}
                    <div class="mr-auto">
                    {include file='CommonLanguageOptions.tpl'}
                    </div>
                    {/if}
                </div>
                </nav> 
            </div>  
            {*<!----------------------Navigation menu End -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}  
            {*<!----------------------Heder left logo and nav toggler  Start -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}   
            <div class="col-auto logo-blk"> 
                <div class="logo-inner-blk position-absolute" id="logo">
			    {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>
            {assign var="commonUserID" value=$commonUserID|default:''}
            {form->hidden name="redirectLoginUrl" id="redirectLoginUrl"}
            {*<!----------------------Heder left logo and nav toggler  ends -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*} 
        </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}";
</script>
   {$cartToJs|default:''}

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