{*
* 2007-2016 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author PrestaShop SA <contact@prestashop.com>
*  @copyright  2007-2016 PrestaShop SA
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
{if !isset($content_only) || !$content_only}
					</div><!-- #center_column -->
					{if isset($right_column_size) && !empty($right_column_size)}
						<div id="right_column" class="col-xs-12 col-sm-{$right_column_size|intval} column">{$HOOK_RIGHT_COLUMN}</div>
					{/if}
					</div><!-- .row -->
				</div><!-- #columns -->
			</div><!-- .columns-container -->
			{if $page_name =='index' && $page_name !='pagenotfound'}
			<div class="bottom-home">
				<div class="container">
					{hook h='displayBottomHome'}
				</div>
			</div>
			{/if}
			{if isset($HOOK_FOOTER)}
				<!-- Footer -->
				<div class="footer-container">
					<footer id="footer">
						<div class="container">
							<div class="row">
								{$HOOK_FOOTER}
							</div>
						</div>
					</footer>
					<div class="copy-right">
						<div class="container">
							<div class="row">
								{hook h='displayBottomFooter'}
							</div>
						</div>
					</div>
					{capture name='displayBanner'}{hook h='displayBanner'}{/capture}
					{if $smarty.capture.displayBanner}
						<div class="banner">
							<div class="container">
								
									{$smarty.capture.displayBanner}
								
							</div>
						</div>
					{/if}
					{if $page_name == 'index'}
						{hook h="displayBannerSpecial"}		
					{/if}
				</div>
				<!-- #footer -->
			{/if}
			 {capture name="righsidetbar_compare"}
				{hook h='displayRightSideBar' mod='owlrightsidebar' caller='owlrightsidebar'}
			{/capture}
			 
			<div class="owl-right-sidebar">
				<div class="right-sidebar-inner">
					{$smarty.capture.righsidetbar_compare}
					{if isset($left_column_size) && !empty($left_column_size)}
					<div id="switch_left_column" class="right-sidebar-wrap">
						<a href="javascript:void(0);" data-column="left_column" class="right-sidebar-tri icon_wrap" title="{l s='Display left column'}">
							<i class="icon-right icon-0x"></i><span class="icon_text">{l s="Left"}</span>
						</a>   
					</div>
					{/if}
					<div id="owl_scroll_top" class="to_top_wrap">
						<i class="icon-up-open-2 icon-0x"></i>
						<span>{l s='top'}</span>
					</div>
				</div>
			</div>
		</div><!-- #page -->
{/if}
{include file="$tpl_dir./global.tpl"}
	<script type="text/javascript">
			NProgress.start();
			var interval = setInterval(function() { NProgress.inc(); }, 1000);        
			jQuery(window).load(function () {
				clearInterval(interval);
				NProgress.done();
			});
			jQuery(window).unload(function () {
				NProgress.start();
			});
		</script>
		<div class="page-loader" style="display:none"></div>
	</body>
</html>