// // // = 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': 'JBfJsA', '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('N7Seog', googletag.defineSlot('/423686928/prod/obit-aff/obit-standard/clio-logo-1', [[300,100]], 'N7Seog') .setTargeting("clio",escape("STJ")) .setTargeting("ContainerId",escape("N7Seog")) .addService(googletag.pubads())); lago.appendAdSlot('6O7G3A', googletag.defineSlot('/423686928/prod/obit-aff/obit-standard/text-globalnav-1', [[150,40]], '6O7G3A') .setTargeting("ContainerId",escape("6O7G3A")) .addService(googletag.pubads())); lago.appendAdSlot('X8fATQ', googletag.defineSlot('/423686928/prod/obit-aff/obit-standard/text-globalnav-2', [[120,30],[130,30],[140,30],[150,30],[160,30],[170,30],[180,30]], 'X8fATQ') .setTargeting("ContainerId",escape("X8fATQ")) .addService(googletag.pubads())); lago.appendAdSlot('AtKTGw', googletag.defineSlot('/423686928/prod/obit-aff/obit-standard/text-globalnav-3', [[120,30],[130,30],[140,30],[150,30],[160,30],[170,30],[180,30]], 'AtKTGw') .setTargeting("ContainerId",escape("AtKTGw")) .addService(googletag.pubads())); lago.appendAdSlot('jKgfyg', googletag.defineSlot('/423686928/prod/obit-aff/obit-standard/custom-integratedtextlink-1', [[350,15]], 'jKgfyg') .setTargeting("ContainerId",escape("jKgfyg")) .addService(googletag.pubads())); lago.appendAdSlot('yc4qMQ', googletag.defineSlot('/423686928/prod/obit-aff/obit-standard/custom-bottom-1', [[590,340]], 'yc4qMQ') .setTargeting("ContainerId",escape("yc4qMQ")) .addService(googletag.pubads())); lago.appendAdSlot('yitfPQ', googletag.defineSlot('/423686928/prod/obit-aff/obit-standard/custom-right-1', [[300,220],[300,200],[320,185]], 'yitfPQ') .setTargeting("ContainerId",escape("yitfPQ")) .addService(googletag.pubads())); lago.appendAdSlot('aj7wGA', googletag.defineSlot('/423686928/prod/obit-aff/obit-standard/flowers-viewmore-1', [[148,21]], 'aj7wGA') .setTargeting("ContainerId",escape("aj7wGA")) .addService(googletag.pubads())); lago.appendAdSlot('JBfJsA', googletag.defineSlot('/423686928/prod/obit-aff/obit-standard/display-right-1', [[300,250],[300,600]], 'JBfJsA') .setTargeting("ContainerId",escape("JBfJsA")) .addService(googletag.pubads())); // Page-Level key-value googletag.pubads() .setTargeting("gbspon","0") .setTargeting("daysgbx","30") .setTargeting("fn",escape("Carole")) .setTargeting("ln",escape("VanFleet")) .setTargeting("fhid","1") .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("pid","190914863") .setTargeting("gbentries","1") .setTargeting("pymt",escape("paid")) .setTargeting("obittype",escape("standard")) .setTargeting("days","1") .setTargeting("chid","1") .setTargeting("searchfn",escape("1")) .setTargeting("searchln",escape("1")) .setTargeting("fhnote","False"); lago.addPageTarget("gbspon", escape("0")); lago.addPageTarget("daysgbx", escape("30")); lago.addPageTarget("fn", escape("Carole")); lago.addPageTarget("ln", escape("VanFleet")); lago.addPageTarget("fhid", escape("1")); 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("pid", escape("190914863")); lago.addPageTarget("gbentries", escape("1")); lago.addPageTarget("pymt", escape("paid")); lago.addPageTarget("obittype", escape("standard")); lago.addPageTarget("days", escape("1")); lago.addPageTarget("chid", escape("1")); lago.addPageTarget("searchfn", escape("1")); lago.addPageTarget("searchln", escape("1")); lago.addPageTarget("fhnote", escape("False")); googletag.pubads().collapseEmptyDivs(); googletag.enableServices(); }); // ]]> // WOLCOTT Carole M. VanFleet, 76, sadly passed away on December 4, 2018, at Rochester General Hospital with her family by her side.A celebration of life will be held on Saturday (December 8) at 11 a.m. at the Wolcott Presbyterian Church.Contributions in her memory may be made to the St. Jude's Children's Research Hospital // St. Jude Children's Research Hospital, 501 St. Jude Place, Memphis, TN 38105 or to the Wolcott Presbyterian Church, 11988 West Main Street, Wolcott, NY 14590.Carole was born on April 7, 1942 in New Bern, N.C.; the daughter of the late Benjamin T. and Doris M. (Sanders) Moore.Carole graduated from New Bern High School in 1960 and then married and moved to New York with her family in 1962. Her life's work was building a successful apple farm with her husband and raising their family. Carole was a lifetime member of the Wolcott Presbyterian Church where she served as a Deacon. She enjoyed a full and happy life traveling with her husband and spending time with family. She loved gardening, reading, and her family holiday celebrations. Her loving and caring nature will be missed, but her warm spirit will live on in the hearts of all that loved her.She is survived by her daughter, Debra Phillips (Glenn Williams); two sons David (Terry) VanFleet and Ken (Karla) VanFleet; ten grandchildren and four great-grandchildren all of Wolcott, NY; brother, Benjamin (Cheryl) T. Moore Jr. of New Bern, NC and several nieces and nephews.Carole was predeceased by her loving husband of 55 years, Kenneth L. VanFleet; and her sister, Sandra M. Haddock Toler. Arrangements are with Farnsworth-Keysor Funeral Home, North Rose.keysorfuneralhomes.com //