(function (w, d) { w.tsUpdateMetaDescription = function () { var existingTitle = document.querySelector('title').innerText; document.querySelector('title').innerText = "***** Rating: 5.0 - 2 Reviews - " + existingTitle; var existingDesc = document.querySelector('meta[name="description"]').getAttribute("content"); document.querySelector('meta[name="description"]').setAttribute("content", "***** Rating: 5.0 - 2 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 = "Lockforce Reigate"; 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/84747c60-4e95-410d-a5af-109a5314b649.png\",\"image\":[\"https://content.trustist.com/brandlogos/84747c60-4e95-410d-a5af-109a5314b649.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-lockforce-reigate-Reviews-37741.html\"],\"@context\":\"http://schema.org\",\"brand\":{\"@type\":\"Organization\",\"@id\":null,\"description\":null,\"logo\":\"https://content.trustist.com/brandlogos/84747c60-4e95-410d-a5af-109a5314b649.png\",\"image\":[\"https://content.trustist.com/brandlogos/84747c60-4e95-410d-a5af-109a5314b649.png\"],\"name\":\"Lockforce\",\"alternateName\":null,\"hasMap\":null,\"geo\":null,\"telephone\":null,\"url\":\"https://www.lockforce.co.uk/\",\"address\":null,\"branchOf\":null,\"openingHoursSpecification\":null,\"sameAs\":null},\"aggregateRating\":{\"@type\":\"AggregateRating\",\"ratingValue\":5,\"bestRating\":5,\"worstRating\":1,\"reviewCount\":2},\"review\":{\"@type\":\"Review\",\"url\":\"https://www.trustist.com/local-reviews/Review-lockforce-reigate-Reviews-37741.html\",\"author\":{\"@type\":\"Person\",\"name\":\"Mark Sargant\",\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":null,\"addressLocality\":null,\"addressRegion\":null,\"postalCode\":null,\"addressCountry\":null}},\"datePublished\":\"2021-05-14T00:00:00.000Z\",\"headline\":\"\",\"isBasedOn\":null,\"reviewBody\":\"James Payne came to our rescue yesterday.My 93 year old mum ,living on her own in Reigate could not lock her front door, we got the call from her carers who were worried about her safety.I contacted James who quickly went round and got the problem sorted there and then.He adjusted the door frame and changed the faulty worn out lock assembly.many thanks James, I will keep your number and will definitely use you in the future.very professional friendly service from someone Ive never met before.\",\"reviewRating\":{\"@type\":\"Rating\",\"ratingValue\":5,\"bestRating\":5,\"worstRating\":1},\"publisher\":{\"@type\":\"Organization\",\"name\":\"Trustist\",\"sameAs\":\"https://www.trustist.com\"},\"reply\":null,\"replyDate\":null,\"subject\":null},\"mpn\":\"{{url}}\",\"sku\":\"{{url}}\"},{\"@type\":\"LocalBusiness\",\"@id\":\"https://www.trustist.com/local-reviews/Review-lockforce-reigate-Reviews-37741.html\",\"description\":null,\"logo\":\"https://content.trustist.com/brandlogos/84747c60-4e95-410d-a5af-109a5314b649.png\",\"image\":[\"https://content.trustist.com/brandlogos/84747c60-4e95-410d-a5af-109a5314b649.png\"],\"name\":\"Lockforce\",\"alternateName\":\"Lockforce Reigate\",\"hasMap\":null,\"geo\":{\"@type\":\"GeoCoordinates\",\"latitude\":\"\",\"longitude\":\"\"},\"telephone\":\"\",\"url\":\"https://www.lockforce.co.uk/\",\"address\":{\"@type\":\"PostalAddress\",\"streetAddress\":\"\",\"addressLocality\":\"\",\"addressRegion\":null,\"postalCode\":null,\"addressCountry\":null},\"branchOf\":{\"@type\":\"Organization\",\"name\":\"Lockforce\",\"sameAs\":\"https://www.lockforce.co.uk/\"},\"openingHoursSpecification\":[],\"sameAs\":[],\"@context\":\"http://schema.org\",\"aggregateRating\":null,\"review\":null,\"paymentAccepted\":null,\"makesOffer\":null}]"; 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/CXfmbk40dEaqaB2hdjt3Jw/ratingsummary.js'; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); })(window, document);