Electrical Safety Tips To Protect Your Building

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;
}
}

<!—->

<!– –>

<!– –>


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

Electrical Safety Tips To Protect Your Building – 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:34:43.29830100Z”,”visit_id”:”1857416c-ff6e-4e96-8722-5fa65019d125″,”channel_id”:1}’);
})();

var BCData = {“csrf_token”:”df64055ae4cbbd4818de317d72d8c5da754abe2254b50f856f3221d35892cb8f”};

/*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(“eyJzZXNzaW9uIjp7ImlkIjoiZDAyMWMxMGMtYThhYS00NWFjLWI4NWItNjllODRmN2MyZjhkIiwiZmlyc3RfdG91Y2hfdGltZXN0YW1wIjoiMjAyNC0wMS0wNVQwMjozNDo0MyIsImZpcnN0X3RvdWNoX3JlZmVycmFsX3VybCI6Imh0dHBzOi8vd3d3LmJlc3RhY2Nlc3Nkb29ycy5jb20vYmxvZy9lbGVjdHJpY2FsLXNhZmV0eS10aXBzLXRvLXByb3RlY3QteW91ci1idWlsZGluZy8iLCJmaXJzdF90b3VjaF9yZXF1ZXN0X3VybCI6Imh0dHBzOi8vd3d3LmJlc3RhY2Nlc3Nkb29ycy5jb20vYmxvZy9lbGVjdHJpY2FsLXNhZmV0eS10aXBzLXRvLXByb3RlY3QteW91ci1idWlsZGluZy8ifSwic2hvcHBlciI6eyJ2aXNpdG9yX2lkIjoiIiwiY3VzdG9tZXJfaWQiOm51bGwsImVtYWlsIjpudWxsLCJmaXJzdF9uYW1lIjpudWxsLCJsYXN0X25hbWUiOm51bGx9LCJkYXRhX2NvbnNlbnQiOnsiZnVuY3Rpb25hbCI6dHJ1ZSwiYW5hbHl0aWNzIjp0cnVlLCJhZHZlcnRpc2luZyI6dHJ1ZX0sImV2ZW50cyI6W119”));

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; }

Electrical Safety Tips To Protect Your Building

Electrical Safety Tips To Protect Your Building

Posted by Best Access Doors on 30th Dec 2020

It is now ordinary for
almost all homes and commercial buildings as powered with energy. However, it
is an unfortunate thing that not everyone knows about electrical safety. Many
home electrical fires occur each year, including electrocution or
electricity-related incidents. These can be often be prevented by understanding
and applying essential electrical safety tips.

Nowadays, it seems
that it’s likely that most people use several electrical appliances on any
given day. Electric devices are now so common in modern homes, offices, and
commercial buildings. Hence, it becomes too easy to forget that the use of such
electrical appliances comes associated with risks and hazards. Because
Best Access Doors cares about our clients and customers’ safety,
we came up with this article to brush up on electrical safety tips that prevent
unnecessary exposure to hazards and safety risks! Take a look at these tips and
read on to know more.

1. For all your fixtures and
appliances, be sure that you use the correct wattage.

Preventing electrical
problems begins with using the right bulbs– be sure to install the correct
wattage bulbs in all lamps, appliances, and fixtures. As a recommendation, use
60-watt bulbs or less if a light fixture doesn’t list any wattage. When it
comes to unmarked ceiling fixtures, it is advisable to select 25-watt bulbs.

2. Always be cautious of
overloaded outlets to protect your building.

One common cause of electrical problems is the overloading of electrical outlets. Regularly check
the electrical outlets to ensure that they are cool to the touch, properly
working order, and have the necessary protective faceplates. For electrical safety tips, here are some of them that you can follow:

  • Avoid using extension cords or
    multi-outlet converters for electrical appliances;
  • Only one heat-producing device
    should plug into an outlet at a time;
  • Qualified electricians should
    check hot outlets;
  • Keep in mind that power strips
    do not change the power that the outlet receivers– they only add outlets;
  • In case an outlet is
    overheating, smart plugs can be used for monitoring outlet power loads and
    shutting off appliances.

3. Repair or replace electrical cords that are damaged.

Damaged power cords
can seriously be an electrical safety risk to both residential and commercial
buildings. They can cause not only electrocution but also fires. Regularly
check all power and extension cords for any sign of cracking and fraying. When
you see any damage, have them repaired or replaced as needed. Remember, heavy
furniture can crush cord insulation and damage wires. Cords that are hiding
under rugs also pose a tripping hazard and can overheat. Regular use of
extension cords may mean that there are not enough outlets that fit your needs.
If possible, hire a qualified commercial electrician who understands all necessary
electrical safety rules and install additional outlets in areas that often use
extension cords. A cord having a load of 16 AWG can hold up to 1,375 watts, and
heavier loads should use a 14 0r 12 AWG cord.

4. To prevent damage, tidy and
secure all used and unused electrical cords.

If you think that
electrical safety rules only apply to power cords that are not in use, then
that’s where you will go wrong– it is crucial to store cables safely to prevent damage. Stored wires must likewise be away from children and pets. If
you don’t want cords to stretch or overheat, always avoid wrapping cords too
tightly around objects. Moreover, please don’t put a cable on a hot surface to
prevent it from damaging the cord’s insulation and wires.

5. Reduce potential risks by
unplugging all unused appliances.

This tip is one of the
most straightforward electrical safety tips but is also one of the easiest to
forget. Doing this helps save power by reducing any phantom drain, or the
energy consumption of the device when not actively in use and helps protect
them from power surges or overheating. While it is often challenging to
remember unplugging unused appliances, there is now the new generation of smart
plugs that offers the solution of setting power schedules for each
outlet.

6. Prevent shock by putting
electrical devices and outlets away from water.

Water and electricity
don’t mix, and it is essential to keep all electrical equipment always dry and
away from water. It helps prevent damage to appliances and even protect people
against electrocution and personal injury. You might want to keep electrical
equipment away from aquariums, sinks, showers, plant pots, and bathtubs to
lower water and electricity contact risks.

7. Provide proper space to your
appliances for air circulation to keep them from overheating.

Electrical equipment
that doesn’t have proper air circulation can eventually overheat and short out,
and turn into an electrical fire hazard. You have to ensure that all appliances
have adequate air circulation. Also, avoid running electrical equipment
enclosed in cabinets. To achieve the best electrical safety, store flammable
objects away from all electronics and appliances. Always pay close attention to
the gas or electric dryer. They need to be at least a foot from the wall to
function safely.

8. Exhaust fans must be clean to
prevent fire hazards.

Some appliances have
exhaust fans prone to getting dirty or clogged with debris, making the
appliance work harder. Aside from shortening the appliance’s life, it can also
cause a building risk because of overheating or causing dangerous gasses to
build up. It may then lead to an electrical fire hazard if this happens. The
exhaust fans won’t create such risks if cleaned regularly.

9. For improved electrical safety,
always follow appliance instructions.

The first tip is very
simple: read the instructions. Safely operating appliances help improve both
the device’s performance and the personal safety of the building occupants.
Furthermore, stop using any tool that gives even the slightest electrical shock
until a qualified electrician examines it for any existing
problems.

10. Raise awareness of heaters and
water heaters to prevent potential accidents.

Keep away combustible
items from built-in furnaces and portable heaters. To ensure furnaces safety,
keep combustibles away from heaters. Place portable heaters far away from drapes
and stored on a stable surface to prevent tipping.

Final Thoughts

It just takes one mistake
for an
electrical fire to spark. However, following simple prevention measures
can be an effective solution. It entails being safe when using extension cords,
electrical appliances, light bulbs, and other equipment included in household
and office rules. All family members, employees, and building occupants must
strictly follow all electrical safety tips to make it easy to prevent
electrocution and electrical fires.

To help protect your
electrical wires and other equipment, we also advise the installation of access
doors. Partner with Best Access Doors today and check out our product line
at
www.bestaccessdoors.com. 

  • #Best Access Doors
  • #electrical fire
  • #Electrical safety
  • #Repair or replace electrical cords
  • #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