<?php /* Smarty version Smarty-3.1.8, created on 2020-01-09 16:19:48
         compiled from "/home/agmc/public_html/beta/application/core/views/frontend/mini/catalog/default/Catalog.tpl" */ ?>
<?php /*%%SmartyHeaderCode:13567691585e171a648b8e84-83487527%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'ae08d0a95a67ec19d02f44b8c7e9275c4bd83b77' => 
    array (
      0 => '/home/agmc/public_html/beta/application/core/views/frontend/mini/catalog/default/Catalog.tpl',
      1 => 1577772526,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '13567691585e171a648b8e84-83487527',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'SelCurrLanguage' => 0,
    'languageDirection' => 0,
    'commonMetaTitle' => 0,
    'commonMetaDescription' => 0,
    'settingsCanonicalLink' => 0,
    'views_host_share' => 0,
    'requestURI' => 0,
    'commonMetaKeywords' => 0,
    'commonMetaImage' => 0,
    'view_styles' => 0,
    'language' => 0,
    'catSelKeys' => 0,
    'resBreadcrumbs' => 0,
    'resBreadcrumb' => 0,
    'bodyStyle' => 0,
    'bmwCode' => 0,
    'dispayBmwCode' => 0,
    'pageDefaultView' => 0,
    'pageLayout' => 0,
    'settingsTwitterEnableFeeds' => 0,
    'settingsTwitterWidgetCode' => 0,
    'resBanner' => 0,
    'priceMinQueryString' => 0,
    'priceMaxQueryString' => 0,
    'emiMinQueryString' => 0,
    'emiMaxQueryString' => 0,
    'priceSliderHid' => 0,
    'priceEmiSliderHid' => 0,
    'prodsMaxCount' => 0,
    'productPageCount' => 0,
    'selCategoryDet' => 0,
    'selCategoryParentDet' => 0,
    'languageID' => 0,
    'catIDAndSubcategories' => 0,
    'searchKeyword' => 0,
    'listUsersWishListItems' => 0,
    'originCatalogID' => 0,
    'brandID' => 0,
    'brandIDs' => 0,
    'businessID' => 0,
    'globalCatalogUrl' => 0,
    'urlCat' => 0,
    'urlBodyStyle' => 0,
    'view_public_path' => 0,
    'discountQueryString' => 0,
    'queryStringMode' => 0,
    'userGroupID' => 0,
    'default_catalog_listing' => 0,
    'compiled_js_path' => 0,
    'common_js' => 0,
    'common_frontend_js' => 0,
    'view_javascript' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.8',
  'unifunc' => 'content_5e171a649671b0_60778410',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5e171a649671b0_60778410')) {function content_5e171a649671b0_60778410($_smarty_tpl) {?><!DOCTYPE html>
<html ng-app="myapp" lang="<?php echo $_smarty_tpl->tpl_vars['SelCurrLanguage']->value;?>
" dir="<?php echo $_smarty_tpl->tpl_vars['languageDirection']->value;?>
">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title><?php echo $_smarty_tpl->tpl_vars['commonMetaTitle']->value;?>
</title>
    <meta name="description" content="<?php echo htmlspecialchars(htmlspecialchars_decode($_smarty_tpl->tpl_vars['commonMetaDescription']->value, ENT_QUOTES), ENT_QUOTES, 'UTF-8', true);?>
" />
    <meta name="viewport" content="width=device-width">  <?php if ((($tmp = @$_smarty_tpl->tpl_vars['settingsCanonicalLink']->value)===null||$tmp==='' ? '' : $tmp)=='Yes'){?>
    <link rel="canonical" href="<?php echo $_smarty_tpl->tpl_vars['views_host_share']->value;?>
<?php echo $_smarty_tpl->tpl_vars['requestURI']->value;?>
" /> <?php }?>
    <meta name="Keywords" content="<?php echo htmlspecialchars(htmlspecialchars_decode($_smarty_tpl->tpl_vars['commonMetaKeywords']->value, ENT_QUOTES), ENT_QUOTES, 'UTF-8', true);?>
" />
    <link rel="image_src" href="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['commonMetaImage']->value)===null||$tmp==='' ? '' : $tmp);?>
" />
    <meta property="og:title" content="<?php echo htmlspecialchars(htmlspecialchars_decode($_smarty_tpl->tpl_vars['commonMetaTitle']->value, ENT_QUOTES), ENT_QUOTES, 'UTF-8', true);?>
" />
    <meta property="og:image" content="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['commonMetaImage']->value)===null||$tmp==='' ? '' : $tmp);?>
" /> <?php echo $_smarty_tpl->getSubTemplate ('CommonStyles.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 <?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScript.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

    <link href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/jquery.mCustomScrollbar.min.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="<?php echo $_smarty_tpl->tpl_vars['view_styles']->value;?>
/productlisting.css" rel="stylesheet" type="text/css" media="screen" />
    
</head>
<body ng-controller="SearchCtrl"  class="remove-fix">

      
      <div id="main" class="outer">
       
      <?php $_smarty_tpl->tpl_vars["Headerfix"] = new Smarty_variable("No", null, 0);?>
      <?php $_smarty_tpl->tpl_vars["CatalogJS"] = new Smarty_variable("Yes", null, 0);?>
      <?php echo $_smarty_tpl->getSubTemplate ('CommonTop.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
      
            
         <div class="clearfix d-none d-md-block bg-dark border-bottom breadcrumb-block">
            <div class="container py-1">
                <ul class="breadcrumb list-unstyled m-0 py-2 px-0 text-left">
                        <li>
                            <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/",'caption'=>($_smarty_tpl->tpl_vars['language']->value['lblHome'])),$_smarty_tpl);?>
   </li>            
              <li> <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"/series/",'caption'=>($_smarty_tpl->tpl_vars['language']->value['lblBrowse'])),$_smarty_tpl);?>
</li>
               
               <?php if (count((($tmp = @$_smarty_tpl->tpl_vars['catSelKeys']->value)===null||$tmp==='' ? '' : $tmp))==1){?>
               <?php  $_smarty_tpl->tpl_vars['resBreadcrumb'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['resBreadcrumb']->_loop = false;
 $_from = (($tmp = @$_smarty_tpl->tpl_vars['resBreadcrumbs']->value)===null||$tmp==='' ? array() : $tmp); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['resBreadcrumb']->key => $_smarty_tpl->tpl_vars['resBreadcrumb']->value){
$_smarty_tpl->tpl_vars['resBreadcrumb']->_loop = true;
?> 
             
               <?php if ($_smarty_tpl->tpl_vars['resBreadcrumb']->value['productCategoryStatus']=='Active'){?>
                    <li class="brc_<?php echo $_smarty_tpl->tpl_vars['resBreadcrumb']->value['productCategoryKey'];?>
"><?php ob_start();?><?php echo $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_MODIFIER]['sef_path'][0][0]->getSefRequestPath($_smarty_tpl->tpl_vars['resBreadcrumb']->value['productCategoryID'],'catalog');?>
<?php $_tmp1=ob_get_clean();?><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"series/".$_tmp1,'caption'=>($_smarty_tpl->tpl_vars['resBreadcrumb']->value['productCategoryName'])),$_smarty_tpl);?>
</li>

                    <?php if (count((($tmp = @$_smarty_tpl->tpl_vars['bodyStyle']->value)===null||$tmp==='' ? '' : $tmp))==1){?>
                    <li class="brb_<?php echo $_smarty_tpl->tpl_vars['bodyStyle']->value[0];?>
"><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"series/".($_smarty_tpl->tpl_vars['resBreadcrumb']->value['productCategoryKey'])."/".($_smarty_tpl->tpl_vars['bodyStyle']->value[0])."/",'caption'=>($_smarty_tpl->tpl_vars['bodyStyle']->value[0])),$_smarty_tpl);?>
</li>
                        
                        <?php if ((($tmp = @$_smarty_tpl->tpl_vars['bmwCode']->value)===null||$tmp==='' ? '' : $tmp)!=''){?>
                            <li class="brb_<?php echo $_smarty_tpl->tpl_vars['bodyStyle']->value[0];?>
"><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"series/".($_smarty_tpl->tpl_vars['resBreadcrumb']->value['productCategoryKey'])."/".($_smarty_tpl->tpl_vars['bodyStyle']->value[0])."/code/".($_smarty_tpl->tpl_vars['bmwCode']->value)."/",'caption'=>($_smarty_tpl->tpl_vars['dispayBmwCode']->value)),$_smarty_tpl);?>
</li>
                        <?php }?> 
                    <?php }else{ ?>
                        <?php if ((($tmp = @$_smarty_tpl->tpl_vars['bmwCode']->value)===null||$tmp==='' ? '' : $tmp)!=''){?>
                           <li class="brc_<?php echo $_smarty_tpl->tpl_vars['resBreadcrumb']->value['productCategoryKey'];?>
"><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>"series/".($_smarty_tpl->tpl_vars['resBreadcrumb']->value['productCategoryKey'])."/".($_smarty_tpl->tpl_vars['bodyStyle']->value[0])."/code/".($_smarty_tpl->tpl_vars['bmwCode']->value)."/",'caption'=>($_smarty_tpl->tpl_vars['dispayBmwCode']->value)),$_smarty_tpl);?>
</li>

                        <?php }?> 
                    <?php }?> 
                    
               <?php }else{ ?>
               <li class="brc_<?php echo $_smarty_tpl->tpl_vars['resBreadcrumb']->value['productCategoryKey'];?>
"><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('style'=>'cursor:default;','caption'=>($_smarty_tpl->tpl_vars['resBreadcrumb']->value['productCategoryName'])),$_smarty_tpl);?>
</li>
               <?php }?>
               <?php } ?>
               <?php }?>
</ul>
                        
            </div> </div>
            <!-- Breadcrumbs END here -->
      
      <div id="content-wrapper" ng-show="!query" >
         <div class="container">
            <?php echo $_smarty_tpl->getSubTemplate ('addbanner/BannerLeaderboardHeader.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

            <?php echo $_smarty_tpl->getSubTemplate ('addbanner/BannerHeader.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

              
            <div id="common_message"></div>
            <div id="unsubscribe_message"></div>
            <div id="common_message_referal"></div>
            <div id="invalid_email"></div>
            
            <div class="catalog overflow row py-4">
                
                <div class="col-lg-5 col-12 sort_blk left-content-block">
                    
                    <div class="prdctFilter sorToggle bg-white">                       
                        <div class="leftlistBx category-browse">                           
                            <div class="filter-head bg-white w-100 px-4 pb-lg-4 py-4 px-lg-0">                                 
                                <div class="row m-0 align-items-center">
                                    <div class="col-12 p-0 text-lg-left text-center">
                                        <h6 class="clearAllSearch cursor-pointer float-right font-normal font-weight-bold m-0 mfillter mr-3 mt-3 d-none d-lg-block"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblClearFilter'];?>
</h6>
                                        <h2 class="font-weight-semibold  m-0 d-lg-inline-block d-flex justify-content-center align-items-center text-uppercase"><i class="icon-filter font-weight-bold mr-2 d-lg-none"></i><?php echo $_smarty_tpl->tpl_vars['language']->value['lblFilter'];?>
</h2>
                                    </div>
                                    
                                </div> 
                            </div>
                            <div class="filter_section">
                                <div class="row px-4 py-md-4 py-3 p m-0 border-bottom align-items-center filter_head d-lg-none bg-white position-sticky top-0">
                                    <h4 class="font-weight-bold m-0 col-6 p-0"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblFilter'];?>
</h4>
                                    <h4 class="filter-close font-weight-bold m-0 col-6 p-0 text-right"><i class="icon-close font-normal text-muted"></i></h4>
                                </div>
                                  
                                <?php if ($_smarty_tpl->tpl_vars['pageDefaultView']->value=='products_only'||$_smarty_tpl->tpl_vars['pageDefaultView']->value=='widget_and_products'){?>
                                    <?php echo $_smarty_tpl->getSubTemplate (($_smarty_tpl->tpl_vars['pageLayout']->value)."/LayeredNavigation.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
                                <?php }?>
                               
                                <div class="btn-fix py-3 d-lg-none position-fixed w-100 bg-white bottom-0">
                                    <div class="container">
                                        <div class="row">
                                            <div class="col-6"><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','class'=>"btn btn-block btn-outline-primary clearAllSearch font-base font-weight-semibold mfillter py-2 text-uppercase",'caption'=>($_smarty_tpl->tpl_vars['language']->value['lblClear'])),$_smarty_tpl);?>
</div>
                                            <div class="col-6"><?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->anchor(array('href'=>'','class'=>"apply-fillter btn btn-block btn-primary filter-close font-base font-weight-semibold py-2 text-uppercase",'caption'=>($_smarty_tpl->tpl_vars['language']->value['lblApplyFilter'])),$_smarty_tpl);?>
</div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                  
                  <?php if ((($tmp = @$_smarty_tpl->tpl_vars['settingsTwitterEnableFeeds']->value)===null||$tmp==='' ? '' : $tmp)=="Yes"){?>
                  <div class="twitterbox"> <?php echo $_smarty_tpl->tpl_vars['settingsTwitterWidgetCode']->value;?>
 </div>
                  <?php }?> 
                  
               </div>
                
               <div class="col-lg col-12 right-content-block">
                  <div class="list-block">
                     <div class ="refined-box-content pb-4 text-left hide"></div>
                     <?php if ($_smarty_tpl->tpl_vars['pageDefaultView']->value=='products_only'||$_smarty_tpl->tpl_vars['pageDefaultView']->value=='widget_and_products'){?>
                     <?php if ((($tmp = @$_smarty_tpl->tpl_vars['resBanner']->value)===null||$tmp==='' ? '' : $tmp)){?> 
                     <div class="banner-container ml-3 clearfix">
                        <?php echo $_smarty_tpl->getSubTemplate ('BannerSlider.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

                     </div>
                     <?php }?>
                     <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"selectedProductOption",'value'=>''),$_smarty_tpl);?>
   
                     <?php $_smarty_tpl->tpl_vars["priceSliderHid"] = new Smarty_variable('', null, 0);?>
                     <?php if ((($tmp = @$_smarty_tpl->tpl_vars['priceMinQueryString']->value)===null||$tmp==='' ? '' : $tmp)!=''&&(($tmp = @$_smarty_tpl->tpl_vars['priceMaxQueryString']->value)===null||$tmp==='' ? '' : $tmp)!=''){?>
                         <?php $_smarty_tpl->tpl_vars["priceSliderHid"] = new Smarty_variable("1", null, 0);?>
                     <?php }?>
                     <?php $_smarty_tpl->tpl_vars["priceEmiSliderHid"] = new Smarty_variable('', null, 0);?>
                     <?php if ((($tmp = @$_smarty_tpl->tpl_vars['emiMinQueryString']->value)===null||$tmp==='' ? '' : $tmp)!=''&&(($tmp = @$_smarty_tpl->tpl_vars['emiMaxQueryString']->value)===null||$tmp==='' ? '' : $tmp)!=''){?>
                         <?php $_smarty_tpl->tpl_vars["priceEmiSliderHid"] = new Smarty_variable("1", null, 0);?>
                     <?php }?>
                     <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"priceSliderHid",'value'=>($_smarty_tpl->tpl_vars['priceSliderHid']->value)),$_smarty_tpl);?>
   
                     <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->hidden(array('name'=>"priceEmiSliderHid",'value'=>($_smarty_tpl->tpl_vars['priceEmiSliderHid']->value)),$_smarty_tpl);?>
    

                     <div id ="refined-box-content"></div>
                     <div class="productListing"> 
                        <?php echo $_smarty_tpl->getSubTemplate (($_smarty_tpl->tpl_vars['pageLayout']->value)."CatalogGridBlock.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
                        <?php echo $_smarty_tpl->getSubTemplate (($_smarty_tpl->tpl_vars['pageLayout']->value)."js_templates/CatalogGridBlock.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

                     </div>
                     <?php if ($_smarty_tpl->tpl_vars['prodsMaxCount']->value>$_smarty_tpl->tpl_vars['productPageCount']->value){?>
                     <div class="text-center">
                        <a href="javascript:void(0)" id="view_more_products" class="btn btn-primary btn-lg py-3 px-5 mt-5 font-weight-bold font-small"><?php echo $_smarty_tpl->tpl_vars['language']->value['lblLoadMore'];?>
</a>
                     </div>
                     <?php }?>
                     <div id="CategoryPopup">
                        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->start(array('name'=>"formProductOptions"),$_smarty_tpl);?>

                        <?php echo $_smarty_tpl->smarty->registered_objects['form'][0]->close(array(),$_smarty_tpl);?>

                     </div>
                     <?php }?>
                  </div>
                      
                  <?php if ((($tmp = @$_smarty_tpl->tpl_vars['selCategoryDet']->value["productCategoryFooterText"])===null||$tmp==='' ? '' : $tmp)){?>
                  <div class="mt-4 category-footertext pl-3">
                     <?php echo htmlspecialchars_decode((($tmp = @$_smarty_tpl->tpl_vars['selCategoryDet']->value["productCategoryFooterText"])===null||$tmp==='' ? '' : $tmp), ENT_QUOTES);?>

                  </div>
                  <?php }elseif((($tmp = @$_smarty_tpl->tpl_vars['selCategoryParentDet']->value["productCategoryFooterText"])===null||$tmp==='' ? '' : $tmp)){?>
                  <div class="mt-4 category-footertext pl-3">
                     <?php echo htmlspecialchars_decode((($tmp = @$_smarty_tpl->tpl_vars['selCategoryParentDet']->value["productCategoryFooterText"])===null||$tmp==='' ? '' : $tmp), ENT_QUOTES);?>

                  </div>
                  <?php }?>
                  
               </div>
            </div>
         </div>
         
         <?php echo $_smarty_tpl->getSubTemplate ('addbanner/BannerLeaderboardFooter.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

         
      </div>
       
      <?php echo $_smarty_tpl->getSubTemplate ('CommonBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>
 
      
      <!-- End : Outer Pane --> 
      <script type="text/javascript">
         var lblphone 	= "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblEnterContactNumber'];?>
";
         var lblRemove 	= "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblRemove'];?>
";
         var productCurrency 	= 1;
         var selCategoryID 	= '<?php echo (($tmp = @$_smarty_tpl->tpl_vars['selCategoryDet']->value["productCategoryID"])===null||$tmp==='' ? '' : $tmp);?>
';
         var languageID 		= '<?php echo (($tmp = @$_smarty_tpl->tpl_vars['languageID']->value)===null||$tmp==='' ? '' : $tmp);?>
';
         var catIDAndSubcategories = '<?php echo $_smarty_tpl->tpl_vars['catIDAndSubcategories']->value;?>
';
         var categoryID		="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['resBreadcrumbs']->value[0]["productCategoryID"])===null||$tmp==='' ? '' : $tmp);?>
";
         var searchKeyword 	= "<?php echo (($tmp = @$_smarty_tpl->tpl_vars['searchKeyword']->value)===null||$tmp==='' ? '' : $tmp);?>
";
         var listUsersWishListItems = <?php echo json_encode($_smarty_tpl->tpl_vars['listUsersWishListItems']->value);?>
;
         var originCatalogID = '<?php echo $_smarty_tpl->tpl_vars['originCatalogID']->value;?>
';
         var categoryID = '<?php echo $_smarty_tpl->tpl_vars['originCatalogID']->value;?>
';
         var brandID 		= '<?php echo $_smarty_tpl->tpl_vars['brandID']->value;?>
';
         var brandIDs 		= '<?php echo $_smarty_tpl->tpl_vars['brandIDs']->value;?>
';
         var businessID 		= '<?php echo $_smarty_tpl->tpl_vars['businessID']->value;?>
';
         var bodyStyle= '<?php echo (($tmp = @$_smarty_tpl->tpl_vars['bodyStyle']->value)===null||$tmp==='' ? '' : $tmp);?>
';
         var bmwCode= '<?php echo (($tmp = @$_smarty_tpl->tpl_vars['bmwCode']->value)===null||$tmp==='' ? '' : $tmp);?>
';
         var globalCatalogUrl= '<?php echo (($tmp = @$_smarty_tpl->tpl_vars['globalCatalogUrl']->value)===null||$tmp==='' ? '' : $tmp);?>
';
         var lblUpholstery 	= "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblUpholstery'];?>
";
          var lblColor 	= "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblColor'];?>
";
          var lblBrowse 	= "<?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrowse'];?>
";
          var urlCat 	= "<?php echo (($tmp = @$_smarty_tpl->tpl_vars['urlCat']->value)===null||$tmp==='' ? '' : $tmp);?>
";
          var urlBodyStyle 	= "<?php echo (($tmp = @$_smarty_tpl->tpl_vars['urlBodyStyle']->value)===null||$tmp==='' ? '' : $tmp);?>
";
          var custImgPath 	= "<?php echo (($tmp = @$_smarty_tpl->tpl_vars['view_public_path']->value)===null||$tmp==='' ? '' : $tmp);?>
";
      </script> 
      <?php echo $_smarty_tpl->getSubTemplate ('CommonJavaScriptBottom.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0); ?>

    </div>
      <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('section'=>"Referral",'id'=>"common_message_referal"),$_smarty_tpl);?>

      <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('section'=>"Subscribe",'id'=>"invalid_email"),$_smarty_tpl);?>

      <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('section'=>"Subscribe",'id'=>"common_message"),$_smarty_tpl);?>

      <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->messages_script(array('section'=>"Unsubscribe",'id'=>"unsubscribe_message"),$_smarty_tpl);?>
 
      <script type="text/javascript">
        
             
         var  __discountQueryString='<?php echo $_smarty_tpl->tpl_vars['discountQueryString']->value;?>
';
         var  __queryStringMode='<?php echo $_smarty_tpl->tpl_vars['queryStringMode']->value;?>
';
         var  userGroupID='<?php echo $_smarty_tpl->tpl_vars['userGroupID']->value;?>
';
         var  default_catalog_listing='<?php echo $_smarty_tpl->tpl_vars['default_catalog_listing']->value;?>
';
         var detailPageProductID =0;
         var lblBrands ="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblBrands'];?>
";
         var lblBodyType ="<?php echo $_smarty_tpl->tpl_vars['language']->value['lblBodyType'];?>
";
         var productPageCount = "<?php echo (($tmp = @$_smarty_tpl->tpl_vars['productPageCount']->value)===null||$tmp==='' ? '' : $tmp);?>
";
         var lblFollow ='<?php echo $_smarty_tpl->tpl_vars['language']->value['lblLikeMerchant'];?>
';
         var lblUnFollow ='<?php echo $_smarty_tpl->tpl_vars['language']->value['lblLikedMerchant'];?>
';
      </script>
      
      <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->script_group_start(array('name'=>($_smarty_tpl->tpl_vars['compiled_js_path']->value)."/catalog.default.catalog.js"),$_smarty_tpl);?>

      
      <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->script(array('src'=>($_smarty_tpl->tpl_vars['common_js']->value)."/jquery.lazyload.js"),$_smarty_tpl);?>

      <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->script(array('src'=>($_smarty_tpl->tpl_vars['common_frontend_js']->value)."/catalog.page.js"),$_smarty_tpl);?>
      
      <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->script(array('src'=>($_smarty_tpl->tpl_vars['common_frontend_js']->value)."/product.page.js"),$_smarty_tpl);?>

      <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->script(array('src'=>($_smarty_tpl->tpl_vars['view_javascript']->value)."/jquery.ui.slider-rtl.min.js"),$_smarty_tpl);?>

      <?php echo $_smarty_tpl->smarty->registered_objects['html'][0]->script_group_end(array(),$_smarty_tpl);?>
 
      <script type="text/javascript">
          if ($(window).width()< 1050) {
            $(".filter-head").click(function() {
                $(".filter_section").addClass("active");
                $("body").addClass("overflow-hidden");
            });
          }
          $(".filter-close").click(function() {
              $(".filter_section").removeClass("active");
              $("body").removeClass("overflow-hidden");
          });
      
         $(document).ready(function(){
             $(document).on("click", ".apply-fillter,.mfillter", function() {
             /* Act on the event */
             $('.prdctFilter').addClass('sorToggle');
             $('.FltrIco').removeClass('drop-up');
             $('.fx-me').removeClass('filter-open');
              $("body").removeClass("showfilter");
             $('header.affix').css("z-index","9999");    
           }); 
          });
          
      </script>
      <script type="text/javascript">
         $(document).ready(function() {
         	$("img.lazy").lazyload({ 
         		effect : "fadeIn",
         		threshold:200
         	}).trigger("scroll");
         	$(".days_dash").each( function() {
         	if(!$(this).is(':visible') ) {
         		$(this).parent('.time-block').addClass("hourblock");
         	} 
         });
             if ($(window).width()> 991) {
                 var wHeight = $(window).outerHeight();
                 var headerFooterHeight = $('header').outerHeight() + $('footer').outerHeight();
                 var contentMinHeight = wHeight - headerFooterHeight
                 $("#content-wrapper .left-content-block").css('min-height',contentMinHeight);
             }
         });
      </script>
   </body>
</html><?php }} ?>