// // // = 0; i--) { iframes[i].setAttribute("width", width); iframes[i].setAttribute("height", height); }; } catch (e) {} }; // functions for moving video ads to left and right lago.checkMovingAd = function() { try { var top = window.pageYOffset; lago.moveAd(top); } catch (e) { console.log(e); } }; lago.moveAd = function (top) { for (var i = 0; i < lago.movingAd.ad.length; i++) { var ad = lago.movingAd.ad[i]; if (ad.currPos == 0 && top > ad.offset && top < (ad.top + ad.height + lago.spaceBetweenAd) && top > lago.movingAd.top) { if (lago.movingAd.currentAd !== null) { lago.moveToLeft(lago.movingAd.currentAd); } lago.moveToRight(ad); lago.movingAd.currentAd = ad; } else if (ad.currPos == 1 && top < ad.offset && top > (ad.top - lago.spaceBetweenAd)) {lago.moveToLeft(ad); lago.movingAd.currentAd = null;} } lago.movingAd.top = top; }; lago.initializeVideoAd = function (divId, height, width) { var div = document.getElementById(divId); var smalldivId = "rightColumn"; var smallDiv = document.getElementById(smalldivId); var adFrames = div.getElementsByTagName("iframe"); var adFrame = null; if (adFrames && adFrames.length > 0) { adFrame = adFrames[0]; } if (adFrame && smallDiv) { var ad = {}; ad.id = divId; ad.height = height || adFrame.offsetHeight; ad.width = width || adFrame.offsetWidth; ad.top = GetAboslutePosition(divId, 1); ad.left = GetAboslutePosition(divId, 0); ad.offset = ad.top + (ad.height/2); ad.sLeft = smallDiv.offsetLeft; ad.sTop = 50; ad.sHeight = (ad.height/2); ad.sWidth = (ad.width/2); ad.currPos = 0; lago.movingAd.ad.push(ad); console.log(ad); adFrame.left = ad.left; adFrame.top = ad.top; } div.className += " videoAdContainer082016"; if (lago.movingAd.currentAd) { lago.pauseVideo(lago.movingAd.currentAd); } }; lago.moveToRight = function (ad) { var fr = document.getElementById(ad.id).getElementsByTagName("iframe"); if (fr.length > 0) { try { if (window[lago.callBackShiftRight]) { window[lago.callBackShiftRight](); } } catch (ex) { console.log(ex); } var currFr = fr[0]; fr[0]; currFr.style.position = 'fixed'; currFr.style.top = ad.sTop + 'px'; currFr.style.left = ad.sLeft + 'px'; currFr.style.height = ad.sHeight + 'px'; currFr.style.width = ad.sWidth + 'px'; } ad.currPos = 1; }; lago.moveToLeft = function (ad) { var fr = document.getElementById(ad.id).getElementsByTagName("iframe"); if (fr.length > 0) { var currFr = fr[0]; currFr.style.position = 'absolute'; currFr.style.height = ad.height + 'px'; currFr.style.width = ad.width + 'px'; currFr.style.top = ad.top + 'px'; currFr.style.left = ad.left + 'px'; try { if (window[lago.callBackShiftLeft]) { window[lago.callBackShiftLeft](); } } catch (ex) { console.log(ex); } } ad.currPos = 0; }; lago.setupVideoAd = function (adId, height, width, shiftLeftFn, shiftRightFn) { try { var h = height || 375; var w = width || 600; lago.resize(adId, h, w); lago.initializeVideoAd(adId, h, w); lago.callBackShiftLeft = shiftLeftFn || 'VideoAdShiftLeft'; lago.callBackShiftRight = shiftRightFn || 'VideoAdShiftRight'; } catch (e) { console.log('-- Error in video Ad setup --'); console.log(e); } }; lago.pauseVideo = function(ad) { var fr = document.getElementById(ad.id).getElementsByTagName("iframe"); if (fr.length > 0) { var currFr = fr[0]; currFr.contentWindow.window.jwplayer().pause(true); } }; lago.closeVideoAd = function (adId) { var id = adId || ''; if (id === '' && lago.movingAd.currentAd) { id = lago.movingAd.currentAd.id; } try { if (id === lago.movingAd.currentAd.id) {lago.pauseVideo(lago.movingAd.currentAd); lago.moveToLeft(lago.movingAd.currentAd); lago.movingAd.currentAd = null; }} catch (e) { console.log(e); } }; // end functions for video ads moving left and right lago.message = function(message){ try { if (message.origin === window.location.origin) { var obj = JSON.parse(message.data); if (obj && obj.action) { if (obj.action === "resize") { lago.resize(obj.frameId, obj.height, obj.width);} if (obj.action === "adEvent" && obj.eventName === "videoAd") {lago.setupVideoAd(obj.frameId, obj.height, obj.width, obj.shiftLeftFn, obj.shiftRightFn); } if (obj.action === "adEvent" && obj.eventName === "videoComplete") {lago.closeVideoAd(obj.frameId);} } }} catch(e) { } }; if (window.addEventListener){window.addEventListener("message", lago.message, false);}else{window.attachEvent("onmessage", lago.message, false);} if (document.addEventListener){document.addEventListener("scroll", lago.checkMovingAd);} }(window.lago = window.lago || {}, window, googletag)); function GetAboslutePosition(id, position) { // position = 0 for left / 1 for top var value = 0; try { var element = document.getElementById(id); if (element) { value = (position === 0) ? element.offsetLeft : element.offsetTop; var parent = element.offsetParent; while (parent) { value += (position === 0) ? parent.offsetLeft : parent.offsetTop; parent = parent.offsetParent; } } } catch (ex) { console.log(ex.message); } return value; } function CheckBidReload(adId) { var slot = adId !== undefined ? [this.getAdSlot(adId)] : null; if (typeof index_headertag_lightspeed !== "undefined") { index_headertag_lightspeed.add_session_end_hook(function () { googletag.cmd.push(function () { index_headertag_lightspeed.set_slot_targeting(slot); googletag.pubads().refresh(slot); }); }, true); index_headertag_lightspeed.refresh(); } else if (typeof apstag !== "undefined") { lago.rebuildA9SlotsFromGPT(); var a9RefreshSlot = lago.a9Slots.filter(function(adSlot){ return adSlot.slotID === adId; }); apstag.fetchBids({ slots: a9RefreshSlot }, function () { googletag.cmd.push(function () { apstag.setDisplayBids(); googletag.pubads().refresh(slot); }); }); } else { googletag.pubads().refresh(slot); } }; //lago A9 Extensions lago.a9Slots = [ {'slotID': 'HED9eA', 'sizes': [[300,250],[300,600]], 'slotName': '/423686928/prod/obit-aff/obit-standard/display-right-1'}, ] ; lago.gptSlotSizeToArray = function(gptSlot) { return gptSlot.slot.getSizes().map(function(slot) { var keys = Object.keys(slot); return [slot[keys[0]], slot[keys[1]]]; }); }; lago.rebuildA9SlotsFromGPT = function () { lago.a9Slots = lago.slots.map(function(slot) { return { slotID: slot.key, sizes: lago.gptSlotSizeToArray(slot), slotName: slot.slot.getAdUnitPath() }; }); return lago.a9Slots; }; googletag.cmd.push(function () { //Size Mappings lago.mappings.mapping590x340 = googletag.sizeMapping(). addSize([1204,340], [[590, 340]]). addSize([1000,340], [[522, 340]]). addSize([385,340], [385,340]). addSize([0,0], [[300, 375]]). build(); lago.mappings.mapPremiumFlowers = googletag.sizeMapping(). addSize([1075,340], [[300, 186],[300,200],[300,220]]). addSize([300,340], [300,185]). addSize([0,0], []). build(); // AD SLOT DEFINITIONS lago.appendAdSlot('8Bzutg', googletag.defineSlot('/423686928/prod/obit-aff/obit-standard/custom-integratedtextlink-1', [[350,15]], '8Bzutg') .setTargeting("ContainerId",escape("8Bzutg")) .addService(googletag.pubads())); lago.appendAdSlot('PkjuMQ', googletag.defineSlot('/423686928/prod/obit-aff/obit-standard/custom-bottom-1', [[590,340]], 'PkjuMQ') .setTargeting("ContainerId",escape("PkjuMQ")) .addService(googletag.pubads())); lago.appendAdSlot('EsPA4g', googletag.defineSlot('/423686928/prod/obit-aff/obit-standard/custom-right-1', [[300,220],[300,200],[320,185]], 'EsPA4g') .setTargeting("ContainerId",escape("EsPA4g")) .addService(googletag.pubads())); lago.appendAdSlot('us58LQ', googletag.defineSlot('/423686928/prod/obit-aff/obit-standard/flowers-viewmore-1', [[148,21]], 'us58LQ') .setTargeting("ContainerId",escape("us58LQ")) .addService(googletag.pubads())); lago.appendAdSlot('HED9eA', googletag.defineSlot('/423686928/prod/obit-aff/obit-standard/display-right-1', [[300,250],[300,600]], 'HED9eA') .setTargeting("ContainerId",escape("HED9eA")) .addService(googletag.pubads())); // Page-Level key-value googletag.pubads() .setTargeting("fn",escape("Rosie")) .setTargeting("ln",escape("Harvey")) .setTargeting("pid","190468312") .setTargeting("fhid","18556") .setTargeting("fhcity",escape("Lyons")) .setTargeting("fhstate",escape("NY")) .setTargeting("fhzip",escape("14489")) .setTargeting("pf",escape("OFF")) .setTargeting("fhco",escape("2837")) .setTargeting("gbentries","0") .setTargeting("pymt",escape("paid")) .setTargeting("obittype",escape("standard")) .setTargeting("days","1") .setTargeting("chid","1") .setTargeting("gbspon","0") .setTargeting("daysgbx","30") .setTargeting("affstate",escape("NY")) .setTargeting("cobrand",escape("fltimes")) .setTargeting("corp","38") .setTargeting("country",escape("US")) .setTargeting("ref",escape("Legacy")) .setTargeting("flowers",escape("1")) .setTargeting("usecname",escape("0")) .setTargeting("searchfn",escape("1")) .setTargeting("searchln",escape("1")) .setTargeting("fhnote","False"); lago.addPageTarget("fn", escape("Rosie")); lago.addPageTarget("ln", escape("Harvey")); lago.addPageTarget("pid", escape("190468312")); lago.addPageTarget("fhid", escape("18556")); lago.addPageTarget("fhcity", escape("Lyons")); lago.addPageTarget("fhstate", escape("NY")); lago.addPageTarget("fhzip", escape("14489")); lago.addPageTarget("pf", escape("OFF")); lago.addPageTarget("fhco", escape("2837")); lago.addPageTarget("gbentries", escape("0")); lago.addPageTarget("pymt", escape("paid")); lago.addPageTarget("obittype", escape("standard")); lago.addPageTarget("days", escape("1")); lago.addPageTarget("chid", escape("1")); lago.addPageTarget("gbspon", escape("0")); lago.addPageTarget("daysgbx", escape("30")); lago.addPageTarget("affstate", escape("NY")); lago.addPageTarget("cobrand", escape("fltimes")); lago.addPageTarget("corp", escape("38")); lago.addPageTarget("country", escape("US")); lago.addPageTarget("ref", escape("Legacy")); lago.addPageTarget("flowers", escape("1")); lago.addPageTarget("usecname", escape("0")); lago.addPageTarget("searchfn", escape("1")); lago.addPageTarget("searchln", escape("1")); lago.addPageTarget("fhnote", escape("False")); googletag.pubads().collapseEmptyDivs(); googletag.enableServices(); }); // ]]> // LYONSRosie Pearl Harvey, 82, passed away on Thursday (October 11, 2018) at her home.Funeral services will be at the convenience of the family.Donations may be made in her name to Newark Assembly of God, 1088 Hartnagle Road, Newark, New York 14513 or to Lifetime Care Hospice of Wayne County, 800 West Miller Street, Newark, New York 14513.Rosie was born on October 10, 1936 in Cumberland, Maryland the daughter of John Henry and Bertha Mae Johnson Clingerman. She retired from the Newark Developmental Center. Rosie was a member of the Newark Assembly of God.Mrs. Harvey is survived by three children Donald A. Harvey, Brenda M. Sulkowski and Betty J. Youells; five grandchildren Mark L. (Jessica) Sulkowski, Danielle M. Sulkowski, Corey Youells, Adam T. Youells, and Shayla Y. Youells; seven great-grandchildren Dylan K. Wong, Zachary W. Sulkowski, Taylor R. Serrett, Brayden M. Serrett, Kaylee R. Sulkowski, Chloe Youells, and Isabelle J. Youells; two brothers Addison (Ruth) Clingerman of Ohio, Veron (Ethel) Clingerman of Maryland; two sisters Vernelda (James) Jay of Pennsylvania and Lawana (Gail) McCusker of Maryland.Rosie was predeceased by her husband, William Harvey in 2014, a son, William H. Harvey; two brothers Carrol and Dale Clingerman; a sister, Amelia Messersmith.Arrangements by Weeks-Keysor Funeral Home of Lyons, New Yorkwww.keysorfuneralhomes.com