<?php $type = (_STORE_META_DOCTYPE_HTML != "html5") ? 'type="text/javascript" ': ''; ?>

<?php $xtMinify->add_resource(_SRV_WEB_TEMPLATES . '__xgx_bare/javascript/vendor/modernizr.js', 0, 'footer') ?>
<?php $xtMinify->add_resource(_SRV_WEB_TEMPLATES . '__xgx_bare/javascript/vendor.js', 10, 'footer') ?>
<?php $xtMinify->add_resource(_SRV_WEB_TEMPLATES . '__xgx_bare/javascript/main.js', 20, 'footer') ?>

<?php $xtMinify->add_resource(_SRV_WEB_TEMPLATES . '__xgx_bare/components/bootstrap/dist/js/bootstrap.min.js', 100, 'footer') ?>
<?php $xtMinify->add_resource(_SRV_WEB_TEMPLATES . '__xgx_bare/components/bootstrap-select/dist/js/bootstrap-select.min.js', 110, 'footer') ?>
<?php $xtMinify->add_resource(_SRV_WEB_TEMPLATES . '__xgx_bare/components/moment/min/moment-with-locales.min.js', 120, 'footer') ?>
<?php $xtMinify->add_resource(_SRV_WEB_TEMPLATES . '__xgx_bare/components/eonasdan-bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js', 130, 'footer') ?>
<?php $xtMinify->add_resource(_SRV_WEB_TEMPLATES . '__xgx_bare/components/lightgallery/dist/js/lightgallery-all.min.js', 140, 'footer') ?>
<?php $xtMinify->add_resource(_SRV_WEB_TEMPLATES . '__xgx_bare/components/OwlCarousel/owl-carousel/owl.carousel.min.js', 150, 'footer') ?>
<?php $xtMinify->add_resource(_SRV_WEB_TEMPLATES . '__xgx_bare/components/matchHeight/dist/jquery.matchHeight-min.js', 160, 'footer') ?>
<?php $xtMinify->add_resource(_SRV_WEB_TEMPLATES . '__xgx_bare/components/jquery-breakpoint-check/js/jquery-breakpoint-check.min.js', 170, 'footer') ?>
<?php $xtMinify->add_resource(_SRV_WEB_TEMPLATES . '__xgx_bare/components/limit.js/limit.js', 170, 'footer') ?>

<?php $xtMinify->add_resource(_SRV_WEB_TEMPLATES . '__xgx_bare/javascript/Helper.js', 200, 'footer') ?>
<?php $xtMinify->add_resource(_SRV_WEB_TEMPLATES . '__xgx_bare/javascript/ListingSwitch.js', 210, 'footer') ?>
<?php $xtMinify->add_resource(_SRV_WEB_TEMPLATES . '__xgx_bare/javascript/MegaMenu.js', 220, 'footer') ?>
<?php $xtMinify->add_resource(_SRV_WEB_TEMPLATES . '__xgx_bare/javascript/Template.js', 230, 'footer') ?>

<!-- HTML5 shiv IE8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script <?php echo $type ?> src="<?php echo _SRV_WEB_TEMPLATES . _STORE_TEMPLATE ?>/components/html5shiv/dist/html5shiv.min.js"></script>
<![endif]-->

<!-- jQuery independent load -->
<script <?php echo $type ?> src="<?php echo _SRV_WEB_TEMPLATES ?>__xgx_bare/components/jquery/dist/jquery.min.js"></script>
