​Hang Those Christmas Lights Without Messing up Your Roof

class=”no-js” lang=”en” xmlns=”https://www.w3.org/1999/xhtml”>

@media (min-width: 320px) and (max-width: 480px) {
header .header-left .mobile_fastimg{
display: none !important;
}
}

<!—->

<!– –>

<!– –>


<!—->
<!– –>
<!– –>

​Hang Those Christmas Lights Without Messing up Your Roof – Best Access Doors

<!—->

<!—->

document.documentElement.className = document.documentElement.className.replace(‘no-js’, ‘js’);

function browserSupportsAllFeatures() {
return window.Promise
&& window.fetch
&& window.URL
&& window.URLSearchParams
&& window.WeakMap
// object-fit support
&& (‘objectFit’ in document.documentElement.style);
}

function loadScript(src) {
var js = document.createElement(‘script’);
js.src = src;
js.onerror = function () {
console.error(‘Failed to load polyfill script ‘ + src);
};
document.head.appendChild(js);
}

if (!browserSupportsAllFeatures()) {
loadScript(‘https://cdn11.bigcommerce.com/s-73d62/stencil/2119b1f0-76fd-013c-53c4-26f4540b93e5/e/dfb5b320-8c6f-013c-53d8-1ebb31f5a9c6/dist/theme-bundle.polyfills.js’);
}

window.consentManagerTranslations = `{“locale”:”en”,”locales”:{“consent_manager.data_collection_warning”:”en”,”consent_manager.accept_all_cookies”:”en”,”consent_manager.gdpr_settings”:”en”,”consent_manager.data_collection_preferences”:”en”,”consent_manager.manage_data_collection_preferences”:”en”,”consent_manager.use_data_by_cookies”:”en”,”consent_manager.data_categories_table”:”en”,”consent_manager.allow”:”en”,”consent_manager.accept”:”en”,”consent_manager.deny”:”en”,”consent_manager.dismiss”:”en”,”consent_manager.reject_all”:”en”,”consent_manager.category”:”en”,”consent_manager.purpose”:”en”,”consent_manager.functional_category”:”en”,”consent_manager.functional_purpose”:”en”,”consent_manager.analytics_category”:”en”,”consent_manager.analytics_purpose”:”en”,”consent_manager.targeting_category”:”en”,”consent_manager.advertising_category”:”en”,”consent_manager.advertising_purpose”:”en”,”consent_manager.essential_category”:”en”,”consent_manager.esential_purpose”:”en”,”consent_manager.yes”:”en”,”consent_manager.no”:”en”,”consent_manager.not_available”:”en”,”consent_manager.cancel”:”en”,”consent_manager.save”:”en”,”consent_manager.back_to_preferences”:”en”,”consent_manager.close_without_changes”:”en”,”consent_manager.unsaved_changes”:”en”,”consent_manager.by_using”:”en”,”consent_manager.agree_on_data_collection”:”en”,”consent_manager.change_preferences”:”en”,”consent_manager.cancel_dialog_title”:”en”,”consent_manager.privacy_policy”:”en”,”consent_manager.allow_category_tracking”:”en”,”consent_manager.disallow_category_tracking”:”en”},”translations”:{“consent_manager.data_collection_warning”:”We use cookies (and other similar technologies) to collect data to improve your shopping experience.”,”consent_manager.accept_all_cookies”:”Accept All Cookies”,”consent_manager.gdpr_settings”:”Settings”,”consent_manager.data_collection_preferences”:”Website Data Collection Preferences”,”consent_manager.manage_data_collection_preferences”:”Manage Website Data Collection Preferences”,”consent_manager.use_data_by_cookies”:” uses data collected by cookies and JavaScript libraries to improve your shopping experience.”,”consent_manager.data_categories_table”:”The table below outlines how we use this data by category. To opt out of a category of data collection, select ‘No’ and save your preferences.”,”consent_manager.allow”:”Allow”,”consent_manager.accept”:”Accept”,”consent_manager.deny”:”Deny”,”consent_manager.dismiss”:”Dismiss”,”consent_manager.reject_all”:”Reject all”,”consent_manager.category”:”Category”,”consent_manager.purpose”:”Purpose”,”consent_manager.functional_category”:”Functional”,”consent_manager.functional_purpose”:”Enables enhanced functionality, such as videos and live chat. If you do not allow these, then some or all of these functions may not work properly.”,”consent_manager.analytics_category”:”Analytics”,”consent_manager.analytics_purpose”:”Provide statistical information on site usage, e.g., web analytics so we can improve this website over time.”,”consent_manager.targeting_category”:”Targeting”,”consent_manager.advertising_category”:”Advertising”,”consent_manager.advertising_purpose”:”Used to create profiles or personalize content to enhance your shopping experience.”,”consent_manager.essential_category”:”Essential”,”consent_manager.esential_purpose”:”Essential for the site and any requested services to work, but do not perform any additional or secondary function.”,”consent_manager.yes”:”Yes”,”consent_manager.no”:”No”,”consent_manager.not_available”:”N/A”,”consent_manager.cancel”:”Cancel”,”consent_manager.save”:”Save”,”consent_manager.back_to_preferences”:”Back to Preferences”,”consent_manager.close_without_changes”:”You have unsaved changes to your data collection preferences. Are you sure you want to close without saving?”,”consent_manager.unsaved_changes”:”You have unsaved changes”,”consent_manager.by_using”:”By using our website, you’re agreeing to our”,”consent_manager.agree_on_data_collection”:”By using our website, you’re agreeing to the collection of data as described in our “,”consent_manager.change_preferences”:”You can change your preferences at any time”,”consent_manager.cancel_dialog_title”:”Are you sure you want to cancel?”,”consent_manager.privacy_policy”:”Privacy Policy”,”consent_manager.allow_category_tracking”:”Allow [CATEGORY_NAME] tracking”,”consent_manager.disallow_category_tracking”:”Disallow [CATEGORY_NAME] tracking”}}`;

window.lazySizesConfig = window.lazySizesConfig || {};
window.lazySizesConfig.loadMode = 1;

let scriptAddedSearch = false;
$(document).mousemove(function(event){
if (!scriptAddedSearch){
const scriptB = document.createElement(“script”)
scriptB.src = “https://cdn.searchspring.net/search/v3/js/searchspring.catalog.js?oj9wwz”
scriptB.search=”search_query”
document.body.appendChild(scriptB);
scriptAddedSearch=true;
}
});

!function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version=’2.0′;n.queue=[];t=b.createElement(e);t.async=!0;t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,document,’script’,’https://connect.facebook.net/en_US/fbevents.js’);

fbq(‘set’, ‘autoConfig’, ‘false’, ‘184666305389771’);
fbq(‘dataProcessingOptions’, [‘LDU’], 0, 0);
fbq(‘init’, ‘184666305389771’);
fbq(‘set’, ‘agent’, ‘plbigcommerce1.2’, ‘184666305389771’);

function trackEvents() {
var pathName = window.location.pathname;

fbq(‘track’, ‘PageView’, {}, “”);

// Search events start — only fire if the shopper lands on the /search.php page
if (pathName.indexOf(‘/search.php’) === 0 && getUrlParameter(‘search_query’)) {
fbq(‘track’, ‘Search’, {
content_type: ‘product_group’,
content_ids: [],
search_string: getUrlParameter(‘search_query’)
});
}
// Search events end

// Wishlist events start — only fire if the shopper attempts to add an item to their wishlist
if (pathName.indexOf(‘/wishlist.php’) === 0 && getUrlParameter(‘added_product_id’)) {
fbq(‘track’, ‘AddToWishlist’, {
content_type: ‘product_group’,
content_ids: []
});
}
// Wishlist events end

// Lead events start — only fire if the shopper subscribes to newsletter
if (pathName.indexOf(‘/subscribe.php’) === 0 && getUrlParameter(‘result’) === ‘success’) {
fbq(‘track’, ‘Lead’, {});
}
// Lead events end

// Registration events start — only fire if the shopper registers an account
if (pathName.indexOf(‘/login.php’) === 0 && getUrlParameter(‘action’) === ‘account_created’) {
fbq(‘track’, ‘CompleteRegistration’, {}, “”);
}
// Registration events end

// Checkout events start — only fire if the shopper lands on a /checkout* page
if (pathName === ‘/checkout.php’ || /^\/(embedded-)?checkout$/.test(pathName)) {

if (getUrlParameter(‘action’) === ‘process_payment’) {
fbq(‘track’, ‘AddPaymentInfo’);
} else {
fbq(‘track’, ‘InitiateCheckout’);
}
}
// Checkout events end

function getUrlParameter(name) {
var cleanName = name.replace(/[\[]/, ‘\[‘).replace(/[\]]/, ‘\]’);
var regex = new RegExp(‘[\?&]’ + cleanName + ‘=([^&#]*)’);
var results = regex.exec(window.location.search);
return results === null ? ” : decodeURIComponent(results[1].replace(/\+/g, ‘ ‘));
}
}

if (window.addEventListener) {
window.addEventListener(“load”, trackEvents, false)
}

null

!function(){var analytics=window.analytics||[];if(!analytics.initialize)if(analytics.invoked)window.console&&console.error&&console.error(“Segment snippet included twice.”);else{analytics.invoked=!0;analytics.methods=[“trackSubmit”,”trackClick”,”trackLink”,”trackForm”,”pageview”,”identify”,”reset”,”group”,”track”,”ready”,”alias”,”debug”,”page”,”once”,”off”,”on”];analytics.factory=function(t){return function(){var e=Array.prototype.slice.call(arguments);e.unshift(t);analytics.push(e);return analytics}};for(var t=0;t

function initGA4() {
if (typeof subscribeOnBodlEvents === ‘function’) {
subscribeOnBodlEvents(‘G-MQCBMJLMZZ’, ‘dMjk3Nj’);

return true;
}

return false;
}

var eventName = document.readyState === ‘complete’ ? ‘consentScriptsLoaded’ : ‘DOMContentLoaded’;
window.addEventListener(eventName, initGA4, false);

(function () {
var xmlHttp = new XMLHttpRequest();

xmlHttp.open(‘POST’, ‘https://bes.gcp.data.bigcommerce.com/nobot’);
xmlHttp.setRequestHeader(‘Content-Type’, ‘application/json’);
xmlHttp.send(‘{“store_id”:”209182″,”timezone_offset”:”-4″,”timestamp”:”2024-01-05T02:35:03.90103000Z”,”visit_id”:”cb6db33a-7557-48c7-b552-3391849df6db”,”channel_id”:1}’);
})();

var BCData = {“csrf_token”:”14ad713103bc116d9e1f081810ec8da802794e4d1eeee9e78acc84b5cedbf618″};

/*window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());
//gtag(‘config’, ‘G-MQCBMJLMZZ’);
gtag(‘config’, ‘G-MQCBMJLMZZ’, {
‘custom_map’: {‘dimension’: ‘AB_Test_Custom_Size_Page_’}
});
$( document ).ready(function() {
window.ZAB.GAIntegFunc();
});
gtag(‘config’, ‘G-MQCBMJLMZZ’, {
‘custom_map’: {‘dimension’: ‘AB_Test_Custom_Size_Page’}
});
$( document ).ready(function() {
window.ZAB.GAIntegFunc();
});*/

var time_gt=10000;
if($(window).width() > 480){
var time_gt = 3000;
}
setTimeout(function() {
(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-M9XJK2R’);

}, time_gt);

(function(g,e,o,t,a,r,ge,tl,y,s){
t=g.getElementsByTagName(e)[0];y=g.createElement(e);y.async=true;
y.src=’https://geotargetly-api-2.com/gr?id=-MwabEK1KVBpQGDag5-g&refurl=’+g.referrer+’&winurl=’+encodeURIComponent(window.location);
t.parentNode.insertBefore(y,t);
})(document,’script’);

document.addEventListener(‘DOMContentLoaded’, () => {
/** init gtm after 3500 seconds – this could be adjusted */

var timeout_gtm = 10000;
if($(window).width() > 480){
timeout_gtm = 5000;
}
setTimeout(initGTM, timeout_gtm);
});
document.addEventListener(‘scroll’, initGTMOnEvent);
document.addEventListener(‘mousemove’, initGTMOnEvent);
document.addEventListener(‘touchstart’, initGTMOnEvent);
function initGTMOnEvent(event) {
initGTM();
event.currentTarget.removeEventListener(event.type, initGTMOnEvent); // remove the event listener that got triggered
}
function initGTM() {
if (window.gtmDidInit) {
return false;
}
window.gtmDidInit = true; // flag to ensure script does not get added to DOM more than once.
window.dataLayer = window.dataLayer || [];
const script = document.createElement(‘script’);
script.type = ‘text/javascript’;
script.async = true;
// ensure PageViews is always tracked (on script load)
script.onload = () => {
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());
gtag(‘config’, ‘AW-1013573526’);
};
script.src = ‘https://www.googletagmanager.com/gtag/js?id=AW-1013573526’;
document.head.appendChild(script);
}

!function()
{
var geq=window.geq=window.geq||[];
if(geq.initialize)
return;
if (geq.invoked)
{
if (window.console && console.error)
{
console.error(“GE snippet included twice.”);
}return;
}geq.invoked = true;
geq.methods = [“page”, “suppress”, “trackOrder”, “identify”, “addToCart”, “callBack”, “event”];
geq.factory = function(method)
{return function()
{var args = Array.prototype.slice.call(arguments);args.unshift(method);geq.push(args);return geq;};};
for (var i = 0; i < geq.methods.length; i++)
{var key = geq.methods[i];geq[key] = geq.factory(key);}
geq.load = function(key){

setTimeout(function() {

var script = document.createElement("script");
script.type = "text/javascript";
script.async = true;
if (location.href.includes("vge=true"))
{
script.src = "https://s3-us-west-2.amazonaws.com/jsstore/a/" + key + "/ge.js?v=" + Math.random();
}
else {
script.src = "https://s3-us-west-2.amazonaws.com/jsstore/a/" + key + "/ge.js";
}
var first = document.getElementsByTagName("script")[0];
first.parentNode.insertBefore(script, first);
}, 10000);

};

geq.SNIPPET_VERSION = "1.6.1";
geq.load("5N0H2RX");}();

geq.page()

function getUrlParameter(name) {
name = name.replace(/[\[]/, ‘\\[‘).replace(/[\]]/, ‘\\]’);
var regex = new RegExp(‘[\\?&]’ + name + ‘=([^&#]*)’);
var results = regex.exec(location.href);
return results === null ? ” : decodeURIComponent(results[1].replace(/\+/g, ‘ ‘));
}
function setCookieF2(cname, cvalue, exhour) {
const d = new Date();
d.setTime(d.getTime() + (exhour*60*60*1000));
let expires = “expires=”+ d.toUTCString();
console.log(cvalue);
document.cookie = cname + “=” + cvalue + “;” + expires + “;path=/”;
}
function getCookieF2(cname) {
let name = cname + “=”;
let decodedCookie = decodeURIComponent(document.cookie);
let ca = decodedCookie.split(‘;’);
for(let i = 0; i response.json());
};
function addCouponAPI(url, cartId, data) {
return fetch(url + cartId + `/coupons`, {
method: “POST”,
credentials: “same-origin”,
headers: {
“Content-Type”: “application/json”,
},
body: JSON.stringify(data),
})
.then(response => response.json());
};
function couponcodeadded()
{
setCookieF2(“autodiscountApplied”,”CHECKOUT”,1);

setTimeout(function(){ document.location.reload();}, 2000);
}

async function addCouponCode(coupon) {

await getCartAPI(‘/api/storefront/carts’)
.then(data => cartData = data[0]); // Capture parsed data in cartData
var cartId = cartData[‘id’]; // Set Cart ID

addCouponAPI(`/api/storefront/checkouts/`, cartId, {
“couponCode”: coupon
})
.then(couponcodeadded())
.catch(error => console.error(error));
}
/*————————————————————————————————————————-*/
if(autoDiscount!=”” && autoDiscount!=undefined && autoDiscount!=null)
{
console.log(“==> ==> “+autoDiscount);
$(window).bind(“load”, function() {
$(“.coupon-code-add”).hide();
$(“.coupon-code-cancel”).show();
$(“.cart-form.coupon-code”).show();
$(“#couponcode”).val(autoDiscount);
$(“.coupon-form .button–primary”).trigger(“click”);
});
var currentURL = window.location.href;
currentURL = currentURL.toLowerCase();
var position = currentURL.search(“checkout”);

var autoDiscountApplied = getCookieF2(“autodiscountApplied”);
console.log(autoDiscountApplied);
if((autoDiscountApplied==”” || autoDiscountApplied==undefined) && position >=0)
{
addCouponCode(autoDiscount);
}
}

let timeout = 5000;
if($(window).width() > 480){
timeout = 3000;
}

setTimeout(function() {
const scriptE = document.createElement(“script”)
scriptE.src = “https://track.gaconnector.com/gaconnector.js”
document.body.appendChild(scriptE);
setTimeout(function() {
gaconnector2.track(“9a5fe280b8201d7793241bdd9a59e89b”);
},3000);
}, timeout);

(function(g,e,o,t,a,r,ge,tl,y){
s=function(){var def=’geotargetlygeocontent1685603214212_default’,len=g.getElementsByClassName(def).length;
if(len>0){for(i=0;i<len;i++){g.getElementsByClassName(def)[i].style.display='inline';}}};
t=g.getElementsByTagName(e)[0];y=g.createElement(e);
y.async=true;y.src='https://g1584674684.co/gc?winurl='+encodeURIComponent(window.location)+'&refurl='+g.referrer+'&id=-NWply8Ux5yxUf754EPw';
t.parentNode.insertBefore(y,t);y.onerror=function(){s()};
})(document,'script');

/*
document.addEventListener(“DOMContentLoaded”, (event) => {
setTimeout(function() {
// Get the head tag
var head_ID = document.getElementsByTagName(“head”)[0];
// Create script element
var script_element = document.createElement(‘script’);
// Set the script type to JavaScript
script_element.type = ‘text/javascript’;
// External JS file
script_element.src = ‘//scripts.iconnode.com/62083.js’;
head_ID.appendChild(script_element);

}, 10000);
});
*/

window.bodl = JSON.parse(atob(“eyJzZXNzaW9uIjp7ImlkIjoiZWFmNmIxMjktOGViMy00Nzc3LTkxZDctYTM0MDgxNjRjYTZkIiwiZmlyc3RfdG91Y2hfdGltZXN0YW1wIjoiMjAyNC0wMS0wNVQwMjozNTowMyIsImZpcnN0X3RvdWNoX3JlZmVycmFsX3VybCI6Imh0dHBzOi8vd3d3LmJlc3RhY2Nlc3Nkb29ycy5jb20vYmxvZy9oYW5nLXRob3NlLWNocmlzdG1hcy1saWdodHMtd2l0aG91dC1tZXNzaW5nLXVwLXlvdXItcm9vZi8iLCJmaXJzdF90b3VjaF9yZXF1ZXN0X3VybCI6Imh0dHBzOi8vd3d3LmJlc3RhY2Nlc3Nkb29ycy5jb20vYmxvZy9oYW5nLXRob3NlLWNocmlzdG1hcy1saWdodHMtd2l0aG91dC1tZXNzaW5nLXVwLXlvdXItcm9vZi8ifSwic2hvcHBlciI6eyJ2aXNpdG9yX2lkIjoiIiwiY3VzdG9tZXJfaWQiOm51bGwsImVtYWlsIjpudWxsLCJmaXJzdF9uYW1lIjpudWxsLCJsYXN0X25hbWUiOm51bGx9LCJkYXRhX2NvbnNlbnQiOnsiZnVuY3Rpb25hbCI6dHJ1ZSwiYW5hbHl0aWNzIjp0cnVlLCJhZHZlcnRpc2luZyI6dHJ1ZX0sImV2ZW50cyI6W119”));

document.addEventListener(“DOMContentLoaded”, (event) => {
setTimeout(function() {
const scriptA = document.createElement(“script”)
scriptA.src = “https://www.bestaccessdoors.com/content/assets/js/treeview.js”
document.body.appendChild(scriptA);

}, 2000);

});

@font-face {
font-family: ‘Bebas Neue’;
src: url(‘//cdn11.bigcommerce.com/s-73d62/content/fonts/BebasNeueBold.eot’);
src: url(‘//cdn11.bigcommerce.com/s-73d62/content/fonts/BebasNeueBold.eot?#iefix’) format(’embedded-opentype’),
url(‘//cdn11.bigcommerce.com/s-73d62/content/fonts/BebasNeueBold.woff2’) format(‘woff2’),
url(‘//cdn11.bigcommerce.com/s-73d62/content/fonts/BebasNeueBold.woff’) format(‘woff’),
url(‘//cdn11.bigcommerce.com/s-73d62/content/fonts/BebasNeueBold.ttf’) format(‘truetype’),
url(‘//cdn11.bigcommerce.com/s-73d62/content/fonts/BebasNeueBold.svg#BebasNeueBold’) format(‘svg’);
font-weight: bold;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: ‘DCC – Ash’;
src: url(‘//cdn11.bigcommerce.com/s-73d62/content/fonts/DCC-Ash.eot’);
src: url(‘//cdn11.bigcommerce.com/s-73d62/content/fonts/DCC-Ash.eot?#iefix’) format(’embedded-opentype’),
url(‘//cdn11.bigcommerce.com/s-73d62/content/fonts/DCC-Ash.woff2’) format(‘woff2’),
url(‘//cdn11.bigcommerce.com/s-73d62/content/fonts/DCC-Ash.woff’) format(‘woff’),
url(‘//cdn11.bigcommerce.com/s-73d62/content/fonts/DCC-Ash.ttf’) format(‘truetype’),
url(‘//cdn11.bigcommerce.com/s-73d62/content/fonts/DCC-Ash.svg#DCC-Ash’) format(‘svg’);
font-weight: normal;
font-style: normal;
font-display: swap;
}

jQuery(document).ready(function () {
if (jQuery(“body”).hasClass(“ss-page”)) {
jQuery(“.ContentEditor .page-sidebar”).addClass(‘categories-left’);
jQuery(“.ContentEditor .page-content”).addClass(‘categories-right’);
}
});

function callmetrack(){
console.log(“Call Me”);
window.lintrk(‘track’, { conversion_id: 9629220 });
}

ClickCease

<!– Best Access Doors –>

Call Us:
1-800-483-0823

We guarantee that our products will get to you at a moment's notice!

Call Us:
1-800-483-0823

  • Contact Us
  • Order Status
  • Tax Exempt
  • Apply For Credit

×

<!–

Shop by Categories

–>

.blog_tag_wrap .submenu { display: none; }

​Hang Those Christmas Lights Without Messing up Your Roof

​Hang Those Christmas Lights Without Messing up Your Roof

Posted by Best Access Doors on 16th Dec 2020

Finally, it’s December, and we’re already at the end of the year! However, before we end this year, there is still one holiday that many people look forward to– Christmas, just around the corner. It is the perfect time to spend time with family and friends while enjoying the festive decorations. But while this is the most joyous holiday of all, extensive preparations are required. Getting the holiday spirit means buying Christmas presents for your loved ones and friends and decorating your house or business.

One typical Christmas decoration is the use of Christmas lights. However, when it comes to hanging these lights, especially on the roof, there’s a right war and a wrong way that you must bear in mind. Approximately 15,000 injuries are in reports every November and December each year– all of which are related to exterior illumination. It will be a bad thing if you incur an injury while hanging Christmas lights, right? Nobody wants to celebrate their holidays in the hospital, and you certainly don’t want to be the exception.
Best Access Doors is here to provide a few tips on how to stay safe when hanging Christmas lights without messing up your roof.

1. Avoiding Ladder Injuries

It is extremely dangerous to be climbing giant ladders since accidents can happen if you incorrectly use a ladder. It is also the same if you manage to choose the incorrect one for the job at hand. Additionally, it is a must to have someone with you when using a ladder, just in case. Also, always use some common sense to prevent ladder injuries.

2. Use Clips Avoid Damaging The Roof

Hanging Christmas lights can be complete without having to step foot on the roof. However, this would depend on the type of house or building. Accidents can result from loose shingles or tiles, and even wet or icy conditions. The best way is to string them to shingles or gutters using plastic clips bought at local big box stores. Such clips are ideal for easy installation and easy removal of the lights. The good news is, there are a wide array of plastic clips specially designed for safe clipping of Christmas lights that you can find on the market. You can attach them to the gutters or the sides of the home or building. Just be sure to be careful not to pull the channels away from the house or building while you’re working. If you aren’t careful enough, this can change water flow and weaken the
entire roof system. If you opt for regular plastic clips, you have to ensure that they are safe for use on all roofing parts since some aren’t ideal for gutter decorations.

3. Check Your Lights First

Before hanging Christmas lights, you have to go through all of them and look for damaged bulbs or frayed wires. While it is terrible to have malfunctioning light bulbs or wires, having a fire is even worse. It can potentially happen if you don’t inspect all lights both inside and outside your home or commercial building.

4. Never Put Holes in Your Roof

It is never advisable to put holes into any roof. Roofing materials should be watertight and puncturing through them using staples, nails, or tacks. Shingles can be pierced even by the smallest fasteners. Once the roof is punctured, water can infiltrate in the first rain. Roofs and holes will never go together.

5. An Advice Before You Walk

Of course, Best Access Doors does not recommend walking on your roof. After all, this job is a task for professionals who have the right safety equipment. However, if you need to walk on your roof to hang your holiday lights, wear soft, ripping shoes, and always have a spotter on the ground to guide you. Also, prepare the lights even before you get on the roof. It will help you minimize the time that you have to spend up there. Never forget to walk on the “peaks” and not the “valleys” of the roof.

6. Extra Caution When Stepping on Shingles and Tiles

Just like what we mentioned earlier, avoid walking on your roof as much as possible. While it is dangerous to do so in the winter, it can likewise damage your roof. All it takes is one loose tile to end up on the ground and break like Humpty Dumpty. Moreover, pipes are also vulnerable to breaking easily under your feet. The best course of action that you can undertake is to avoid any cracked tiles and stepping on the roof’s troughs. These can all lead to breakage.

7. Don’t Step On Nails and Hammers.

Most people often think that the easiest way to hang Christmas lights is with a few nails and a trusty hammer. Unfortunately, there remains the question of whether your roofing can endure that kind of treatment. The answer is most probably not.

8. Stay Away From the Chimney

The chimney is usually pretty far from the gutters, requiring a bit of a walk. It is best to leave the fireplace without any Christmas lights if you want to protect the roofing system. However, there’s no stopping you if you’re going to decorate Santa’s entrance, so be sure to do it carefully. Furthermore, those plastic blow-up decorations don’t mix well with chimneys. Hence, be sure to place them far away if you don’t want them to melt. It is also noteworthy to be cautious when placing twinkly lights around the chimney, especially when your fireplace is still functional.

9. Ditch Those Miscellaneous Décor

A plywood cutout Santa and his eight tiny reindeers might look cute on your roof, but is it perfect for the place? We don’t think so. If possible, minimize the weight load of your roof. Just skip the big stuff and settle for the brightest lights that you can find. Once the season is over, don’t just yank them out. Take as much care and precaution in removing the lights, just like you did when you hang them up. Be sure to be careful as well when removing the clips or fasteners.

10. Find a way around the roof

Do you know what the best advice there is? It is to be realistic– the best way to protect your roof from getting damaged is to avoid decorating it. There are other options aside from hanging Christmas lights on your roof, such as lawn Christmas decorations that look lovely. It will also save you the issue of climbing up on the roof. But if you insist on decorating your roof with Christmas lights, then the tips above will surely help you.

Parting Words For You

The holidays are a time for relaxation. Our utmost hope is that you enjoy the holidays without having to make a trip to, or worse, stay in the hospital. Following these tips will help keep both yourself and your roof safe and sound during the Christmas season. It is also important to remember this one thing– never go overboard! Overdecorating and overloading your roof can be more of a headache instead of bringing happiness.

We hope that you enjoy the holidays. If you need help or supplies from Best Access Doors, never hesitate to visit us at
www.bestaccessdoors.com today!

  • #Best Access Doors
  • #Christmas Lights
  • #Roof
  • #Tips

Request A Quote

$(“.open_popup”).click(function () {
$(“.share_via_email_blog .popup_main”).children(“.popup_body”).addClass(“popup_body_show”);
//$(“.popup_body”).addClass(“popup_body_show”);

});
$(“.popup_close”).click(function () {
$(“.popup_body”).removeClass(“popup_body_show”);
});
$(“.popup_back”).click(function () {
$(“.popup_body”).removeClass(“popup_body_show”);
});
$(“.open_popup1”).click(function () {
$(“.blog_popup_section .popup_main”).children(“.popup_body”).addClass(“popup_body_show”);
//$(“.popup_body”).addClass(“popup_body_show”);

});

jQuery(window).on(‘load’, function(){
jQuery(“.klaviyo-form-UwkVh5 form input”).each(function(){
var thistext = jQuery(this).attr(“aria-label”);
if(thistext == “Current Blog Page”)
{
jQuery(this).attr(“id”,”blogposturl”);
jQuery(this).css(“opacity”, 0);
jQuery(this).css(“height”, 10);
}
});

});
$(“.open_popup”).click(function () {
var current_url = window.location.href;
jQuery(“.klaviyo-form-UwkVh5 form input”).each(function(){
var thistext = jQuery(this).attr(“aria-label”);
console.log(current_url);
if(thistext == “Current Blog Page”)
{

console.clear();

jQuery(this).attr(“id”,”blogposturl”);
jQuery(this).css(“opacity”, 0);
jQuery(this).css(“height”, 10);
changeValue(document.getElementById(“blogposturl”),current_url+” “,true);
}
});
});

function changeValue(input, value, fireEvent)
{

if (typeof value == “undefined” || value == “undefined”) {
return;
}
var nativeInputValueSetter = Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,”value”).set;
nativeInputValueSetter.call(input, value);
if (fireEvent) {
var inputEvent = new Event(“input”, { bubbles: true });
input.dispatchEvent(inputEvent);
} else {
window._address = value;
}
}
window.onbeforeunload = function () {
if (!window._address) {
return;
}

}

<!–

–>
<!–

Join the Conversation

–>
<!–

–>
<!–

Amanda

–>
<!– 05.04.2021–>
<!–

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

–>
<!–

–>
<!–

–>
<!–

Amanda

–>
<!– 05.04.2021–>
<!–

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

–>
<!–

–>
<!–

–>
<!–

Amanda

–>
<!– 05.04.2021–>
<!–

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

–>
<!–

–>
<!–

–>
<!–

Add your comment…

–>
<!–

–>

<!–

–>

<!–

–>
<!–

–>

Related BLOG POSTS

How Can a Laundry Chute Reduce Wear and Tear on Building Elevators?
READ MORE
<!–
How Can a Laundry Chute Reduce Wear and Tear on Building Elevators?

Posted by Best Access Doors on 11th Nov 2020

3rd Jan 2024

READ MORE

–>

Gain Professional Insights On How to Install a Roof Hatch
READ MORE
<!–
Gain Professional Insights On How to Install a Roof Hatch

Posted by Best Access Doors on 11th Nov 2020

27th Dec 2023

READ MORE

–>

Strengthen Your Commercial Building with the Power of Welded Aluminum
READ MORE
<!–
Strengthen Your Commercial Building with the Power of Welded Aluminum

Posted by Best Access Doors on 11th Nov 2020

20th Dec 2023

READ MORE

–>

How Can Hotel Maintenance Efficiency Be Improved?
READ MORE
<!–
How Can Hotel Maintenance Efficiency Be Improved?

Posted by Best Access Doors on 11th Nov 2020

13th Dec 2023

READ MORE

–>

Related Products

<!–

  • How-To’s
  • Tips
  • Guides
  • Pros & Cons
  • Best Of
  • Lists

–>

document.getElementById(“copyright_year”).innerHTML=new Date().getFullYear();

window.__webpack_public_path__ = “https://cdn11.bigcommerce.com/s-73d62/stencil/2119b1f0-76fd-013c-53c4-26f4540b93e5/e/dfb5b320-8c6f-013c-53d8-1ebb31f5a9c6/dist/”;

function onThemeBundleMain() {
window.stencilBootstrap(“blog_post”, “{\”zoomSize\”:\”1280×1280\”,\”productSize\”:\”500×659\”,\”genericError\”:\”Oops! Something went wrong.\”,\”urls\”:{\”home\”:\”https://www.bestaccessdoors.com/\”,\”account\”:{\”index\”:\”/account.php\”,\”orders\”:{\”all\”:\”/account.php?action=order_status\”,\”completed\”:\”/account.php?action=view_orders\”,\”save_new_return\”:\”/account.php?action=save_new_return\”},\”update_action\”:\”/account.php?action=update_account\”,\”returns\”:\”/account.php?action=view_returns\”,\”addresses\”:\”/account.php?action=address_book\”,\”inbox\”:\”/account.php?action=inbox\”,\”send_message\”:\”/account.php?action=send_message\”,\”add_address\”:\”/account.php?action=add_shipping_address\”,\”wishlists\”:{\”all\”:\”/wishlist.php\”,\”add\”:\”/wishlist.php?action=addwishlist\”,\”edit\”:\”/wishlist.php?action=editwishlist\”,\”delete\”:\”/wishlist.php?action=deletewishlist\”},\”details\”:\”/account.php?action=account_details\”,\”recent_items\”:\”/account.php?action=recent_items\”,\”payment_methods\”:{\”all\”:\”/account.php?action=payment_methods\”}},\”brands\”:\”https://www.bestaccessdoors.com/brands/\”,\”gift_certificate\”:{\”purchase\”:\”/giftcertificates.php\”,\”redeem\”:\”/giftcertificates.php?action=redeem\”,\”balance\”:\”/giftcertificates.php?action=balance\”},\”auth\”:{\”login\”:\”/login.php\”,\”check_login\”:\”/login.php?action=check_login\”,\”create_account\”:\”/login.php?action=create_account\”,\”save_new_account\”:\”/login.php?action=save_new_account\”,\”forgot_password\”:\”/login.php?action=reset_password\”,\”send_password_email\”:\”/login.php?action=send_password_email\”,\”save_new_password\”:\”/login.php?action=save_new_password\”,\”logout\”:\”/login.php?action=logout\”},\”product\”:{\”post_review\”:\”/postreview.php\”},\”cart\”:\”/cart.php\”,\”checkout\”:{\”single_address\”:\”/checkout\”,\”multiple_address\”:\”/checkout.php?action=multiple\”},\”rss\”:{\”products\”:{\”new\”:\”/rss.php?type=rss\”,\”new_atom\”:\”/rss.php?type=atom\”,\”popular\”:\”/rss.php?action=popularproducts&type=rss\”,\”popular_atom\”:\”/rss.php?action=popularproducts&type=atom\”,\”featured\”:\”/rss.php?action=featuredproducts&type=rss\”,\”featured_atom\”:\”/rss.php?action=featuredproducts&type=atom\”,\”search\”:\”/rss.php?action=searchproducts&type=rss\”,\”search_atom\”:\”/rss.php?action=searchproducts&type=atom\”},\”blog\”:\”/rss.php?action=newblogs&type=rss\”,\”blog_atom\”:\”/rss.php?action=newblogs&type=atom\”},\”contact_us_submit\”:\”/pages.php?action=sendContactForm\”,\”search\”:\”/search.php\”,\”compare\”:\”/compare\”,\”sitemap\”:\”/sitemap.php\”,\”subscribe\”:{\”action\”:\”/subscribe.php\”}},\”secureBaseUrl\”:\”https://www.bestaccessdoors.com\”,\”cartId\”:null,\”template\”:\”pages/blog-post\”,\”validationDictionaryJSON\”:\”{\\\”locale\\\”:\\\”en\\\”,\\\”locales\\\”:{\\\”validation_messages.valid_email\\\”:\\\”en\\\”,\\\”validation_messages.password\\\”:\\\”en\\\”,\\\”validation_messages.password_match\\\”:\\\”en\\\”,\\\”validation_messages.invalid_password\\\”:\\\”en\\\”,\\\”validation_messages.field_not_blank\\\”:\\\”en\\\”,\\\”validation_messages.certificate_amount\\\”:\\\”en\\\”,\\\”validation_messages.certificate_amount_range\\\”:\\\”en\\\”,\\\”validation_messages.price_min_evaluation\\\”:\\\”en\\\”,\\\”validation_messages.price_max_evaluation\\\”:\\\”en\\\”,\\\”validation_messages.price_min_not_entered\\\”:\\\”en\\\”,\\\”validation_messages.price_max_not_entered\\\”:\\\”en\\\”,\\\”validation_messages.price_invalid_value\\\”:\\\”en\\\”,\\\”validation_messages.invalid_gift_certificate\\\”:\\\”en\\\”},\\\”translations\\\”:{\\\”validation_messages.valid_email\\\”:\\\”You must enter a valid email.\\\”,\\\”validation_messages.password\\\”:\\\”You must enter a password.\\\”,\\\”validation_messages.password_match\\\”:\\\”Your passwords do not match.\\\”,\\\”validation_messages.invalid_password\\\”:\\\”Passwords must be at least 7 characters and contain both alphabetic and numeric characters.\\\”,\\\”validation_messages.field_not_blank\\\”:\\\” field cannot be blank.\\\”,\\\”validation_messages.certificate_amount\\\”:\\\”You must enter a gift certificate amount.\\\”,\\\”validation_messages.certificate_amount_range\\\”:\\\”You must enter a certificate amount between [MIN] and [MAX]\\\”,\\\”validation_messages.price_min_evaluation\\\”:\\\”Min. price must be less than max. price.\\\”,\\\”validation_messages.price_max_evaluation\\\”:\\\”Min. price must be less than max. price.\\\”,\\\”validation_messages.price_min_not_entered\\\”:\\\”Min. price is required.\\\”,\\\”validation_messages.price_max_not_entered\\\”:\\\”Max. price is required.\\\”,\\\”validation_messages.price_invalid_value\\\”:\\\”Input must be greater than 0.\\\”,\\\”validation_messages.invalid_gift_certificate\\\”:\\\”Please enter your valid certificate code.\\\”}}\”,\”validationFallbackDictionaryJSON\”:\”{\\\”locale\\\”:\\\”en\\\”,\\\”locales\\\”:{\\\”validation_fallback_messages.valid_email\\\”:\\\”en\\\”,\\\”validation_fallback_messages.password\\\”:\\\”en\\\”,\\\”validation_fallback_messages.password_match\\\”:\\\”en\\\”,\\\”validation_fallback_messages.invalid_password\\\”:\\\”en\\\”,\\\”validation_fallback_messages.field_not_blank\\\”:\\\”en\\\”,\\\”validation_fallback_messages.certificate_amount\\\”:\\\”en\\\”,\\\”validation_fallback_messages.certificate_amount_range\\\”:\\\”en\\\”,\\\”validation_fallback_messages.price_min_evaluation\\\”:\\\”en\\\”,\\\”validation_fallback_messages.price_max_evaluation\\\”:\\\”en\\\”,\\\”validation_fallback_messages.price_min_not_entered\\\”:\\\”en\\\”,\\\”validation_fallback_messages.price_max_not_entered\\\”:\\\”en\\\”,\\\”validation_fallback_messages.price_invalid_value\\\”:\\\”en\\\”,\\\”validation_fallback_messages.invalid_gift_certificate\\\”:\\\”en\\\”},\\\”translations\\\”:{\\\”validation_fallback_messages.valid_email\\\”:\\\”You must enter a valid email.\\\”,\\\”validation_fallback_messages.password\\\”:\\\”You must enter a password.\\\”,\\\”validation_fallback_messages.password_match\\\”:\\\”Your passwords do not match.\\\”,\\\”validation_fallback_messages.invalid_password\\\”:\\\”Passwords must be at least 7 characters and contain both alphabetic and numeric characters.\\\”,\\\”validation_fallback_messages.field_not_blank\\\”:\\\” field cannot be blank.\\\”,\\\”validation_fallback_messages.certificate_amount\\\”:\\\”You must enter a gift certificate amount.\\\”,\\\”validation_fallback_messages.certificate_amount_range\\\”:\\\”You must enter a certificate amount between [MIN] and [MAX]\\\”,\\\”validation_fallback_messages.price_min_evaluation\\\”:\\\”Min. price must be less than max. price.\\\”,\\\”validation_fallback_messages.price_max_evaluation\\\”:\\\”Min. price must be less than max. price.\\\”,\\\”validation_fallback_messages.price_min_not_entered\\\”:\\\”Min. price is required.\\\”,\\\”validation_fallback_messages.price_max_not_entered\\\”:\\\”Max. price is required.\\\”,\\\”validation_fallback_messages.price_invalid_value\\\”:\\\”Input must be greater than 0.\\\”,\\\”validation_fallback_messages.invalid_gift_certificate\\\”:\\\”Please enter your valid certificate code.\\\”}}\”,\”validationDefaultDictionaryJSON\”:\”{\\\”locale\\\”:\\\”en\\\”,\\\”locales\\\”:{\\\”validation_default_messages.valid_email\\\”:\\\”en\\\”,\\\”validation_default_messages.password\\\”:\\\”en\\\”,\\\”validation_default_messages.password_match\\\”:\\\”en\\\”,\\\”validation_default_messages.invalid_password\\\”:\\\”en\\\”,\\\”validation_default_messages.field_not_blank\\\”:\\\”en\\\”,\\\”validation_default_messages.certificate_amount\\\”:\\\”en\\\”,\\\”validation_default_messages.certificate_amount_range\\\”:\\\”en\\\”,\\\”validation_default_messages.price_min_evaluation\\\”:\\\”en\\\”,\\\”validation_default_messages.price_max_evaluation\\\”:\\\”en\\\”,\\\”validation_default_messages.price_min_not_entered\\\”:\\\”en\\\”,\\\”validation_default_messages.price_max_not_entered\\\”:\\\”en\\\”,\\\”validation_default_messages.price_invalid_value\\\”:\\\”en\\\”,\\\”validation_default_messages.invalid_gift_certificate\\\”:\\\”en\\\”},\\\”translations\\\”:{\\\”validation_default_messages.valid_email\\\”:\\\”You must enter a valid email.\\\”,\\\”validation_default_messages.password\\\”:\\\”You must enter a password.\\\”,\\\”validation_default_messages.password_match\\\”:\\\”Your passwords do not match.\\\”,\\\”validation_default_messages.invalid_password\\\”:\\\”Passwords must be at least 7 characters and contain both alphabetic and numeric characters.\\\”,\\\”validation_default_messages.field_not_blank\\\”:\\\”The field cannot be blank.\\\”,\\\”validation_default_messages.certificate_amount\\\”:\\\”You must enter a gift certificate amount.\\\”,\\\”validation_default_messages.certificate_amount_range\\\”:\\\”You must enter a certificate amount between [MIN] and [MAX]\\\”,\\\”validation_default_messages.price_min_evaluation\\\”:\\\”Min. price must be less than max. price.\\\”,\\\”validation_default_messages.price_max_evaluation\\\”:\\\”Min. price must be less than max. price.\\\”,\\\”validation_default_messages.price_min_not_entered\\\”:\\\”Min. price is required.\\\”,\\\”validation_default_messages.price_max_not_entered\\\”:\\\”Max. price is required.\\\”,\\\”validation_default_messages.price_invalid_value\\\”:\\\”Input must be greater than 0.\\\”,\\\”validation_default_messages.invalid_gift_certificate\\\”:\\\”Please enter your valid certificate code.\\\”}}\”,\”carouselArrowAndDotAriaLabel\”:\”Go to slide [SLIDE_NUMBER] of [SLIDES_QUANTITY]\”,\”carouselActiveDotAriaLabel\”:\”active\”,\”carouselContentAnnounceMessage\”:\”You are currently on slide [SLIDE_NUMBER] of [SLIDES_QUANTITY]\”,\”maintenanceModeSettings\”:[],\”adminBarLanguage\”:\”{\\\”locale\\\”:\\\”en\\\”,\\\”locales\\\”:{},\\\”translations\\\”:{}}\”,\”channelId\”:1}”).load();

function browserSupportsFormData() {
return typeof FormData !== ‘undefined’
&& !!FormData.prototype.keys;
}
function loadFormDataPolyfillScript(src) {
var formDataPolyfillScript = document.createElement(‘script’);
formDataPolyfillScript.src = src;
formDataPolyfillScript.onerror = function () {
console.error(‘Failed to load formData polyfill script ‘ + src);
};
document.body.appendChild(formDataPolyfillScript);
}

if (!browserSupportsFormData()) {
loadFormDataPolyfillScript(‘https://cdn11.bigcommerce.com/s-73d62/stencil/2119b1f0-76fd-013c-53c4-26f4540b93e5/e/dfb5b320-8c6f-013c-53d8-1ebb31f5a9c6/dist/theme-bundle.polyfill_form_data.js’);
}
}

<!– –>

window.pagesense = window.pagesense || [];
window.pagesense.push([‘trackRevenue’,’qa2pyDo’, ‘%%ORDER_AMOUNT%%’]);

jQuery.fn.exists = function(){return this.length>0;}
jQuery(window).on(‘load’, function(){
setTimeout(function() {
if (jQuery(‘#gt_redirectpopup_1645620295358_container’).exists()) {
jQuery(‘body’).addClass(‘geo_ca_redirect_popup’);
} else {
jQuery(‘body’).removeClass(‘geo_ca_redirect_popup’);
}
},2000);
});

jQuery(document).ready(function () {
jQuery(“#taxexemptbtn”).click(function () {
console.log(“taxexemptbtn login”) ;
jQuery(“#exemption-details”).hide();
jQuery(“#tax-exempt-login-page”).show();
jQuery(“div#tax-exempt-login-page”).attr(‘style’, ‘display: block !important’);
jQuery(“.tax-login-redirect-link”).attr(‘style’, ‘display: block !important’);

var url = window.location.href;
var hashes = url.split(“?”)[1];
console.log(hashes);
if(hashes){
var param_value = hashes.substring(9, 25);
console.log(param_value)
if(param_value == “taxformsubmitbtn”){
jQuery(“#tax-exempt-login-page”).hide();
}
}
});
});

jQuery(document).ready(function () {
jQuery(“.plumber-landing-page .banner-construction form input.first-name”).attr(“placeholder”, “First Name”);
jQuery(“.plumber-landing-page .banner-construction form input.last-name”).attr(“placeholder”, “Last Name”);
jQuery(“.plumber-landing-page .banner-construction form input.tel”).attr(“placeholder”, “Mobile Phone”);
jQuery(“.plumber-landing-page .banner-construction form input.email”).attr(“placeholder”, “Email”);

jQuery(“.ebook form.download-e-book input#Name”).attr(“placeholder”, “Name”);
jQuery(“.ebook form.download-e-book input#Email”).attr(“placeholder”, “Email”);
});

function openNav() {
document.getElementById(“mySidenav”).style.width = “250px”;
}

function closeNav() {
document.getElementById(“mySidenav”).style.width = “0”;
}

// jQuery(‘body’).on(‘click’, function(event){
// if (event.target.matches(‘.hitarea’) != true) {
// if( parseInt( jQuery(‘#mySidenav’).css(‘width’) ) > 0 ){
// closeNav();
// }
// }
// });

// === SMOOTH SCROLLING EXTERNAL ANCHOR //
(function($){
if (window.location.hash) {
var urlHash = window.location.href.split(“#”)[1];
if(urlHash == ‘shipping’){
$(‘html,body’).animate({
scrollTop: $(‘.’ + urlHash + ‘, #’ + urlHash +’,[name=’+urlHash+’]’).first().offset().top-10
}, 1000);
} else {
$(‘html,body’).animate({
scrollTop: $(‘.’ + urlHash + ‘, #’ + urlHash +’,[name=’+urlHash+’]’).first().offset().top-10
}, 1000);
}
}
})(jQuery);
// === SMOOTH SCROLLING LOCAL ANCHOR //
$(‘a[href*=”#”]’)
// Remove links that don’t actually link to anything
.not(‘[href=”#”]’)
.not(‘[href=”#0″]’)
.click(function(event) {
// On-page links
if (
location.pathname.replace(/^\//, ”) == this.pathname.replace(/^\//, ”)
&&
location.hostname == this.hostname
) {
// Figure out element to scroll to
var target = $(this.hash);
target = target.length ? target : $(‘[name=’ + this.hash.slice(1) + ‘]’);
// Does a scroll target exist?
if (target.length) {
// Only prevent default if animation is actually gonna happen
event.preventDefault();
$(‘html, body’).animate({
scrollTop: target.offset().top-10
}, 1000, function() {
// Callback after animation
// Must change focus!
var $target = $(target);
$target.focus();
if ($target.is(“:focus”)) { // Checking if the target was focused
return false;
} else {
$target.attr(‘tabindex’,’-1′); // Adding tabindex for elements not focusable
$target.focus(); // Set focus again
};
});
}
}
});

$(document).ready(function(){
jQuery(“.categories-section .categories-left .sidebarBlock ul.navList li.toplevel .navPages-action-moreIcon”).click(function(){
jQuery(this).siblings(‘.navPage-subMenu’).slideToggle(“slow”);
jQuery(this).toggleClass(“Iconopen”);
jQuery(this).siblings(‘.navPage-subMenu’).toggleClass(“open”);
jQuery(this).parent().toggleClass(“active”);
});
});

jQuery(window).on(‘load’, function(){
jQuery(“.header-menu .navigation ul.nav”).each(function() {
var defaultItem = jQuery(this).find(“.active”).first();

jQuery(this).find(“li”).hover(function() {
defaultItem.toggleClass(‘active’, false);
jQuery(this).toggleClass(‘active’, true);
}, function() {
jQuery(this).toggleClass(‘active’, false);
defaultItem.toggleClass(‘active’, true);
});
});
});

jQuery(window).on(‘load’, function(){
jQuery(“.instapopup_wrap form button”).click(function(){
var insta_popup_email = jQuery(‘.instapopup_wrap form input[name=”email”]’).val();
if(insta_popup_email == ”){
console.log(‘insta_popup_emailinsta_popup_email’);
} else {
jQuery(“.popup_body.instafirst_popupbody”).removeClass(“popup_body_show”);
jQuery(“.popup_main.insta_second_popup”).children(“.popup_body”).addClass(“popup_body_show”);
}
});
});

jQuery(window).on(‘load’, function(){
jQuery(document).click(function(event) {
var text = jQuery(event.target).text();
//console.log(text);
jQuery(event.target).css(‘cursor’, ‘pointer’);
if(text == “COPY THE CODE”){
//console.log(‘Hello’);
jQuery(event.target).css(‘cursor’, ‘pointer’);
copyToClipboard(‘DOOR5’);
jQuery(event.target).text(“CODE COPIED”);
}
});
});

function copyToClipboard(text) {
var selected = false;
var el = document.createElement(‘textarea’);
el.value = text;
el.setAttribute(‘readonly’, ”);
el.style.position = ‘absolute’;
el.style.left = ‘-9999px’;
document.body.appendChild(el);
if (document.getSelection().rangeCount > 0) {
selected = document.getSelection().getRangeAt(0)
}
el.select();
document.execCommand(‘copy’);
document.body.removeChild(el);
if (selected) {
document.getSelection().removeAllRanges();
document.getSelection().addRange(selected);
}
};
jQuery(window).on(‘load’, function(){
jQuery(“#cp_btn”).click(function(){
copy_password();
});
});
function copy_password() {
var copyText = document.getElementById(“pwd_spn”);
if (copyText.length) {
var textArea = document.createElement(“textarea”);
textArea.value = copyText.textContent;
document.body.appendChild(textArea);
textArea.select();
document.execCommand(“Copy”);
textArea.remove();
var tooltip = document.getElementById(“cp_btn”);
tooltip.innerHTML = “Code copied”;
}

// setTimeout(function () {
// tooltip.innerHTML = “Copy the Code”;
// }, 1000)
}

jQuery(window).on(‘load’, function(){
var current_url = window.location.href;
//console.log(current_url);
if(current_url == “https://www.bestaccessdoors.com/about-us/”){
jQuery(“.aboutus_popup .popup_body.applytodayfirst_popupbody “).addClass(“popup_body_show”);
}
});

jQuery(window).on(‘load’, function(){
// jQuery(“.apply_email_signup .klaviyo_messages .success_message”).hide();
// jQuery(“.klaviyo-form-TauBfS form button”).click(function(){
// //console.log(‘helloqqqq’);
// var apply_today_email = jQuery(‘.apply_today_form .klaviyo-form-TauBfS form input[name=”email”]’).val();
// // jQuery(“.apply_email_signup .klaviyo_messages”).html(“”);
// // jQuery(“.apply_email_signup .klaviyo_messages”).show();
// jQuery(“.apply_email_signup .klaviyo_messages .success_message”).hide();
// console.log(apply_today_email);
// if(apply_today_email ==”){

// } else {

// jQuery(“.popup_body.applytodayfirst_popupbody”).removeClass(“popup_body_show”);
// jQuery(“.popup_main.applytoday_second”).children(“.popup_body”).addClass(“popup_body_show”);
// // jQuery(‘.apply_email_signup’)[0].reset();
// setTimeout(function(){
// jQuery(‘.apply_today_form .klaviyo-form-TauBfS form input[name=”email”]’).css(“display”, “”);
// jQuery(‘.apply_email_signup .klaviyo_form_actions’).css(“display”, “”);
// jQuery(“.apply_email_signup .klaviyo_messages .success_message”).hide();
// }, 2000);

// }
// });
jQuery(“.popup_close”).click(function () {
jQuery(“.popup_body”).removeClass(“popup_body_show”);
});

jQuery(“.nothanks_button”).click(function () {
jQuery(“.popup_body”).removeClass(“popup_body_show”);
});
jQuery(“.popup_back”).click(function () {
jQuery(“.popup_body”).removeClass(“popup_body_show”);
});
});

jQuery(window).on(‘load’, function(){
var url = window.location.href;
var hashes = url.split(“?”)[1];
//console.log(hashes);
if(hashes){
var param_value = hashes.substring(0, 4);
if(param_value == “_ke=”){
jQuery(“.Popup-section .Popup_cart.abandonedcartthanks_popup”).addClass(“popup_body_show”);
}
} else {
jQuery(“.abandonedcart_popup .popup_body.cartfirst1_popupbody”).addClass(“popup_body_show”);
}
});

jQuery(window).on(‘load’, function(){
function getQueryVariable(parameter) {
var searchString = window.location.search.substring(1);
var params = searchString.split(‘&’);
for (var i = 0; i < params.length; i++) {
var pair = params[i].split('=');
if (decodeURIComponent(pair[0]) == parameter) {
return decodeURIComponent(pair[1]);
}
}
}
if (jQuery("body").hasClass("ss-page")) {
jQuery(".ContentEditor .page-sidebar").addClass('categories-left');
jQuery(".ContentEditor .page-content").addClass('categories-right');
var keyword = getQueryVariable('search_query');
// console.log(keyword);
// jQuery(".page-heading.search_heading .search_query_title").text(keyword)
setTimeout(function(){
jQuery(".ContentEditor .page-content.categories-right #searchspring-content").before('

‘);
}, 2000);
}
});
jQuery(window).on(‘load’, function(){
jQuery(“.best_catalog_popup .no_thanks_btn”).click(function(){
//console.log(‘Helloooooooooooooooooooo’);
jQuery(“.best_catalog_popup .close_btn”).trigger(“click”);
});
});

function explode_class(){
jQuery(“.ss-page.search .ContentEditor .page-content div.ss-no-results”).parent().parent().parent().parent().parent().parent().parent().addClass(‘search_content_wrap’);
}
function explode_class_hide(){
jQuery(“.ss-page.search .ContentEditor .page-content div.ss-no-results”).parent().parent().parent().parent().parent().parent().parent().find(‘.inner-breadcrumbs.breadcrumbs_wrap’).hide();
jQuery(”).insertAfter(“.ContentEditor .ss-contact.ss-email”);
}
jQuery(window).on(‘load’, function(){
setTimeout(explode_class, 500);
setTimeout(explode_class_hide, 2500);
});

$(window).scroll(function(){
if ($(this).scrollTop() > 10) {
$(‘header.main_header’).addClass(‘fixed-header’);
} else {
$(‘header.main_header’).removeClass(‘fixed-header’);
}
});

$(“.cart-box .search_icon”).click(function(){
$(“.header-bottom .Search-products-mobile”).toggle(“slow”);
});

/////////////////////////match-height//////////////////////////////////
equalheight = function(container){
var currentTallest = 0,
currentRowStart = 0,
rowDivs = new Array(),
$el,
topPosition = 0;
jQuery(container).each(function() {
$el = jQuery(this);
jQuery($el).height(‘auto’)
topPostion = $el.position().top;
if (currentRowStart != topPostion) {
for (currentDiv = 0 ; currentDiv < rowDivs.length ; currentDiv++) {
rowDivs[currentDiv].height(currentTallest);
}
rowDivs.length = 0; // empty the array
currentRowStart = topPostion;
currentTallest = $el.height();
rowDivs.push($el);
} else {
rowDivs.push($el);
currentTallest = (currentTallest < $el.height()) ? ($el.height()) : (currentTallest);
}

for (currentDiv = 0 ; currentDiv < rowDivs.length ; currentDiv++) {
rowDivs[currentDiv].height(currentTallest);
}

});
}

jQuery(window).on('load', function(){
equalheight('.ProductDetail-PageContent .productView-description1 .product_descbox');
equalheight('.Trending-now .productCarousel .card .card-body');
equalheight('.categories-section ul.productGrid li.product .card .card-body');
equalheight('.electrician-landing-page .choose-the-right-door-for-your-specific-needs .landing-row .landing-col .title');
equalheight('.categories-section .categories-right .categories_list .subCategoriesBox .navList-action .subCategoryList');
equalheight('.drywall-landing-page .choose-the-right-door-for-your-specific-needs .landing-row .landing-col .title');
equalheight('.type-new_blog_post .new_blog_wrap .new_blog_sidebar .blog_best_seller .blog_bestseller ul.productGrid li.product .card .card-body');
equalheight('.home-page .servicesbox .box .serviceitem');
});

jQuery(window).resize(function(){
equalheight('.ProductDetail-PageContent .productView-description1 .product_descbox');
equalheight('.Trending-now .productCarousel .card .card-body');
equalheight('.categories-section ul.productGrid li.product .card .card-body');
equalheight('.electrician-landing-page .choose-the-right-door-for-your-specific-needs .landing-row .landing-col .title');
equalheight('.categories-section .categories-right .categories_list .subCategoriesBox .navList-action .subCategoryList');
equalheight('.drywall-landing-page .choose-the-right-door-for-your-specific-needs .landing-row .landing-col .title');
equalheight('.type-new_blog_post .new_blog_wrap .new_blog_sidebar .blog_best_seller .blog_bestseller ul.productGrid li.product .card .card-body');
equalheight('.home-page .servicesbox .box .serviceitem');
});

$(document).ready(function(){var t=[];setInterval(function(){0==$(“.cusSizeOpt”).length&&($(‘

  • Select Size
  • ‘).appendTo($(“ul.inlineList.inlineList–labels.nofilter”)),1==$(“.cusSizeOpt”).length&&($(“.productGrid .card-title a”).each(function(e){var i=$(this).text(),s=i.split(‘”‘);if(i.match(“x”))var l=s.slice(0,2).join(“”).split(” “).join(“”);else if(i.match(“Custom”))l=i.split(“-“)[0];else l=s.slice(0,1).join(“”).split(” “).join(“”);$(this).parents(“.product”).addClass(“”+l),-1!==$.inArray(l,t)||(t.push(l),$(“.cusSizeOpt”).append(“”+l+””))}),$(“select.cusSizeOpt”).change(function(){$(“.filterResult”).removeClass(“filterResult”);var t=$(“.cusSizeOpt option:selected”).val();t.match(“Select Size”)?$(“.productGrid li.product”).show():($(“.productGrid li.product”).hide(),$(“.productGrid li”).each(function(){$(this).attr(“class”).match(t)&&$(this).addClass(“filterResult”)}))})));t=[]},1e3)});

    window.addEventListener(‘DOMContentLoaded’, function () { window.initDataTags([], [], window.analytics, {“channel”:{“id”:1,”name”:”default”,”type”:”default”}}); })

    var $zoho=$zoho || {};
    $zoho.salesiq = $zoho.salesiq || {widgetcode:”2c150bf1a139e8c2cabc91beae093be70662a2745d3b60bf1584e6369df6a2e0fbbe9b40fa794644d1d8b2439b2fa2ac”, values:{},ready:function(){$zoho.salesiq.floatbutton.visible(‘show’);}};
    var timeout2 = 10000;
    if($(window).width() > 480){
    var timeout2 =12000;
    }
    setTimeout(function() {
    var d=document;
    s=d.createElement(“script”);
    s.type=”text/javascript”;
    s.id=”zsiqscript”;
    s.defer=true;
    s.src=”https://salesiq.zoho.com/widget”;
    t=d.getElementsByTagName(“script”)[0];
    t.parentNode.insertBefore(s,t);
    },timeout2);

    jQuery(document).ready(function(){
    jQuery(“.sidenav .mobile-menu-content-block .sidebarBlock h5.sidebarBlock-heading”).click(function(){
    jQuery(this).siblings(“ul”).slideToggle();
    });
    });
    jQuery( “.sidenav .mobile-menu-content-block .sidebarBlock h5.sidebarBlock-heading” ).click(function( event ) {
    event.stopPropagation();
    });

    _linkedin_partner_id = “4054020”;
    window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
    window._linkedin_data_partner_ids.push(_linkedin_partner_id);

    (function(l) {
    if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])};
    window.lintrk.q=[]
    }
    var timeout2 = 5000;
    if($(window).width() > 480){
    timeout2 = 3000;
    }
    document.addEventListener(“DOMContentLoaded”, (event) => {
    setTimeout(function() {
    var s = document.getElementsByTagName(“script”)[0];
    var b = document.createElement(“script”);
    b.type = “text/javascript”;
    b.async = true;
    b.src = “https://snap.licdn.com/li.lms-analytics/insight.min.js”;
    s.parentNode.insertBefore(b, s);})(window.lintrk);
    }, timeout2);
    });

    if(jQuery(window).innerWidth() <= 767) {
    jQuery(".book-img h2").insertBefore(".book-grid");
    }

    jQuery(document).ready(function(e) {
    jQuery(function() {
    jQuery(window).resize(function() {
    if (jQuery(window).width() <= 767) {
    jQuery( ".ebook1 .book-img h2" ).insertBefore( jQuery( ".ebook1 .book-grid" ) );
    }
    }).resize();
    });
    });

    let time_klaviyo = 7500;
    if($(window).width() > 480){
    time_klaviyo = 6500;
    }

    setTimeout(function() {
    const scriptK = document.createElement(“script”)
    scriptK.type = “text/javascript”
    scriptK.async=”true”
    scriptK.src = “https://static.klaviyo.com/onsite/js/klaviyo.js?company_id=Ksb9kg”
    document.body.appendChild(scriptK);
    }, time_klaviyo);

    /*
    jQuery(window).on(‘load’, function(){
    var current_url = window.location.href;
    //console.log(current_url);
    if(current_url == “https://www.bestaccessdoors.com/account.php?action=account_details”){
    jQuery(“.account1 .breadcrumbs_wrap ul li”).last().find(‘a’).text( “Account Settings” );
    }
    });

    $(document).ready(function(){
    $(‘.ProductDetail-PageContent .product-contact h2’).text(‘Request more info about this product’);
    });

    jQuery(“.biggericonn”).after(‘

    X

    ‘),jQuery(document).ready(function(i){i(“.biggericonn”).click(function(){i(this).hide(),i(“#player2″).css({position:”fixed”,width:”90%”,”max-width”:”800px”,”z-index”:”1001″,height:”80%”,”max-height”:”450px”,left:”50%”});var e=i(“#player2”).width()/2,o=i(“#player2”).height()/2,n=i(window).height()/2-o-10,c=n-20,t=i(window).width()/2-e-15;i(“#player2”).css({“margin-left”:”-“+e+”px”,top:n+”px”}),i(“.closeiconn”).css({right:t+”px”,top:c+”px”}),i(“.overlayy”).show(),i(“.closeiconn”).show()}),i(“.overlayy”).click(function(){i(“.biggericonn”).show(),i(this).hide(),i(“.closeiconn”).hide(),i(“#player2”).attr(“style”,” “)}),i(“.closeiconn”).click(function(){i(“.biggericonn”).show(),i(this).hide(),i(“.overlayy”).hide(),i(“#player2”).attr(“style”,” “)})});

    var pageTitle = $(“title”).text();
    var timer=””;
    var isBlurred=false;
    if(pageTitle==’BestAccessDoors – Fire Rated, Drywall Panels and Ceiling Access Panels’){
    $(window).on(“blur”,function() {
    isBlurred = true;

    timer=window.setInterval(function() {
    document.title = document.title == “BestAccessDoors – Fire Rated, Drywall Panels and Ceiling Access Panels” ? “\uD83D\uDC4B Hey, come back!” : “BestAccessDoors – Fire Rated, Drywall Panels and Ceiling Access Panels”;
    }, 1000);
    }).on(“focus”,function() {
    isBlurred = false;
    document.title = this.pageTitle;
    clearInterval(timer);
    });
    }

    jQuery(document).ready(function(){
    if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
    jQuery(‘.videoLinks button’).click(function(){
    jQuery(‘.videoGallery’).css(“zIndex”, ”);
    jQuery(‘.videoGallery video’).css({“zIndex”:”, ‘opacity’: 0});
    //jQuery(‘.video-one, .video-second, .video-third’).pause();
    var getId = jQuery(this).attr(‘id’);
    jQuery(‘.videoList video’).each(function(){
    var getClass = jQuery(this).attr(‘class’);
    if(getId == getClass){
    jQuery(‘.videoGallery’).css(“zIndex”, 502);
    jQuery(this).css({“zIndex”:502, ‘opacity’: 1});
    }
    });
    });

    jQuery(‘.productView-thumbnails’).click(function() {
    jQuery(‘.videoGallery’).css(“zIndex”, ”);
    jQuery(‘.videoGallery video’).css(‘zIndex’, ”);
    jQuery(‘.imgGallery > a’).css(‘zIndex’, 502);
    });
    } else {
    jQuery(‘.videoLinks button’).hover(function(){
    var vlength = jQuery(‘.videoList video’).length;
    for(var i = 0; i a’).css(‘zIndex’, 502);
    });
    }

    });
    */


    <!–

    (function(g,e,o,t,l,y){
    var l=g.getElementsByTagName(e)[0],y=g.createElement(e); y.async=true;
    y.src=’//geo-targetly.com/geobar?id=-M2sDwM0uhCEFyfC6XiL&refurl=’+g.referrer+’&winurl=’+encodeURIComponent(window.location);
    l.parentNode.insertBefore(y,l);
    })(document,’script’,’style’,’head’);

    (function(g,e,o,t,l,y){
    var l=g.getElementsByTagName(e)[0],y=g.createElement(e); y.async=true;
    y.src=’//geo-targetly.com/geobar?id=-M2tYukWTR_g58EeQ2qj&refurl=’+g.referrer+’&winurl=’+encodeURIComponent(window.location);
    l.parentNode.insertBefore(y,l);
    })(document,’script’,’style’,’head’);

    –>

    (function() {
    // CONFIGURATION
    var siteId = “oj9wwz”;
    var storefrontApiToken = “eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjaWQiOjEsImNvcnMiOlsiaHR0cHM6Ly93d3cuYmVzdGFjY2Vzc2Rvb3JzLmNvbSJdLCJlYXQiOjE3MDQ1Mzg5NzEsImlhdCI6MTcwNDM2NjE3MSwiaXNzIjoiQkMiLCJzaWQiOjIwOTE4Miwic3ViIjoiQkMiLCJzdWJfdHlwZSI6MCwidG9rZW5fdHlwZSI6MX0.DNVFwPNFD9za26c7z-6Ur2YN7ghP06CRyBYTTa3CBxqL7sa66ZkaWP39nf1gSxn55DLus_0ATia1Yv5QC-CqzQ”;

    var pageType = “blog_post”;
    if(pageType == “product” || pageType == “cart” || pageType == “orderconfirmation”) {
    // Load IS library, once it’s loaded it will call trackIntelliSuggest as a callback
    loadIntelliSuggest(“//cdn.searchspring.net/intellisuggest/is.min.js”, trackIntelliSuggest);

    function trackIntelliSuggest() {
    switch(pageType) {
    case “product”:
    var product_code = “”;
    trackProductPage(product_code);
    break;
    case “cart”:
    var products = [];
    if(products.length > 0) {
    trackCart(products, “cart”);
    }
    break;
    case “orderconfirmation”:
    loadPolyfills();

    var products= {};
    fetch(‘/api/storefront/order/’, {credentials: ‘include’})
    .then(function(response) {
    return response.json();
    })
    .then(function(cart) {
    var ids = [];
    if(cart && cart.lineItems && cart.lineItems.physicalItems) {
    for(var i = 0; i 0) {
    var gqlQuery = `{
    site {
    products(entityIds: ${JSON.stringify(ids)}) {
    edges {
    node {
    entityId
    sku
    }
    }
    }
    }
    }`

    fetch(‘/graphql’, {
    method: ‘POST’,
    credentials: ‘same-origin’,
    headers: {
    ‘Content-Type’: ‘application/json’,
    ‘Authorization’: ‘Bearer ‘ + storefrontApiToken
    },
    body: JSON.stringify({
    query: gqlQuery
    })
    })
    .then(response => response.json())
    .then(result => {
    if(result && result.data && result.data.site && result.data.site.products && result.data.site.products.edges) {
    for(var i = 0; i console.error(error));
    }
    }
    });
    break;
    }
    }

    function trackProductPage(product_code) {
    IntelliSuggest.init({“siteId” : siteId, “context” : “Product/” + product_code, “seed” : [product_code]});
    IntelliSuggest.viewItem({“sku” : product_code});
    }

    function trackCart(products, pageType) {
    var seed = products.map(function(p) { return p.sku });
    IntelliSuggest.init({“siteId” : siteId, “context” : “Basket”, “seed” : seed});

    for(var i = 0; i n;n++)o(e,e._deferreds[n]);e._deferreds=null}function u(e,n){var t=!1;try{e(function(e){t||(t=!0,r(n,e))},function(e){t||(t=!0,i(n,e))})}catch(o){if(t)return;t=!0,i(n,o)}}var c=setTimeout;t.prototype[“catch”]=function(e){return this.then(null,e)},t.prototype.then=function(e,t){var r=new this.constructor(n);return o(this,new function(e,n,t){this.onFulfilled=”function”==typeof e?e:null,this.onRejected=”function”==typeof n?n:null,this.promise=t}(e,t,r)),r},t.prototype[“finally”]=e,t.all=function(e){return new t(function(n,t){function o(e,f){try{if(f&&(“object”==typeof f||”function”==typeof f)){var u=f.then;if(“function”==typeof u)return void u.call(f,function(n){o(e,n)},t)}r[e]=f,0==–i&&n(r)}catch(c){t(c)}}if(!e||”undefined”==typeof e.length)throw new TypeError(“Promise.all accepts an array”);var r=Array.prototype.slice.call(e);if(0===r.length)return n([]);for(var i=r.length,f=0;r.length>f;f++)o(f,r[f])})},t.resolve=function(e){return e&&”object”==typeof e&&e.constructor===t?e:new t(function(n){n(e)})},t.reject=function(e){return new t(function(n,t){t(e)})},t.race=function(e){return new t(function(n,t){for(var o=0,r=e.length;r>o;o++)e[o].then(n,t)})},t._immediateFn=”function”==typeof setImmediate&&function(e){setImmediate(e)}||function(e){c(e,0)},t._unhandledRejectionFn=function(e){void 0!==console&&console&&console.warn(“Possible Unhandled Promise Rejection:”,e)};var l=function(){if(“undefined”!=typeof self)return self;if(“undefined”!=typeof window)return window;if(“undefined”!=typeof global)return global;throw Error(“unable to locate global object”)}();”Promise”in l?l.Promise.prototype[“finally”]||(l.Promise.prototype[“finally”]=e):l.Promise=t});

    // Fetch – https://github.com/github/fetch
    !function(t,e){“object”==typeof exports&&”undefined”!=typeof module?e(exports):”function”==typeof define&&define.amd?define([“exports”],e):e(t.WHATWGFetch={})}(this,function(t){“use strict”;var e={searchParams:”URLSearchParams”in self,iterable:”Symbol”in self&&”iterator”in Symbol,blob:”FileReader”in self&&”Blob”in self&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:”FormData”in self,arrayBuffer:”ArrayBuffer”in self};if(e.arrayBuffer)var r=[“[object Int8Array]”,”[object Uint8Array]”,”[object Uint8ClampedArray]”,”[object Int16Array]”,”[object Uint16Array]”,”[object Int32Array]”,”[object Uint32Array]”,”[object Float32Array]”,”[object Float64Array]”],o=ArrayBuffer.isView||function(t){return t&&r.indexOf(Object.prototype.toString.call(t))>-1};function n(t){if(“string”!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&’*+.^_`|~]/i.test(t))throw new TypeError(“Invalid character in header field name”);return t.toLowerCase()}function i(t){return”string”!=typeof t&&(t=String(t)),t}function s(t){var r={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return e.iterable&&(r[Symbol.iterator]=function(){return r}),r}function a(t){this.map={},t instanceof a?t.forEach(function(t,e){this.append(e,t)},this):Array.isArray(t)?t.forEach(function(t){this.append(t[0],t[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}function h(t){if(t.bodyUsed)return Promise.reject(new TypeError(“Already read”));t.bodyUsed=!0}function f(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function u(t){var e=new FileReader,r=f(e);return e.readAsArrayBuffer(t),r}function d(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function c(){return this.bodyUsed=!1,this._initBody=function(t){var r;this._bodyInit=t,t?”string”==typeof t?this._bodyText=t:e.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:e.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():e.arrayBuffer&&e.blob&&((r=t)&&DataView.prototype.isPrototypeOf(r))?(this._bodyArrayBuffer=d(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):e.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||o(t))?this._bodyArrayBuffer=d(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText=””,this.headers.get(“content-type”)||(“string”==typeof t?this.headers.set(“content-type”,”text/plain;charset=UTF-8″):this._bodyBlob&&this._bodyBlob.type?this.headers.set(“content-type”,this._bodyBlob.type):e.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set(“content-type”,”application/x-www-form-urlencoded;charset=UTF-8″))},e.blob&&(this.blob=function(){var t=h(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error(“could not read FormData body as blob”);return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(u)}),this.text=function(){var t,e,r,o=h(this);if(o)return o;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=f(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),o=0;o-1?o:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,(“GET”===this.method||”HEAD”===this.method)&&n)throw new TypeError(“Body not allowed for GET or HEAD requests”);this._initBody(n)}function p(t){var e=new FormData;return t.trim().split(“&”).forEach(function(t){if(t){var r=t.split(“=”),o=r.shift().replace(/\+/g,” “),n=r.join(“=”).replace(/\+/g,” “);e.append(decodeURIComponent(o),decodeURIComponent(n))}}),e}function b(t,e){e||(e={}),this.type=”default”,this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in e?e.statusText:"OK",this.headers=new a(e.headers),this.url=e.url||"",this._initBody(t)}y.prototype.clone=function(){return new y(this,{body:this._bodyInit})},c.call(y.prototype),c.call(b.prototype),b.prototype.clone=function(){return new b(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new a(this.headers),url:this.url})},b.error=function(){var t=new b(null,{status:0,statusText:""});return t.type="error",t};var m=[301,302,303,307,308];b.redirect=function(t,e){if(-1===m.indexOf(e))throw new RangeError("Invalid status code");return new b(null,{status:e,headers:{location:t}})},t.DOMException=self.DOMException;try{new t.DOMException}catch(e){t.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function w(r,o){return new Promise(function(n,i){var s=new y(r,o);if(s.signal&&s.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var h=new XMLHttpRequest;function f(){h.abort()}h.onload=function(){var t,e,r={status:h.status,statusText:h.statusText,headers:(t=h.getAllResponseHeaders()||"",e=new a,t.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEach(function(t){var r=t.split(":"),o=r.shift().trim();if(o){var n=r.join(":").trim();e.append(o,n)}}),e)};r.url="responseURL"in h?h.responseURL:r.headers.get("X-Request-URL");var o="response"in h?h.response:h.responseText;n(new b(o,r))},h.onerror=function(){i(new TypeError("Network request failed"))},h.ontimeout=function(){i(new TypeError("Network request failed"))},h.onabort=function(){i(new t.DOMException("Aborted","AbortError"))},h.open(s.method,s.url,!0),"include"===s.credentials?h.withCredentials=!0:"omit"===s.credentials&&(h.withCredentials=!1),"responseType"in h&&e.blob&&(h.responseType="blob"),s.headers.forEach(function(t,e){h.setRequestHeader(e,t)}),s.signal&&(s.signal.addEventListener("abort",f),h.onreadystatechange=function(){4===h.readyState&&s.signal.removeEventListener("abort",f)}),h.send(void 0===s._bodyInit?null:s._bodyInit)})}w.polyfill=!0,self.fetch||(self.fetch=w,self.Headers=a,self.Request=y,self.Response=b),t.Headers=a,t.Request=y,t.Response=b,t.fetch=w,Object.defineProperty(t,"__esModule",{value:!0})});
    }
    }
    })()


    .sidebarBrand { display: none!important; }

    var oldHistoryReplaceState = History.replaceState;
    History.replaceState = function(a, b, url, c) {
    if(!url.match(/(#|\/)(dev:|filter:|sort:|page:|perpage:|list|grid)/)) {
    oldHistoryReplaceState(a, b, url, c);
    }
    }

    jQuery(window).on(‘load’, function(){
    jQuery( “.sticky_list_item a:contains(‘Real Reviews From Real Customers’)” ).text(‘Product Review’);
    jQuery(document).on(‘click’,’#form-action-addToCart-second’, function(){
    jQuery(‘#form-action-addToCart’).click();
    });
    });

    jQuery(window).on(‘load’, function(){
    jQuery( “#FormField_7_input” ).mouseleave(function() {
    // console.log(“Phone Number”);
    var number = jQuery(this).val();
    // console.log(number);
    number = number.replace(/[^\d]/g, ”);
    jQuery( “#FormField_7_input” ).val(number);
    });
    });

    jQuery(window).on(‘load’, function(){
    var current_url = window.location.href;
    //console.log(current_url);
    if(current_url == “https://www.bestaccessdoors.com/account.php?action=account_details”){
    jQuery(“.account1 .breadcrumbs_wrap ul li”).last().find(‘a’).text( “Account Settings” );
    }
    });

    <!–
    var e=document.createElement(“script”);
    e.type=”text/javascript”,e.async=true,e.src=”//staticw2.yotpo.com/mC4h72Uk6BxDlx2q0mLFwA0oYLrc7XDBqAytVJFp/widget.js”;var t=document.getElementsByTagName(“script”)[0];t.parentNode.insertBefore(e,t);
    –>

    $(document).ready(function(){
    $(‘.ProductDetail-PageContent .product-contact h2’).text(‘Request more info about this product’);
    });

    jQuery(“.biggericonn”).after(‘

    X

    ‘),jQuery(document).ready(function(i){i(“.biggericonn”).click(function(){i(this).hide(),i(“#player2″).css({position:”fixed”,width:”90%”,”max-width”:”800px”,”z-index”:”1001″,height:”80%”,”max-height”:”450px”,left:”50%”});var e=i(“#player2”).width()/2,o=i(“#player2”).height()/2,n=i(window).height()/2-o-10,c=n-20,t=i(window).width()/2-e-15;i(“#player2”).css({“margin-left”:”-“+e+”px”,top:n+”px”}),i(“.closeiconn”).css({right:t+”px”,top:c+”px”}),i(“.overlayy”).show(),i(“.closeiconn”).show()}),i(“.overlayy”).click(function(){i(“.biggericonn”).show(),i(this).hide(),i(“.closeiconn”).hide(),i(“#player2”).attr(“style”,” “)}),i(“.closeiconn”).click(function(){i(“.biggericonn”).show(),i(this).hide(),i(“.overlayy”).hide(),i(“#player2”).attr(“style”,” “)})});

    var pageTitle = $(“title”).text();
    var timer=””;
    var isBlurred=false;
    if(pageTitle==’BestAccessDoors – Fire Rated, Drywall Panels and Ceiling Access Panels’){
    $(window).on(“blur”,function() {
    isBlurred = true;

    timer=window.setInterval(function() {
    document.title = document.title == “BestAccessDoors – Fire Rated, Drywall Panels and Ceiling Access Panels” ? “\uD83D\uDC4B Hey, come back!” : “BestAccessDoors – Fire Rated, Drywall Panels and Ceiling Access Panels”;
    }, 1000);
    }).on(“focus”,function() {
    isBlurred = false;
    document.title = this.pageTitle;
    clearInterval(timer);
    });
    }

    //
    //
    //

    jQuery(document).ready(function(){
    if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
    jQuery(‘.videoLinks button’).click(function(){
    jQuery(‘.videoGallery’).css(“zIndex”, ”);
    jQuery(‘.videoGallery video’).css({“zIndex”:”, ‘opacity’: 0});
    //jQuery(‘.video-one, .video-second, .video-third’).pause();
    var getId = jQuery(this).attr(‘id’);
    jQuery(‘.videoList video’).each(function(){
    var getClass = jQuery(this).attr(‘class’);
    if(getId == getClass){
    jQuery(‘.videoGallery’).css(“zIndex”, 502);
    jQuery(this).css({“zIndex”:502, ‘opacity’: 1});
    }
    });
    });

    jQuery(‘.productView-thumbnails’).click(function() {
    jQuery(‘.videoGallery’).css(“zIndex”, ”);
    jQuery(‘.videoGallery video’).css(‘zIndex’, ”);
    jQuery(‘.imgGallery > a’).css(‘zIndex’, 502);
    });
    } else {
    jQuery(‘.videoLinks button’).hover(function(){
    var vlength = jQuery(‘.videoList video’).length;
    for(var i = 0; i a’).css(‘zIndex’, 502);
    });
    }

    jQuery(“.section1”).on(‘click’, function(){
    jQuery(“.Pagination_2”).fadeOut();
    jQuery(“.Pagination_1”).show();
    jQuery(“.section1 a”).addClass(“current”);
    jQuery(“.section2 a”).removeClass(“current”);
    });

    jQuery(“.section2”).on(‘click’, function(){
    jQuery(“.Pagination_1”).fadeOut();
    jQuery(“.Pagination_2”).show();
    jQuery(“.section2 a”).addClass(“current”);
    jQuery(“.section1 a”).removeClass(“current”);
    });

    });

    function filterFunction() {
    var input, filter, ul, li, a, i;
    input = document.getElementById(“myInput”);
    filter = input.value.toUpperCase();
    div = document.getElementById(“myDropdown”);
    jQuery(“#myDropdown a”).removeClass(“Filter_block”);
    jQuery(“#myDropdown a”).removeClass(“Filter_none”);
    a = div.getElementsByTagName(“a”);
    for (i = 0; i -1) {
    a[i].style.display = “”;
    a[i].classList.add(“Filter_block”);
    } else {
    a[i].style.display = “none”;
    a[i].classList.add(“Filter_none”);
    }
    }

    if(input.value == “” || input.value == undefined)
    {
    jQuery(“#myDropdown a”).removeClass(“Filter_block”);
    }
    }

    jQuery(function ($) {
    jQuery(‘.accordion-wrapper .btn-wrapper’).on(‘click’, function () {
    jQuery(this).next().slideToggle(200);
    jQuery(this).toggleClass(‘open’, 200);
    });
    });

    let scriptAdded = false;
    $(“body”).one(“click”, function(){
    // console.log(“test”);
    if (!scriptAdded){
    var script = document.createElement(‘script’);
    script.setAttribute(‘src’,’//scripts.iconnode.com/62083.js’);
    document.head.appendChild(script);

    var yotpo = document.createElement(‘script’);
    yotpo.setAttribute(‘src’,’https://cdn-widgetsrepository.yotpo.com/v1/loader/mC4h72Uk6BxDlx2q0mLFwA0oYLrc7XDBqAytVJFp’);
    yotpo.async=true;
    document.head.appendChild(yotpo);

    var ease = document.createElement(‘script’);
    ease.setAttribute(‘src’,’https://www.clickcease.com/monitor/stat.js’);
    ease.async=true;
    document.head.appendChild(ease);

    var pp1 = document.createElement(‘script’);
    pp1.type=”text/javascript”;
    pp1.setAttribute(‘src’,’https://www.iubenda.com/api/privacy-policy/26623867′);
    pp1.async=true;
    document.head.appendChild(pp1);

    var pp2 = document.createElement(‘script’);
    pp1.type=”text/javascript”;
    pp2.setAttribute(‘src’,’https://www.iubenda.com/api/privacy-policy/26623867/cookie-policy’);
    pp2.async=true;
    document.head.appendChild(pp2);

    var e=document.createElement(“script”);
    e.type=”text/javascript”,e.async=true,e.src=”//staticw2.yotpo.com/mC4h72Uk6BxDlx2q0mLFwA0oYLrc7XDBqAytVJFp/widget.js”;var t=document.getElementsByTagName(“script”)[0];t.parentNode.insertBefore(e,t);

    // So that not add many time
    scriptAdded = true;
    }
    });

    $(window).scroll(function() {
    //console.log(“test”);
    var heightT = $(‘body’).offset().top,
    outerH = $(‘body’).outerHeight(),
    windowH = $(window).height(),
    wS = $(this).scrollTop();

    if (!scriptAdded){
    var script = document.createElement(‘script’);
    script.setAttribute(‘src’,’//scripts.iconnode.com/62083.js’);
    document.head.appendChild(script);
    // So that not add many time

    var yotpo = document.createElement(‘script’);
    yotpo.setAttribute(‘src’,’https://cdn-widgetsrepository.yotpo.com/v1/loader/mC4h72Uk6BxDlx2q0mLFwA0oYLrc7XDBqAytVJFp’);
    yotpo.async=true;
    document.head.appendChild(yotpo);

    var ease = document.createElement(‘script’);
    ease.setAttribute(‘src’,’https://www.clickcease.com/monitor/stat.js’);
    ease.async=true;
    document.head.appendChild(ease);

    var pp1 = document.createElement(‘script’);
    pp1.type=”text/javascript”;
    pp1.setAttribute(‘src’,’https://www.iubenda.com/api/privacy-policy/26623867′);
    pp1.async=true;
    document.head.appendChild(pp1);

    var pp2 = document.createElement(‘script’);
    pp1.type=”text/javascript”;
    pp2.setAttribute(‘src’,’https://www.iubenda.com/api/privacy-policy/26623867/cookie-policy’);
    pp2.async=true;
    document.head.appendChild(pp2);

    var e=document.createElement(“script”);
    e.type=”text/javascript”,e.async=true,e.src=”//staticw2.yotpo.com/mC4h72Uk6BxDlx2q0mLFwA0oYLrc7XDBqAytVJFp/widget.js”;var t=document.getElementsByTagName(“script”)[0];t.parentNode.insertBefore(e,t);

    scriptAdded = true;
    console.log(scriptAdded);
    }
    })

    let timeout_tcs = 10000;
    if($(window).width() > 480){
    timeout_tcs = 5000;
    }

    document.addEventListener(“DOMContentLoaded”, (event) => {

    setTimeout(function() {
    const scriptB = document.createElement(“script”)
    scriptB.src = “https://1.door-pay.com/widgets/bigcommerce/bc_tax_exempt_form_load.js”
    document.body.appendChild(scriptB);

    const scriptC = document.createElement(“script”)
    scriptC.src = “https://forms.zoho.com/js/zf_gclid.js”
    scriptC.defer=”true”
    document.body.appendChild(scriptC);

    }, timeout_tcs);
    });

    let tcs_path = document.location.pathname;
    let hot_scriptAdded = false;
    if(tcs_path == ‘/’ || tcs_path == ‘/specifications/’ || tcs_path == ‘/products/popular-picks/fire-rated/’ ){
    $(document).mousemove(function(event){
    if (!hot_scriptAdded){
    hot_scriptAdded = true;
    (function(h,o,t,j,a,r){
    h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
    h._hjSettings={hjid:2670461,hjsv:6};
    a=o.getElementsByTagName(‘head’)[0];
    r=o.createElement(‘script’);r.async=1;
    r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
    a.appendChild(r);
    })(window,document,’https://static.hotjar.com/c/hotjar-‘,’.js?sv=’)
    }
    });
    }

    // $(document).ready(function(){
    // let scriptAddedSearch = false;
    // if (!scriptAddedSearch){
    // $(document).mousemove(function(event){
    // const scriptB = document.createElement(“script”)
    // scriptB.src = “https://cdn.searchspring.net/search/v3/js/searchspring.catalog.js?oj9wwz”
    // scriptB.search=”search_query”
    // document.body.appendChild(scriptB);
    // scriptAddedSearch=true;
    // });
    // }
    // });

    $(document).on(‘submit’,’#headerQuickSearch’,function(evt){
    evt.preventDefault();
    var text=$(‘#search_query’).val();
    // alert(text);
    location.href = “/search?search_query=”+text+”&q=”+text;
    });

    Similar Posts