Unknown: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home3/gifts4all/public_html/system/journal2/classes/journal2_utils.php on line 283Unknown: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home3/gifts4all/public_html/system/journal2/classes/journal2_utils.php on line 283Unknown: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home3/gifts4all/public_html/system/journal2/classes/journal2_utils.php on line 283Unknown: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home3/gifts4all/public_html/system/journal2/classes/journal2_utils.php on line 283Unknown: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home3/gifts4all/public_html/system/journal2/classes/journal2_utils.php on line 283Unknown: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home3/gifts4all/public_html/system/journal2/classes/journal2_utils.php on line 283Warning: Undefined variable $expire in /home3/gifts4all/public_html/system/library/template.php on line 9Journal.notificationTimer = parseInt('1500', 10);
Journal.quickviewText = 'QuickView';
Journal.scrollToTop = parseInt('1', 10);
Journal.BASE_HREF = 'url(' + $('base').attr('href') + ')';
$(document).ready(function () {
Journal.productPage();
$('.product-tabs').insertAfter('.product-info');
Journal.enableProductOptions();
Journal.updatePrice = true;
Journal.enableSideBlocks();
Journal.searchAutoComplete();
Journal.enableStickyHeader();
Journal.enableQuickView();
Journal.quickViewStatus = true;
if ($('html').hasClass('product-page') || $('html').hasClass('quickview')) {
Journal.enableCloudZoom('inner');
}
Journal.productPageGallery();
$('.product-list-item .image .wishlist:hidden, .product-list-item .image .compare:hidden, .product-grid-item .product-details .wishlist:hidden, .product-grid-item .product-details .compare:hidden').remove();
$('#top-modules > .hide-on-mobile').parent().addClass('hide-on-mobile');
$('#bottom-modules > .hide-on-mobile').parent().addClass('hide-on-mobile');
$('#top-modules .gutter-on').parent().addClass('gutter');
$('#bottom-modules .gutter-on').parent().addClass('gutter');
$(window).resize();
Journal.init();
});
/* Custom JS */
/* Light YouTube Embeds by @labnol */
/* Web: http://labnol.org/?p=27941 */
document.addEventListener("DOMContentLoaded",
function() {
var div, n,
v = document.getElementsByClassName("youtube-player");
for (n = 0; n < v.length; n++) {
div = document.createElement("div");
div.setAttribute("data-id", v[n].dataset.id);
div.innerHTML = labnolThumb(v[n].dataset.id);
div.onclick = labnolIframe;
v[n].appendChild(div);
}
});
function labnolThumb(id) {
var thumb = '',
play = '';
return thumb.replace("ID", id) + play;
}
function labnolIframe() {
var iframe = document.createElement("iframe");
var embed = "https://www.youtube.com/embed/ID?autoplay=1";
iframe.setAttribute("src", embed.replace("ID", this.dataset.id));
iframe.setAttribute("frameborder", "0");
iframe.setAttribute("allowfullscreen", "1");
this.parentNode.replaceChild(iframe, this);
}
/*window.$zopim||(function(d,s){var z=$zopim=function(c){z._.push(c)},$=z.s=
d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set.
_.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute("charset","utf-8");
$.src="https://v2.zopim.com/?4UGmYuh8A9iZtwDySXzBB8taIcu0kr5i";z.t=+new Date;$.
type="text/javascript";e.parentNode.insertBefore($,e)})(document,"script");*/
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-92985730-1', 'auto');
ga('send', 'pageview');