Advent Candle Set – Fluted
Advent Wreath & Candles Meaning, History & Tradition // // // '});pintrk('page'); // ]]> // // // 0 } catch (e) { } return !1 } function r() { var a = o(); if (a) { var r = t[e].pu bads(); typeof r.setTargeting === n && r.setTargeting("admiral-engaged", "true") } } a = t[e] = t[e] || {}, a.cmd = a.cmd || [], typeof a.pubads === n ? r() : typeof a.cmd.unshift === n ? a.cmd.unshift(r) : a.cmd.push(r) }(window, "googletag", "function");;;;; // ]]> // // 0; return result; } }, start: function () { var staticAdJob = this.jobs.createJob( this.Advertisements.filter(function (ad) { return !ad.lazyLoad && ad.sizedetails.length > 0; }) ); var lazyAds = this.Advertisements.filter(function (ad) { return ad.lazyLoad && ad.sizedetails.length > 0; }); googletag.cmd.push(function () { window.addEventListener('message', adlib.dfpInjectEvent, false); adlib.definition.defineSlots(staticAdJob); adlib.definition.setGenericTargeting(); adlib.bidding.doBids(staticAdJob); }); if (lazyAds.length > 0) { this.lazyLoading.setupLazyLoading(lazyAds); } return adlib.Public; }, dfpInjectEvent: function (event) { var allowed = false; var domains = ['doubleclick.net', 'googlesyndication.com', 'googleadservices.com']; domains[domains.length] = window.location.hostname; for (var i = 0; i < domains.length; i++) { if (event.origin.indexOf(domains[i]) >= 0) { allowed = true; break; } } if (allowed) { try { window.dfpMessageData = JSON.parse(event.data); } catch (err) { return; } if (typeof window.dfpMessageData.scriptUrl == 'undefined') return; window.removeEventListener('message', SalemAds.Processes.dfpInjectEvent, false); var script = document.createElement('script'); script.async = true; script.type = 'text/javascript'; script.src = window.dfpMessageData.scriptUrl; var node = document.getElementsByTagName('script')[0]; node.parentNode.insertBefore(script, node); } }, jobs: { createJob: function (metas) { return { returned_bids: 0, expected_bids: 0, metas: metas }; } }, definition: { AdType: { Standard: 1, Sticky: 2, Anchor: 3 }, getPath: function () { var Path = window.location.pathname.toLowerCase() + (window.location.pathname == '/' ? 'home/' : ''); return '/6177/slm.crosswalk' + Path.substring(0, Path.lastIndexOf('/')); }, defineSlots: function (job) { var maxLazyThreshold = 9; var currentLazyIndex = 1; var lazyJobAds = []; var clientWidth = document.documentElement.clientWidth; var path = this.getPath(); job.metas.map(function (meta) { if (adlib.utility.getAdSizesForScreenWidth(meta, clientWidth).length === 0) return; if (currentLazyIndex > maxLazyThreshold && !meta.lazyRendered) { lazyJobAds.push(meta); return; } else { currentLazyIndex++; } if (meta.isInterstitial) { meta.slot = googletag.defineOutOfPageSlot(path, meta.code).addService(googletag.pubads()).setTargeting('pos', "interstitial"); meta.defined = true; } else if (meta.unitName.length > 0) { meta.slot = googletag.defineSlot(path, meta.sizes, meta.code).addService(googletag.pubads()).setTargeting('pos', meta.unitName).setTargeting('ad_group', window.Adomik.randomAdGroup()); meta.defined = true; } else { meta.slot = googletag.defineSlot(path, meta.sizes, meta.code).addService(googletag.pubads()).setTargeting('pos', meta.code).setTargeting('ad_group', window.Adomik.randomAdGroup()); meta.defined = true; } switch (meta.adTypeId) { case adlib.definition.AdType.Sticky: adlib.dom.createSticky(meta); break; case adlib.definition.AdType.Anchor: adlib.dom.createAnchor(meta); break; } }); if (lazyJobAds.length > 0) { adlib.lazyLoading.setupLazyLoading(adlib.jobs.createJob(lazyJobAds)); } }, setGenericTargeting: function () { var queryInfo = location.search.substr(1).split('&'); for (var i in queryInfo) { var kv = queryInfo[i].split('='); if (kv[0].indexOf('utm_') == 0) googletag.pubads().setTargeting(kv[0], kv[1]); } var gptKV = document.querySelector("meta[name='ad:keyvalue']"); if (gptKV !== null) { gptKV = gptKV.getAttribute("content").split(';'); for (var i in gptKV) { var kv = gptKV[i].split('='); if (kv.length == 2) googletag.pubads().setTargeting(kv[0], kv[1]); } } if (/ipad|tablet/i.test(navigator.userAgent)) { googletag.pubads().setTargeting('device', 'tablet'); } else if (/mobile|iphone|midp/i.test(navigator.userAgent)) { googletag.pubads().setTargeting('device', 'phone'); } else { googletag.pubads().setTargeting('device', 'desktop'); } if (document.referrer.indexOf('facebook') >= 0) { googletag.pubads().setTargeting('ref', 'fb'); } // Blueconic targeting. try { if (typeof Storage !== "undefined") { var targetingParamStr = localStorage.getItem("bcDFPTargetingParams"); if (targetingParamStr) { var targetingParameters = JSON.parse(targetingParamStr); // set page-level targeting parameters targetingParameters.map(function (tp) { window.googletag.pubads().setTargeting(tp.key, tp.value); }); } } } catch (err) { console.log("[BC]: Error while targeting. Err: " + err); } } }, dom: { offset: 105, createSticky: function (meta) { var stickyAdOriginalPosition = 0; var adElement = document.getElementById(meta.code); if (adElement !== undefined && adElement !== null && adElement.parentNode !== undefined && adElement.parentNode !== null) { var trackme = document.createElement('div'); trackme.innerHTML = ''; trackme.id = meta.code + '-placeholder'; var parent = adElement.parentNode; parent.insertBefore(trackme, adElement); window.addEventListener("scroll", function () { if (adElement === undefined || adElement === null) return; var y = trackme.getBoundingClientRect().top + (window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0); var windowY = window.scrollY; if (windowY > y + adlib.dom.offset) { adElement.style.position = 'fixed'; adElement.style.top = (adlib.dom.offset + 10).toString() + 'px'; } else { adElement.style.position = ''; adElement.style.top = stickyAdOriginalPosition.toString() + 'px'; } }); } }, createAnchor: function (meta) { var closeElementText = document.createTextNode("x Close Ad"); var closeElement = document.createElement("div"); closeElement.onclick = function () { adElement.style.display = "none" }; closeElement.style.border = '1px solid rgba(0,0,0,0.35)'; closeElement.style.borderRadius = '4px 4px 0 0'; closeElement.style.padding = '3px 6px 3px 6px'; closeElement.style.position = 'absolute'; closeElement.style.top = '-19px'; closeElement.style.right = 0; closeElement.style.zIndex = '-1'; closeElement.style.backgroundColor = 'rgba(0,0,0,0.55)'; closeElement.style.boxShadow = 'inset 0 0 0 1px rgba(255, 255, 255, 0.2)'; closeElement.style.color = 'rgba(255, 255, 255, 0.75)'; closeElement.style.lineHeight = '1.2'; closeElement.style.fontSize = '12px'; closeElement.style.fontFamily = 'sans-serif'; closeElement.style.cursor = 'pointer'; closeElement.appendChild(closeElementText); var adElement = document.getElementById(meta.code); if (adElement !== undefined && adElement !== null) { adElement.style.position = 'fixed'; adElement.style.zIndex = '9999'; adElement.style.width = '320px'; adElement.style.transform = 'translateX(-50%)'; adElement.style.bottom = '0'; adElement.style.left = '50%'; adElement.style.border = 'solid 1px #ccc'; adElement.style.background = '#eee'; adElement.appendChild(closeElement); } } }, bidding: { UseAmazon: true, UsePrebid: true, shouldBid: function () { return this.UseAmazon || this.UsePrebid; }, doBids: function (job) { if (this.shouldBid) { googletag.pubads().disableInitialLoad(); if (this.UseAmazon) { job.expected_bids++; } if (this.UsePrebid) { job.expected_bids++; } } //googletag.pubads().enableSingleRequest(); googletag.enableServices(); if (this.UseAmazon) { this.doAmazonBids(job); } if (this.UsePrebid) { this.doPrebidBids(job); } }, doAmazonBids: function (job) { apstag.init({ pubID: '3281', adServer: 'googletag', bidTimeout: 500 }); apstag.fetchBids({ slots: job.metas.filter(function (meta) { return meta.defined; }) .map(function (meta) { return { slotID: meta.code, slotName: adlib.definition.getPath() + '/' + meta.code, sizes: meta.sizes }; }) }, function (bids) { var j = job; apstag.setDisplayBids(); if (adlib.bidding.UsePrebid) { adlib.bidding.doBidCheck(j); } else { googletag.cmd.push(function () { googletag.pubads().refresh(j.metas.map(function (meta) { return meta.slot; })); }); } }); }, doPrebidBids: function (job) { pbjs.que.push(function () { pbjs.addAdUnits(job.metas .filter(function (meta) { return meta.defined; }) .map(function (meta) { return { code: meta.code, sizes: meta.sizes, bids: meta.bids }; })); pbjs.setBidderSequence('random'); pbjs.enableSendAllBids(); pbjs.setPriceGranularity('auto') pbjs.requestBids({ timeout: 500, bidsBackHandler: function (bidResponses) { var j = job; pbjs.setTargetingForGPTAsync(); if (adlib.bidding.UseAmazon) { adlib.bidding.doBidCheck(j); } else { googletag.cmd.push(function () { googletag.pubads().refresh(j.metas.map(function (meta) { return meta.slot; })); }); } } }); }); }, doBidCheck: function (job) { job.returned_bids++; if (job.returned_bids < job.expected_bids) return; googletag.cmd.push(function () { googletag.pubads().refresh(job.metas.map(function (meta) { return meta.slot; })); }); } }, lazyLoading: { init: false, lazyMetas: [], setupLazyLoading: function (job) { if (job.metas === 'undefined' || job.metas.length = Mobile[0] && width = Tablet[0] && width = Desktop[0] && width = 0 && bounding.left >= 0 && bounding.bottom