vagntCampaignId=''; vagntLinkInfo=''; vagntFormValues = {SiteName: "Restore Force"} function vagnt_load() { var vascript = document.createElement('script'); vascript.type = "text/javascript"; vascript.src = "//vagnt.com/sd/?siteid=3541"; document.getElementsByTagName('head')[0].appendChild(vascript); } if (window.attachEvent) { setTimeout(vagnt_load, 1); } else if (window.addEventListener) { window.addEventListener("load", vagnt_load, false); }
(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&version=v2.9"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-WDCCPB6'); if(window.location.href.indexOf('areas-served') > -1) { document.querySelector('.site-content').style.padding = "5em"; } !function(){ var allow=[92,4628,4634,3927,4017,3551,4489],on=false,b=document.body; if(b){var m=b.className.match(/page-id-(\d+)/);if(m)for(var i=0;i<allow.length;i++)if(parseInt(m[1])==allow[i]){on=true;break;}} if(!on)return; function e(){var a=c.createElement("script");a.type="text/javascript",a.async=!0,a.src="https://www.titlecapture.com/tcw/tc-widget.php",a.id="tc_widget_js";var b=c.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}var a=window,c=(a.tclp_Option,document),d=function(){d.c(arguments)};d.q={companyId:1452},a.tclp_Option=d,a.attachEvent?a.attachEvent("onload",e):a.addEventListener("load",e,!1);sessionStorage.setItem("tqc", JSON.stringify(tclp_Option.q)); }(); function toggleWidgetVisibility() { const widgetIds = ['tcWidgetBtn', 'tcWidgetTooltip', 'tcWidgetPopup']; widgetIds.forEach((id) => { const widget = document.getElementById(id); if (widget) { const isMobile = window.innerWidth { const allFound = ['tcWidgetBtn', 'tcWidgetTooltip', 'tcWidgetPopup'].every(id => document.getElementById(id) ); const elapsed = Date.now() - start; if (allFound) { toggleWidgetVisibility(); clearInterval(checkExist); } else if (elapsed > maxWait) { clearInterval(checkExist); console.warn('One or more widgets not found — stopped checking after 5s'); } }, 200); } window.addEventListener('load', waitForWidgetsAndToggle); window.addEventListener('resize', toggleWidgetVisibility);