(function (w, d) { w.tsUpdateMetaDescription = function () { var existingTitle = document.querySelector('title').innerText; document.querySelector('title').innerText = "***** Rating: 5.0 - 39 Reviews - " + existingTitle; var existingDesc = document.querySelector('meta[name="description"]').getAttribute("content"); document.querySelector('meta[name="description"]').setAttribute("content", "***** Rating: 5.0 - 39 Reviews - " + existingDesc); }; var timestamp = document.createElement("meta"); timestamp.setAttribute("name", "ts-timestamp"); timestamp.setAttribute("content", new Date().toLocaleString()); document.head.appendChild(timestamp); if (d.getElementById("ts-json") === null) { var filter = Array.prototype.filter; var productName = "Saint & Forster Darlington"; var title = document.querySelector("title"); if (title === null || title.innerText.match(/^ *$/) !== null) { title = filter.call(d.querySelectorAll('h1'), function (node) { return node.innerText != ""; })[0]; } if (typeof title !== "undefined") { productName = title.innerText; } var json = "[{\"@type\":\"Product\",\"@id\":\"{{url}}#trustist\",\"description\":null,\"logo\":\"https://content.trustist.com/brandlogos/6fa0babf-c7be-4710-8618-1c1c01b4d994.png\",\"image\":[\"https://content.trustist.com/brandlogos/6fa0babf-c7be-4710-8618-1c1c01b4d994.png\"],\"name\":\"{{productName}}\",\"alternateName\":null,\"hasMap\":null,\"geo\":null,\"telephone\":null,\"url\":\"{{url}}\",\"address\":null,\"branchOf\":null,\"openingHoursSpecification\":null,\"sameAs\":[\"https://www.trustist.com/local-reviews/Review-saint-forster-darlington-Reviews-28984.html\"],\"@context\":\"http://schema.org\",\"brand\":{\"@type\":\"Organization\",\"@id\":null,\"description\":null,\"logo\":\"https://content.trustist.com/brandlogos/6fa0babf-c7be-4710-8618-1c1c01b4d994.png\",\"image\":[\"https://content.trustist.com/brandlogos/6fa0babf-c7be-4710-8618-1c1c01b4d994.png\"],\"name\":\"Saint \u0026 Forster\",\"alternateName\":null,\"hasMap\":null,\"geo\":null,\"telephone\":null,\"url\":\"https://www.saintandforster.co.uk/\",\"address\":null,\"branchOf\":null,\"openingHoursSpecification\":null,\"sameAs\":null},\"aggregateRating\":{\"@type\":\"AggregateRating\",\"ratingValue\":5,\"bestRating\":5,\"worstRating\":1,\"reviewCount\":39},\"review\":null,\"mpn\":\"{{url}}\",\"sku\":\"{{url}}\"},{\"@type\":\"LocalBusiness\",\"@id\":\"https://www.trustist.com/local-reviews/Review-saint-forster-darlington-Reviews-28984.html\",\"description\":null,\"logo\":\"https://content.trustist.com/brandlogos/6fa0babf-c7be-4710-8618-1c1c01b4d994.png\",\"image\":[\"https://content.trustist.com/brandlogos/6fa0babf-c7be-4710-8618-1c1c01b4d994.png\"],\"name\":\"Saint \u0026 Forster\",\"alternateName\":\"Saint \u0026 Forster Darlington\",\"hasMap\":\"https://maps.google.com/?cid=2405887895206582312\",\"geo\":{\"@type\":\"GeoCoordinates\",\"latitude\":\"54.545960\",\"longitude\":\"-1.547147\"},\"telephone\":\"01325 485111\",\"url\":\"https://www.saintandforster.co.uk/\",\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":\"5 Thompson St E\",\"addressLocality\":\"Darlington\",\"addressRegion\":\"England\",\"postalCode\":\"DL1 3BA\",\"addressCountry\":\"GB\"},\"branchOf\":{\"@type\":\"Organization\",\"name\":\"Saint \u0026 Forster\",\"sameAs\":\"https://www.saintandforster.co.uk/\"},\"openingHoursSpecification\":[{\"@type\":\"OpeningHoursSpecification\",\"closes\":\"00:00:00\",\"dayOfWeek\":\"http://schema.org/Sunday\",\"opens\":\"00:00:00\"}],\"sameAs\":[\"https://maps.google.com/?cid=2405887895206582312\",\"https://www.yell.com/biz/saint-and-forster-funeral-directors-ltd-darlington-7159395/\"],\"@context\":\"http://schema.org\",\"aggregateRating\":null,\"review\":null,\"paymentAccepted\":null,\"makesOffer\":{\"@type\":\"Offer\",\"@id\":\"#services\",\"itemOffered\":{\"@type\":\"Service\",\"name\":\"Funeral director\",\"url\":\"https://www.saintandforster.co.uk/\",\"areaServed\":[{\"@type\":\"City\",\"name\":\"Darlington\"}]}}}]"; var a = d; var c = a.createElement("script"); c.type = 'application/ld+json'; c.id = 'ts-json'; c.innerText = json .replace(new RegExp("{{url}}", 'g'), w.location.href) .replace("\"{{productName}}\"", JSON.stringify(productName).replace(/[^ -~]+/g, "")); a = a.getElementsByTagName("head")[0]; a.appendChild(c); } var s = document.createElement('script'); s.type = 'text/javascript'; s.defer = true; s.src = 'https://widget.trustist.com/0cGk2q6yt0i7VxwcAbTZlQ/ratingsummary.js'; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); })(window, document);