{form->hidden name="pageAccess" id="pageAccess" value="{$pageAccess}"}
{*<!--Ajax loader Start---------------------------------------------------------------------------------------------------------------->*}
<div class="pop_loader hide"> <div class="light-bg padding">
<img src="{$view_images}/loader-small.gif" /> Loading...</div></div>
<div class="hide-content"></div>
<div class="popupUpSubscribe" style="display:none;"></div>
{*<!--Ajax loader End---------------------------------------------------------------------------------------------------------------->*}
{*<!-- Login popup Start------------------------------------------------------------------------------------------------------------------------------ -->*}
<div class="popupSignupLogin" style="display:block;">
  <div class="popupsectionlogin popupShowLogin">
   <iframe id="iframeLogin" name="loginPopup" src="" class="quickpopup popupShowLogin"  frameborder="0" width="500" height="405" marginwidth="5" marginheight="5">
   </div>
   </iframe>
</div>
{*<!-- Login popup End------------------------------------------------------------------------------------------------------------------------------ -->*}
<div id="fb-root" class="fb-root01"></div>
{*<div class="page-loader ">
   <div class="content">
    <img src="{$view_images}/loader-small.gif" height="43" width="43" alt="oorjit.com"/>
    </div>
</div>*}
<header>
   <div class="header-top hidden-xs hidden-sm">
      <div class="container padding-vertical-half">
{*<!----------------------Language selection Start -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}
         {if $view_common_languages|@count>1}
         {include file='CommonLanguageOptions.tpl'}
         {/if}
{*<!----------------------Language selection End -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*} 

{*<!----------------------Quick link  Start -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}          
         <ul class="accountDetails pull-right">
            {if $commonUserID|default:0 > 0} 
            <li class="pull-left padding-horizontal">{html->anchor href="user/account/" class="wallet sprite-bf" content="{$availableBalance|price}" title="{$language.lblMyWallet}"}</li>
            {/if}
           {* <li class="pull-left padding-horizontal">{html->anchor href="/bundle/"  content="{$language.lblBundleProducts}" title="{$language.lblBundleProducts}"}</li>
             <li class="pull-left padding-horizontal">{html->anchor href="/deals/"  content="{$language.lblDeals}" title="{$language.lblDeals}"}</li>*}
            {if $settingsEnableGiftCoupon eq "Yes"}
            <!-- Begin : Gift Card --> 
            <li class="pull-left padding-horizontal">{html->anchor class="gift-card slip popuplogin" content="{$language.lbleGiftVoucher}" title="{$language.lbleGiftVoucher}" redirect="giftcoupon"}
               {form->hidden name="redirectGiftUrl" id="redirectGiftUrl" value="giftcoupon"}
            </li>
            <!-- End : Gift Card --> 
            {/if}
            {form->hidden name="redirectLoginUrl" id="redirectLoginUrl"}
            {assign var="commonUserID" value=$commonUserID|default:''}
            <li class="pull-left  padding-horizontal dropdown">
               <a class="dropdown-toggle" data-toggle="dropdown">
               {if $commonUserID>0}{$language.lblWelcome}
               {$commonUserName} 
               {else}
               {$language.lblTrackMyOrder} 
               {/if}</a>
               <ul class="dropdown-menu pull-right">
                  <li>
                     {html->anchor href="/user/purchases/" rel="purchases" class="{$loginPopupClass}" caption=$language.lblMyPurchases redirect="user/purchases"}
                     {form->hidden name="redirectOrderUrl" value="user/purchases"}
                  </li>
                  <li>
                     {html->anchor href="/user/returnrequests/" rel="returnrequests" class="{$loginPopupClass}" caption=$language.lblReturnRequests redirect="user/returnrequests"}
                     {form->hidden name="redirectReturnRequestUrl" value="user/returnrequests"}
                  </li>
                  {if $commonUserID == "" } 
                  <li class="padding-horizontal">
                     <p class="dark">{$language.lblTrackMyOrder}</p>
                     <div class="input-group input-group-sm">
                        {form->textbox name="trackItem" class="form-control" placeholder="{$language.lblOrderID}/ {$language.lblEmailID}"}
                        <span class = "input-group-btn">
                        {form->button name="submitTrack" value="{$language.lblGoButton}" class="btn btn-primary"}
                        </span>
                     </div>
                  </li>
                  {/if}
                  {if $commonUserID>0}
                  {form->hidden name="userLogined" id="userLogined" value="Yes"}
                  <li> 
                     {if $httpsSiteUrl|default:''!=""}
                     {html->anchor href="/user/account/"  secureURL="{$httpsSiteUrl}/user/account/" caption=$language.lblMyAccount} 
                     {else}
                     {html->anchor href="/user/account/"  caption=$language.lblMyAccount}
                     {/if} 
                  </li>
                  <li> 
                     {if $httpsSiteUrl|default:''!=""} 
                     {html->anchor href="/user/logout/" secureURL="{$httpsSiteUrl}/user/logout/" id="logout-link" caption="{$language.lbllogout}" class="logout-link"}   
                     {else}
                     {html->anchor href="/user/logout/" id="logout-link" caption="{$language.lbllogout}" class="logout-link"}
                     {/if}
                  </li>
                  {/if}
               </ul>
            </li>
            {if $commonUserID == "" } 
            {form->hidden name="userLogined" id="userLogined" value="No"}
            <li class="pull-left padding-left">
               {html->anchor  section="login" caption="{$language.lblLogin}" class=" popuplogin"}
            </li>
            {/if}				
         </ul>
{*<!----------------------Quick link  End -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}            
      </div>
   </div>
   <div class="header-bottom">
      <div class="container padding-vertical clearfix pos-rel">
         <div class="row pos-rel">
{*<!----------------------Heder left logo and nav toggler  Start -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}   
            <div class="col-xs-7 col-sm-3">
                <div class="site_main_menu">
               <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>
                {*<!----------------------Navigation menu Start -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}         
         <div class="menu_content light-bg">
            {custommenu->showMenu menukey='main_navigation' seperator='li'}</div> 
{*<!----------------------Navigation menu End -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}  
                </div>
               <div id="logo" class="logo pull-left">
                  {if $commonCompanyLogo} 
                  {html->anchor href="/" title="{$commonSiteName}" class="img-responsive" target="_self" content="<img src='{$commonCompanyLogo}' border='0' alt='Logo' / class='img-responsive'>"}
                  
                  {else}
                  {html->anchor href="/" title="{$commonSiteName}"  caption="{$commonSiteName}"}
                  {/if} 
               </div>
            </div>
{*<!----------------------Heder left logo and nav toggler  ends -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*} 
{*<!----------------------Search Section  Start -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}          
            <div class="search col-sm-6">
               <div class="row">
                
                  <div class="input-group input-group-lg col-xs-12">
                     {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.lblCSearch}" 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 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}   
{*<!----------------------Cart drop down whish list and user signup  Section  Start -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}                       
            <div class="col-xs-5 col-sm-3 right-top-section">
               {if $commonUserID == "" } 
               {form->hidden name="userLogined" id="userLogined" value="No"}
               {html->anchor section ="signup" caption="" class="popuplogin pull-right sprite-bf icon-user hidden-md hidden-lg"}
               {html->anchor section ="signup" caption="{$language.lblSignUp}/ {$language.lblJoin}" class="hidden-xs hidden-sm popuplogin pull-right sprite-bf icon-user"}
               {/if}
               <a href="javascript:void(0);" class="icon-search pull-left local-search hidden-md hidden-lg" title="Search"></a>
                {html->anchor href="/user/wishlist/" redirect="/user/wishlist/"   class="hidden-xs hidden-sm icon-wishlist sprite-bf pull-right popuplogin" caption="{$language.lblWishlist}"} 
                {if $statPageName|default:''!='cart'}
               <!-- cart section starts -->
               {include file='cart/CartNotification.tpl'} 
               {* {include file='cart/CartPopUp.tpl'}  *}
               <span class="cart-popup-box"></span>
               <!--Common Cart notification starts--> 
               <span class="cart-dropdown-box pull-left"></span>
               <!--Common Cart notification ends-->
               <!-- cart section ends -->
               {/if}
            </div>
{*<!----------------------Cart drop down whish list and user signup  Section  Start -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------->*}            
         </div>
    
      </div>
   </div>
   <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}';
      {if $productsToJs|default:''!=''}
      var products= {$productsToJs};
      {/if}
      var __ANALYTICS_MODULE	= {$__ANALYTICS_MODULE};
      var targetPath			= "{$targetPath}";
      var targetPathType		= "{$targetPathType}";
      var statPageName		= "{$statPageName|default:''}";
      var enterOrderID		= "{$language.errEnterOrderID}";
      var errValidOrderID		= "{$language.errValidOrderID}";
      var msgCheckEmail		= "{$language.msgCheckEmail}";
       $(document).ready(function(){
           $("body").addClass("loaded");
           $('.local-search').click(function () {
               $('.search').toggleClass('active');
           })
       });
     </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'} 
