/* V7W (Nov 30, 2026): the logo swap now also updates a header an older NAV copy (V6H, loaded by a page widget) already built.
V7V (Nov 30, 2026): header logo swapped to the sharper EQS_Logo_Header_v2.png (same size and position as before). */
/* V7U (Nov 30, 2026): office-supply searches (paper, pencils, toner...) never show furniture: signed in -> ebsupplies.com search; signed out -> "Looking for office supplies? Sign in or create an account" with Sign In / Create an Account. */
/* V7S (Nov 28, 2026): reads the item list named in the footer (window.EQS_QS_INDEX_URL), default V16.
V7R (Nov 28, 2026): back to the previous header colors (split header removed); reads EQS_QS_INDEX_V15.js.
V7Q (Nov 28, 2026): split header (option D): logo on a white panel cut on a diagonal, deep green-charcoal behind the
tagline, search and buttons; logo boxes for the new brands (Alera, Cosco, Vaultz, ACCO, Rubbermaid, Sentry Safe, Vertiflex, Mead Hatcher);
search and Desks fill read EQS_QS_INDEX_V15.js.
EMERALD QUICK SHIP - MINI-SITE HEADER, SEARCH + FILTER PANEL V6Y
V7E (Nov 26): search reads EQS_QS_INDEX_V15.js.
V7B (Nov 25 PM): pressing Enter on an exact item number opens that item's product page.
V7A (Nov 25 PM): search fixed for the new Room Dividers category (it stopped at "Loading").
V6Z (Nov 25 PM): title bar Option E (grooved dividers, light-green underline on the current category); adds missing tabs such as Room Dividers when an older script drew the bar; search reads EQS_QS_INDEX_V9.js.
V7I (Nov 27, 2026): guest cards styled like customer cards (price, quantity, Add to cart -> sign in / open account prompt); new Quick Ship account request page at /quickship-account (emails jlyons@ and furniture@).
V7H (Nov 27, 2026): guest mode for logged-out visitors - welcome bar with Sign In / Create an Account (LinkedIn & email greetings), no main-site links, savings % hidden, sign-in note on cards.
V7G (Nov 27, 2026): new project box graphic (modern office).
V7F (Nov 27, 2026): header logo fills the header area, whole logo shown, small gap above the green tab bar (desktop).
V7E (Nov 27, 2026): header logo larger.
V6Y (Nov 25, 2026): Room Dividers tab (category 1367679); Screenflex logo on Screenflex cards; search reads EQS_QS_INDEX_V8.js.
November 23, 2026
V6P (Nov 24, 2026): logo 25% larger; tabs at natural width with a red Closeouts tab at the far right;
Search reads EQS_QS_INDEX_V7.js (adds the occasional tables). Tables title reads "Quick Ship Conference, Occasional, & Training Tables".
V6O (Nov 23, 2026): renames the tabs even when the older header script (V6H) drew the bar first.
V6N (Nov 23, 2026): tabs renamed "Monitor Arms & Keyboard Trays" and "Classroom & Educational"; tabs spread across the whole bar.
V6M (Nov 23, 2026): search reads the same item list as the home page (EQS_QS_INDEX_V3.js), so item codes,
new items and brand names are found on every Quick Ship page. (V6L's older list was replaced by the home
page's list on Quick Ship pages, which left the search with nothing to search.)
V6L (Nov 22, 2026): home page "Need furniture?" box, layout C: larger one-line headline,
intro text across the top, logo + checklist beside a compact "Have a project in mind?"
card with the Emerald team photo; video runs the full height on the left.
V6K (Nov 22, 2026): home page "Need furniture?" box matches the product pages (box 11):
one-line headline sized to span the box, logo as wide as the first bullet, "Have a project
in mind?" in its own column with blueprint rolls below it.
V6J: current category shown as a solid green tab (no yellow underline);
home page project form as wide as the brand boxes above it; Closeout Deal
badges hidden on Quick Ship pages. Safe to load in the site footer: it
only acts on Quick Ship pages, and it overrides V6H if both are loaded.
Runs only on Quick Ship category pages (EvoX categories 1366566-1366575)
and, from V6I, on product pages for Quick Ship items: EQS_PDP (V1B or later)
marks those pages, and they get the same header, search and category bar.
1. Header: Emerald Business Interiors Quick Ship logo (EBIQuickShip.png),
centered with equal space above and below, tagline "Skip the long wait."
in place of the phone block, and the
Quick Ship Furniture Search in place of the site search bar.
2. Dark green menu bar: Emerald Business Supply Home, Quick Ship
Furniture Home, then every Quick Ship category (current one marked).
3. Page title in a shaded panel as "Quick Ship" + category name, with the
Powered by Emerald Business Interiors signature. Breadcrumb hidden.
4. Search covers every Quick Ship product (EQS_QUICKSHIP_INDEX_V1.js).
5. Filter panel: Filter Products header, Clear Filters, check marks,
one choice per section, short filter list.
Replaces EQS_QUICKSHIP_NAV_V2-V5 and the Back to Quick Ship button.
*/
(function () {
'use strict';
var HOME = 'https://www.ebsupplies.com/quickship';
var CATS = [
['1366566', 'Desks', '/category/1366566-desks.html'],
['1366567', 'Seating', '/category/1366567-Seating.html'],
['1366568', 'Tables', '/conference-and-training-tables'],
['1366569', 'Workstations', '/workstations--17'],
['1366570', 'Storage', '/storage--64'],
['1366571', 'Boards', '/boards--25'],
['1366572', 'Monitor Arms & Keyboard Trays', '/monitor-arms-and-desk-accessories'],
['1366573', 'Chair Mats', '/chairmats-and-accessories'],
['1366574', 'Classroom & Educational', '/educational-furniture--5'],
['1367679', 'Room Dividers', '/room-dividers--12'],
['1366575', 'Pre-Owned', '/pre-owned']
];
var CO_ID = '1367676';
var IDS = ['1366565'].concat(CATS.map(function (c) { return c[0]; }), [CO_ID]);
// Closeout items (Closeouts category 1367676): red Closeout tag on their cards everywhere on the mini-site
var CLOSEOUT_SKUS = ['COE11499VBK', 'COE11667LBK', 'COE11789FBK', 'COE9509VBK', 'COEFL3072RE', 'COEFL450RE', 'COEFL689RE', 'COEIDD3060DB', 'COEIDD3072DB',
'COEOS219AE', 'COEOS219AR', 'COEOS219CG', 'COEOS219CH', 'COEOS219MW', 'COEOS220AE', 'COEOS220AR', 'COEOS220CG', 'COEOS220CH', 'COEOS220MH', 'COEOSXS2004CW', 'COEOSXS2005CW',
'COE05RG2QHAVGR', 'COEOSRL3003CR', 'COEOSRL3018FBK', 'COEOSRL3018FGT', 'COEOSRL3018FTP', 'COEOSRL3020FBK', 'COEOSRL3020FGT', 'COEOSRL3020FTP', 'COEOSRL3901FGT', 'COEOSXP2002CW', 'COEOSXP2002WR', 'N9N3044BK', 'N9N3270BK', 'N9N5464BK', 'N9N6921MB', 'COEMARKLE68W'];
var CO_TIP = 'Closeout Special! Limited Quantity Available';
window.EQS_CLOSEOUTS = CLOSEOUT_SKUS;
function currentId() {
if (!document.body) return null;
// Quick Ship landing page (www.ebsupplies.com/quickship)
if (document.body.classList.contains('ex-name-quickship')) return 'home';
// Quick Ship account request page (www.ebsupplies.com/quickship-account)
if (document.body.classList.contains('ex-name-quickship-account') || /^\/quickship-account\/?$/i.test(location.pathname)) return 'account';
// Quick Ship product page (set by EQS_PDP)
if (document.body.classList.contains('ex-product') && window.EQS_QS_PDP_CAT) return 'pdp:' + window.EQS_QS_PDP_CAT;
for (var i = 0; IDS.length > i; i++) {
if (document.body.classList.contains('ex-categoryid-' + IDS[i])) return IDS[i];
}
return null;
}
var G = 'rgb(0,128,58)';
var B = 'body.eqs-qs';
var CSS = [
// ---- Category nav bar ----
'.eqs-nav{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:0 0 12px!important}',
'.eqs-nav a{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:6px 14px!important;border:1.5px solid ' + G + '!important;border-radius:999px!important;background:#fff!important;color:' + G + '!important;font:600 13px/16px Poppins,Arial,sans-serif!important;text-decoration:none!important;white-space:nowrap!important;transition:background .15s,color .15s!important}',
'.eqs-nav a:hover,.eqs-nav a:focus{background:' + G + '!important;color:#fff!important}',
'.eqs-nav a.eqs-nav-home{background:' + G + '!important;color:#fff!important}',
'.eqs-nav a.eqs-nav-home:hover{background:rgb(0,104,47)!important;border-color:rgb(0,104,47)!important}',
'.eqs-nav a.eqs-nav-on{background:#e6f4ec!important;color:' + G + '!important;cursor:default!important}',
'.eqs-nav svg{width:13px!important;height:13px!important;fill:none!important;stroke:currentColor!important;stroke-width:2.6!important;stroke-linecap:round!important;stroke-linejoin:round!important}',
// ---- Filter panel ----
B + ' #filterswrapper{background:#fff!important;border:1px solid #dfe5e1!important;border-radius:10px!important;overflow:hidden!important;padding:0 0 6px!important;box-shadow:0 1px 3px rgba(0,0,0,.05)!important}',
B + ' #filterswrapper > .filter-title{display:block!important;margin:0!important;padding:13px 14px!important;background:#16201a!important;border-bottom:3px solid ' + G + '!important}',
B + ' #filterswrapper > .filter-title span{color:#fff!important;font:700 17px/21px Arial,sans-serif!important;letter-spacing:.2px!important}',
B + ' #filterswrapper > .arrow-down{display:none!important}',
B + ' .eqs-clear{display:block!important;padding:12px 14px 0!important}',
B + ' .eqs-clear a{color:' + G + '!important;font:700 14px/18px Arial,sans-serif!important;text-decoration:underline!important}',
B + ' .eqs-clear a.eqs-clear-off{color:#9aa59f!important;text-decoration:none!important;cursor:default!important;pointer-events:none!important}',
B + ' #filterswrapper .search-with-in{padding:10px 14px 4px!important;margin:0!important}',
B + ' #filterswrapper .search-with-in .relsearch{border:1px solid #cfd8d2!important;border-radius:6px!important;background:#fff!important}',
B + ' #filterswrapper .filter-section{margin:0 14px!important;padding:13px 0 11px!important;border-top:1px solid #e6e9e7!important;background:none!important}',
B + ' #filterswrapper .filter-section h5,' + B + ' #filterswrapper .filter-section .filter-static{margin:0 0 10px!important;color:#111!important;font:700 15px/19px Arial,sans-serif!important;text-transform:none!important}',
B + ' #filterswrapper .filter-section-header{display:flex!important;align-items:center!important;justify-content:space-between!important;padding:0!important;background:none!important}',
B + ' #filterswrapper .filter-section-header .showhide-indicator{color:#9aa59f!important;font-size:13px!important}',
B + ' #filterswrapper .filter-options > div{margin:0!important}',
B + ' #filterswrapper .filter-options br{display:none!important}',
B + ' #filterswrapper .filter-options label,' + B + ' #filterswrapper .filter-options label.hiddenoption{display:block!important;margin:0!important;padding:0!important}',
B + ' #filterswrapper .filter-options label a{display:flex!important;align-items:flex-start!important;gap:8px!important;padding:4px 0!important;text-decoration:none!important;color:#222!important}',
B + ' #filterswrapper .filter-options label a::before{content:""!important;flex:0 0 14px!important;width:14px!important;height:14px!important;margin-top:1px!important;border:1.5px solid #767676!important;border-radius:3px!important;background:#fff!important;box-sizing:border-box!important}',
B + ' #filterswrapper .filter-options label a:hover::before{border-color:' + G + '!important}',
B + ' #filterswrapper .filter-options label a:hover .desc{color:' + G + '!important}',
B + ' #filterswrapper .filter-options label a.active,' + B + ' #filterswrapper .filter-options label a.no-pointer-events{pointer-events:auto!important;cursor:pointer!important}',
B + ' #filterswrapper .filter-options label a.active::before{content:"\\2713"!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#fff!important;border-color:' + G + '!important;color:' + G + '!important;font:900 12px/1 Arial,sans-serif!important}',
B + ' #filterswrapper .filter-options label a.active .desc{font-weight:700!important}',
B + ' #filterswrapper a.sm-links{display:none!important}',
// ---- Quick Ship catalog search ----
'.eqs-qsearch{margin:0 0 18px!important}',
'.eqs-qsearch form{display:flex!important;align-items:stretch!important;width:100%!important;margin:0!important;border:1.5px solid ' + G + '!important;border-radius:8px!important;overflow:hidden!important;background:#fff!important}',
'.eqs-qsearch input{flex:1 1 auto!important;min-width:0!important;height:44px!important;margin:0!important;padding:0 14px!important;border:0!important;outline:0!important;box-shadow:none!important;font:400 15px/44px Arial,sans-serif!important;color:#222!important;background:#fff!important}',
'.eqs-qsearch input::placeholder{color:#9aa3a0!important;opacity:1!important}',
'.eqs-qsearch form button{flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;gap:6px!important;margin:0!important;padding:0 22px!important;border:0!important;border-radius:0!important;background:' + G + '!important;color:#fff!important;font:700 14px/44px Poppins,Arial,sans-serif!important;cursor:pointer!important}',
'.eqs-qsearch form button:hover{background:rgb(0,104,47)!important}',
'.eqs-qsearch form button svg{width:16px!important;height:16px!important;fill:none!important;stroke:#fff!important;stroke-width:2.6!important;stroke-linecap:round!important}',
'.eqs-qres{margin:10px 0 0!important;padding:14px 16px!important;border:1px solid #dfe5e1!important;border-radius:10px!important;background:#fff!important;box-shadow:0 4px 14px rgba(0,0,0,.08)!important;font:400 14px/18px Arial,sans-serif!important;color:#222!important}',
'.eqs-qres-head{display:flex!important;justify-content:space-between!important;align-items:center!important;margin:0 0 8px!important;font-weight:700!important;gap:12px!important}',
'.eqs-qres-head > span{flex:1 1 auto!important}',
'.eqs-qres-all{color:#00843d!important;font-weight:700!important;text-decoration:underline!important;white-space:nowrap!important}',
'.eqs-qsearch .eqs-qres-x{border:0!important;background:none!important;box-shadow:none!important;width:auto!important;height:auto!important;color:#7b8580!important;font:400 22px/1 Arial,sans-serif!important;cursor:pointer!important;padding:0 4px!important}',
'.eqs-qres-cat{padding:10px 0!important;border-top:1px solid #e6e9e7!important}',
'.eqs-qres-cat-top{display:flex!important;justify-content:space-between!important;align-items:baseline!important;margin:0 0 8px!important}',
'.eqs-qres-cat-top strong{font-size:15px!important}',
'.eqs-qres-cat-top a{color:' + G + '!important;font-weight:700!important;text-decoration:underline!important}',
'.eqs-qres-items{display:flex!important;flex-wrap:wrap!important;gap:10px!important}',
'.eqs-qres-item{display:flex!important;align-items:center!important;gap:8px!important;width:calc(25% - 8px)!important;min-width:180px!important;padding:6px!important;border:1px solid #eef1ef!important;border-radius:8px!important;color:#222!important;text-decoration:none!important;font-size:12px!important;line-height:15px!important}',
'.eqs-qres-item:hover{border-color:' + G + '!important;color:' + G + '!important}',
'.eqs-qres-item img{width:44px!important;height:44px!important;object-fit:contain!important;flex:0 0 44px!important}',
'.eqs-qsearch .eqs-qres-more{display:block!important;margin:10px 0 0!important;padding:6px 14px!important;border:1.5px solid ' + G + '!important;border-radius:999px!important;background:#fff!important;color:' + G + '!important;font:600 13px/16px Poppins,Arial,sans-serif!important;cursor:pointer!important;width:auto!important;height:auto!important}',
'.eqs-qsearch .eqs-qres-more:hover{background:' + G + '!important;color:#fff!important}',
'.eqs-qres-msg{color:#555!important;padding:4px 0!important}',
'.eqs-qres-ebs p{margin:0 0 10px!important;color:#333!important;font-size:14px!important;line-height:20px!important}',
'.eqs-qres-ebsbtn{display:inline-block!important;padding:10px 16px!important;border-radius:6px!important;background:#00843d!important;color:#fff!important;font-weight:700!important;text-decoration:none!important;margin:0 0 10px!important}',
'.eqs-qres-ebsbtn:hover{background:#006b31!important}',
'.eqs-qres-ebs p.eqs-qres-tip{color:#666!important;font-size:13px!important;margin:0!important}',
B + ' #filterswrapper .filter-options .desc{flex:1 1 auto!important;margin:0!important;color:#222!important;font:400 13px/17px Arial,sans-serif!important}',
B + ' #filterswrapper .filter-options .count{flex:0 0 auto!important;margin:0 0 0 6px!important;color:#7b8580!important;font:400 12px/17px Arial,sans-serif!important;background:none!important}',
B + ' #filterswrapper .filter-options .count::before{content:"("!important}',
B + ' #filterswrapper .filter-options .count::after{content:")"!important}',
B + ' #filterswrapper .more-options{display:none!important}',
B + ' #filterswrapper .filtername-instock{display:none!important}',
B + ' #filterswrapper .filtername-instock .filter-static{margin:0!important}',
B + ' #filterswrapper .search-with-in .searchlistwithin_hd{padding-left:26px!important;font-size:13px!important}',
B + ' #filterswrapper .filtername-instock .filter-static{font-size:14px!important;line-height:18px!important}',
// ---- V6 mini-site header ----
'.eqs-nav{display:none!important}',
B + ' .row-breadcrumb{display:none!important}',
// Landing page: its hero is pulled up 38px to sit under the old breadcrumb; with the breadcrumb hidden, drop it below the bar instead
B + ' .eqs-landing-v1{margin-top:5px!important}',
B + ' #filterswrapper .filter-section.filterless{display:none!important}',
B + ' #filterswrapper .filter-section.filterless.filtername-color_family{display:block!important}',
B + ' #filterswrapper .more-filters{display:none!important}',
B + ' #filterswrapper .search-with-in{display:none!important}',
B + ' .eqs-qsbar-host{background:#0f3d24!important}',
'.eqs-qsbar{display:flex!important;align-items:stretch!important;width:100%!important;height:40px!important;background:#0f3d24!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important}',
'.eqs-qsbar::-webkit-scrollbar{display:none!important}',
'.eqs-qsbar a{display:flex!important;align-items:center!important;flex:0 0 auto!important;height:40px!important;padding:0 12px!important;color:#fff!important;font:600 14px/20px Poppins,Arial,sans-serif!important;text-decoration:none!important;white-space:nowrap!important;border-bottom:3px solid transparent!important;background:none!important}',
'.eqs-qsbar a:hover{background:rgba(255,255,255,.1)!important}',
// V6N: tabs share the full width of the bar; two long names wrap below 1640px wide
// V6P: tabs keep their natural width (no stretching); Closeouts sits at the far right
'body .eqs-qsbar a{flex:0 0 auto!important;justify-content:center!important;text-align:center!important;padding:0 12px!important}',
'body .eqs-qsbar a.eqs-qsbar-co{display:inline-flex!important;align-items:center!important;gap:6px!important}',
// auto-fit: when the tabs are wider than the bar, step down padding and font until everything fits
'body .eqs-qsbar.eqs-fit1 a{padding:0 8px!important;font-size:13.5px!important;line-height:15px!important}body .eqs-qsbar.eqs-fit1 .eqs-br{display:inline!important}',
'body .eqs-qsbar.eqs-fit2 a{padding:0 6px!important;font-size:13px!important;line-height:15px!important}body .eqs-qsbar.eqs-fit2 .eqs-br{display:inline!important}',
'body .eqs-qsbar.eqs-fit3 a{padding:0 4px!important;font-size:12px!important;line-height:14px!important}body .eqs-qsbar.eqs-fit3 .eqs-br{display:inline!important}',
'body .eqs-qsbar .eqs-co-icon{display:inline-block!important;width:22px!important;height:16px!important;flex:0 0 22px!important}',
'body .eqs-qsbar .eqs-br{display:none}',
'@media (max-width:1639px){body .eqs-qsbar a{padding:0 8px!important;font-size:13.5px!important;line-height:15px!important}body .eqs-qsbar a.eqs-qsbar-ebs,body .eqs-qsbar a.eqs-qsbar-home{padding:0 12px!important}body .eqs-qsbar .eqs-br{display:inline}}',
'@media (max-width:1439px){body .eqs-qsbar a{padding:0 7px!important;font-size:13px!important}}',
'.eqs-qsbar a.eqs-qsbar-on{background:rgba(255,255,255,.14)!important;border-bottom-color:#ffe14d!important}',
// V6J: solid green current tab, no underline (selectors outrank V6H if it is also loaded)
'body .eqs-qsbar a.eqs-qsbar-on,body .eqs-qsbar a.eqs-qsbar-on:hover{background:' + G + '!important;border-bottom-color:transparent!important;color:#fff!important}',
'body .eqs-qsbar a.eqs-qsbar-home-on{border-bottom-color:transparent!important;box-shadow:inset 0 -3px 0 rgba(255,255,255,.55)!important}',
// V6Z (Option E): full-height grooved dividers between categories; the current category gets a light-green underline
'html body .eqs-qsbar a{position:relative!important}',
'html body .eqs-qsbar a:not(.eqs-qsbar-ebs):not(.eqs-qsbar-home) + a::before{content:"";position:absolute;left:0;top:0;bottom:0;width:0;border-left:1px solid #0b2f1b;box-shadow:1px 0 0 rgba(255,255,255,.12);pointer-events:none}',
'html body .eqs-qsbar a.eqs-qsbar-on,html body .eqs-qsbar a.eqs-qsbar-on:hover{background:transparent!important;border-bottom-color:transparent!important;box-shadow:inset 0 -4px 0 #7fd39a!important;color:#fff!important}',
'html body .eqs-qsbar a:not(.eqs-qsbar-ebs):not(.eqs-qsbar-home):hover{background:rgba(255,255,255,.08)!important}',
'body.eqs-qs .emerald-closeout-deal-badge{display:none!important}',
'body.ex-name-quickship .contactform_container{width:100%!important;max-width:100%!important;flex:0 0 100%!important}',
'body.ex-name-quickship .contactform_container form.eqs-furniture-native{width:calc(100% - 52px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}',
// V6L: home page box, layout C
'body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-form-intro h2.eqs-cta-heading{display:block!important;white-space:nowrap!important;overflow:hidden;line-height:1.15!important;letter-spacing:-.4px;margin-bottom:18px!important}',
'body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-form-intro h2.eqs-cta-heading .eqs-cta-tail{display:inline!important;margin:0 0 0 .25em!important}',
'@media (min-width:992px){body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-intro-media-row.eqs-k{display:grid!important;grid-template-columns:minmax(0,5fr) minmax(330px,3.6fr) minmax(0,3.3fr)!important;grid-template-areas:"v t t" "v b s"!important;grid-template-rows:auto 1fr!important;column-gap:28px!important;row-gap:14px!important;align-items:stretch!important}body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-intro-media-row.eqs-k .eqs-intro-copy{display:contents!important}body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-intro-media-row.eqs-k .eqs-intro-video{grid-area:v!important;height:100%!important;width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;overflow:hidden;border-radius:14px}body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-intro-media-row.eqs-k .eqs-intro-video video{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;aspect-ratio:auto!important;display:block!important}body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-intro-media-row.eqs-k .eqs-intro-copy > p{grid-area:t!important;margin:0!important;max-width:none!important}body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-intro-media-row.eqs-k .eqs-intro-lower{grid-area:b!important;margin:0!important;align-self:end!important}body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-intro-media-row.eqs-k .eqs-intro-side{grid-area:s!important;display:flex!important;align-items:flex-end!important;min-height:0!important}body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-intro-lower.eqs-k .eqs-service-item{white-space:nowrap!important}}',
'body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-intro-lower.eqs-k{display:block!important}',
'body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-intro-lower.eqs-k > div:first-child{display:flex!important;flex-direction:column!important;width:fit-content!important;max-width:100%!important;gap:12px}',
'body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-intro-lower.eqs-k img.eqs-ebi-logo{width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:auto!important;margin:0!important;object-fit:contain!important}',
'body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-proj-card{flex:1;display:flex;flex-direction:column;background:#fff;border:1.5px solid #24402c;border-radius:14px;overflow:hidden;text-align:center;padding:12px 10px 0;box-shadow:0 10px 26px rgba(15,61,36,.08)}',
'body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-proj-h{display:block;font:800 26px/1.1 Poppins,Arial,sans-serif!important;color:#111!important;letter-spacing:-.3px;white-space:nowrap;overflow:hidden;margin:0 0 4px!important}',
'body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-proj-sub{display:block;font:500 13.5px/1.4 Poppins,Arial,sans-serif;color:#222;margin:0 auto 6px!important}',
'body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-proj-team{display:block;width:calc(100% + 20px)!important;max-width:none!important;height:auto!important;margin:0 -10px!important}',
'body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-proj-card.eqs-proj-art{padding:0!important;border:0!important;background:none!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}',
'body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-proj-art .eqs-proj-team{width:100%!important;margin:0!important;border-radius:14px}',
'@media (max-width:991px){body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-form-intro h2.eqs-cta-heading{white-space:normal!important}body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-proj-card{max-width:420px;margin:14px auto 0}}',
'.eqs-qsbar a.eqs-qsbar-ebs{background:#071c10!important;padding:0 16px!important;font-size:13px!important;font-weight:500!important}',
'.eqs-qsbar a.eqs-qsbar-ebs:hover{background:#000!important}',
'.eqs-qsbar a.eqs-qsbar-home{background:' + G + '!important;padding:0 16px!important;margin-right:6px!important}',
'.eqs-qsbar a.eqs-qsbar-home:hover{background:rgb(0,150,68)!important}',
'.eqs-qsbar a.eqs-qsbar-home-on{border-bottom-color:#ffe14d!important}',
// Logo cropped to its artwork (346 x 143 of the 400 x 175 file), scales with its column
// Logo crop keeps a 6px margin around the artwork (358 x 157 of the 400 x 175 file) so no edge is clipped
'.logo_container{display:flex!important;align-items:center!important}',
'.logo_container .widgetlogo{width:100%!important}',
'.eqs-ebi-logo{display:block!important;width:100%!important;max-width:302px!important;aspect-ratio:358/157!important;height:auto!important;overflow:hidden!important;margin:19px 0 5px!important}',
'.eqs-ebi-logo img{display:block!important;width:111.73%!important;max-width:none!important;height:auto!important;max-height:none!important;margin:-3.352% 0 0 -6.145%!important}',
'@media (min-width:992px){.logo_container,.logo_container .widgetlogo,a.logo{overflow:visible!important}html body .logo_container .eqs-ebi-logo{width:300px!important;max-width:none!important;height:auto!important;aspect-ratio:auto!important;margin:0 0 0 -8px!important;overflow:visible!important}html body .logo_container .eqs-ebi-logo img{width:330px!important;min-width:330px!important;max-width:none!important;height:auto!important;max-height:none!important;margin:-6px 0 -6px -20px!important}}',
'.eqs-tag{position:relative!important;top:4px!important;margin:0 0 0 -7px!important;padding:0!important;white-space:nowrap!important}',
'.eqs-tag b{display:block!important;font:700 15px/20px Poppins,Arial,sans-serif!important;color:' + G + '!important}',
'.eqs-tag span{display:block!important;font:500 12px/17px Poppins,Arial,sans-serif!important;color:#5f6b65!important}',
'.eqs-tag b + span{margin-top:2px!important}',
B + ' .search_container{position:relative!important}',
'.search_container .eqs-qsearch{width:auto!important;max-width:none!important;margin:0 0 0 28px!important}',
'.search_container .eqs-qsearch form{border-radius:8px!important;border-width:2px!important}',
'.search_container .eqs-qsearch input{height:44px!important;line-height:44px!important;font-size:15px!important;padding:0 16px!important}',
'.search_container .eqs-qsearch form button{line-height:44px!important}',
'.search_container .eqs-qres{position:absolute!important;top:52px!important;left:0!important;right:0!important;z-index:2000!important;max-height:70vh!important;overflow:auto!important;margin:0!important}',
'.eqs-panel{text-align:center!important;margin:4px 0 16px!important;background:linear-gradient(180deg,#eef7f1,#fff)!important;border:1px solid #dcebe1!important;border-radius:16px!important;padding:22px 24px 16px!important}',
'.eqs-panel h1.catalog-name{margin:0 0 8px!important;font-size:32px!important;line-height:38px!important}',
'.eqs-co-logo{display:block!important;width:190px!important;height:auto!important;margin:0 auto 10px!important}',
'.eqs-co-sub{margin:-2px 0 10px!important;color:#c8102e!important;font:700 16px/20px Arial,sans-serif!important}',
// ---- brand logos on category cards: one size recipe per brand on every Quick Ship page (square logo files are cropped to the logo) ----
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"Screenflex\"]{height:34px!important;max-height:34px!important;width:auto!important;max-width:none!important;margin:-4px 0!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"Screenflex\"]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"Fellowes\" i]{width:64px!important;height:20px!important;aspect-ratio:3.2!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"Fellowes\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"FireKing\" i]{width:66px!important;height:20px!important;aspect-ratio:3.3!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"FireKing\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"Floortex\" i]{width:57px!important;height:20px!important;aspect-ratio:2.85!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"Floortex\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"HON\" i]{width:53px!important;height:20px!important;aspect-ratio:2.65!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"HON\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"Iceberg\" i]{width:46px!important;height:24px!important;aspect-ratio:1.9!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"Iceberg\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"Kantek\" i]{width:50px!important;height:20px!important;aspect-ratio:2.5!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"Kantek\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"La-Z-Boy\" i]{width:77px!important;height:20px!important;aspect-ratio:3.85!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"La-Z-Boy\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"MasterVision\" i]{width:90px!important;height:20px!important;aspect-ratio:4.5!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"MasterVision\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"Mead\" i]{width:60px!important;height:20px!important;aspect-ratio:3.0!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"Mead\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"Post-it\" i]{width:35px!important;height:28px!important;aspect-ratio:1.25!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"Post-it\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"Quartet\" i]{width:84px!important;height:20px!important;aspect-ratio:4.2!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"Quartet\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt^=\"Sadie\" i]{width:54px!important;height:22px!important;aspect-ratio:2.45!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt^=\"Sadie\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"Safco\" i]{width:63px!important;height:20px!important;aspect-ratio:3.15!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"Safco\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"Tennsco\" i]{width:55px!important;height:22px!important;aspect-ratio:2.5!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"Tennsco\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"U Brands\" i]{width:30px!important;height:30px!important;aspect-ratio:1.0!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"U Brands\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"Universal\" i]{width:70px!important;height:20px!important;aspect-ratio:3.5!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"Universal\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"Lorell\" i]{width:80px!important;height:19px!important;aspect-ratio:4.2!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"Lorell\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"NuSparc\" i]{width:88px!important;height:17px!important;aspect-ratio:5.2!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"NuSparc\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"Rocelco\" i]{width:70px!important;height:20px!important;aspect-ratio:3.5!important;object-fit:cover!important;object-position:center!important;max-width:none!important;max-height:none!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"Rocelco\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"N9N\" i]{height:34px!important;max-height:34px!important;width:auto!important;max-width:none!important;margin:-7px 0 -7px -4px!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label:has(img[alt=\"N9N\" i]){max-width:none!important;flex:0 0 auto!important}",
"html body .griditems .tileparent.product .brand-label.brand-label.brand-label.brand-label.brand-label img[alt][alt=\"3M\" i]{height:24px!important;max-height:24px!important;width:auto!important;max-width:none!important}",
// ---- red Closeout tag (hover or tap shows the note) ----
'.eqs-co-tag{position:absolute!important;top:8px!important;left:8px!important;z-index:6!important;display:inline-block!important;padding:3px 8px!important;border-radius:4px!important;background:#c8102e!important;color:#fff!important;font:800 11px/14px Arial,sans-serif!important;letter-spacing:.6px!important;text-transform:uppercase!important;cursor:help!important;box-shadow:0 1px 3px rgba(0,0,0,.25)!important}',
'.eqs-co-tag::after{content:attr(data-tip)!important;position:absolute!important;top:calc(100% + 6px)!important;left:0!important;width:max-content!important;max-width:220px!important;padding:6px 9px!important;border-radius:5px!important;background:#1d1d1d!important;color:#fff!important;font:700 12px/16px Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important;white-space:normal!important;opacity:0!important;visibility:hidden!important;transition:opacity .15s!important;pointer-events:none!important}',
'.eqs-co-tag::before{content:""!important;position:absolute!important;top:calc(100% + 1px)!important;left:12px!important;border:5px solid transparent!important;border-bottom-color:#1d1d1d!important;border-top:0!important;opacity:0!important;visibility:hidden!important;transition:opacity .15s!important}',
'.eqs-co-tag:hover::after,.eqs-co-tag:focus::after,.eqs-co-tag:hover::before,.eqs-co-tag:focus::before{opacity:1!important;visibility:visible!important}',
'.eqs-qres-item{position:relative!important}',
'.eqs-qres-item .eqs-co-tag{top:4px!important;left:4px!important;padding:2px 5px!important;font-size:9px!important;line-height:12px!important}',
'.eqs-sig{position:relative!important;display:inline-block!important;width:400px!important;max-width:100%!important;padding-bottom:10px!important}',
'.eqs-sig-reveal{overflow:hidden!important;clip-path:inset(0 100% 0 0);animation:eqsSigWrite 2.9s steps(60) .6s forwards}',
'.eqs-sig img{display:block!important;width:100%!important;height:auto!important}',
'.eqs-sig-line{position:absolute!important;left:34%!important;right:0!important;bottom:8px!important;height:3px!important;border-radius:50%!important;background:linear-gradient(90deg,#237b39,#68a36c 75%,transparent)!important;transform:scaleX(0);transform-origin:left center;animation:eqsSigLine .9s ease 3.6s forwards}',
'@keyframes eqsSigWrite{to{clip-path:inset(0)}}',
'@keyframes eqsSigLine{to{transform:scaleX(1)}}',
'@media (prefers-reduced-motion:reduce){.eqs-sig-reveal{clip-path:none;animation:none}.eqs-sig-line{transform:scaleX(1);animation:none}}',
// Pinned bar
'.eqs-qsbar.eqs-fixed{position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:1500!important;box-shadow:0 2px 8px rgba(0,0,0,.25)!important}',
'.eqs-qsbar-spacer{height:0;flex:0 0 auto}',
'@media (max-width:991px){.search_container .eqs-qres{left:0!important;right:0!important}.search_container .eqs-qsearch{margin-left:12px!important}}',
'@media (max-width:767px){.eqs-ebi-logo{max-width:212px!important}.eqs-panel h1.catalog-name{font-size:24px!important;line-height:30px!important}.eqs-sig{width:280px!important}.search_container .eqs-qsearch{margin-left:0!important;max-width:none!important}}'
].join('\n');
function arrowIcon() {
var ns = 'http://www.w3.org/2000/svg';
var svg = document.createElementNS(ns, 'svg');
svg.setAttribute('viewBox', '0 0 24 24');
svg.setAttribute('aria-hidden', 'true');
var p = document.createElementNS(ns, 'path');
p.setAttribute('d', 'M15 18l-6-6 6-6');
svg.appendChild(p);
return svg;
}
var LOGO = 'https://us.evocdn.io/dealer/1516/content/media/EQS_Logo_Header_v2.png'; // V7V: sharper logo, same footprint
var SIG = 'https://us.evocdn.io/dealer/1516/content/media/qs-powered-by-ebi.webp';
function tabHtml(name) { return name.replace(/&/g, '&').replace(/^(Monitor Arms|Classroom) & /, '$1 &
').replace(/^Room Dividers$/, 'Room
Dividers'); }
// an older header script (V6H) may have drawn the bar first: give its tabs the new names
function relabel(bar) {
Array.prototype.slice.call(bar.querySelectorAll('a')).forEach(function (a) {
var c = CATS.filter(function (k) { return k[2] === a.getAttribute('href'); })[0];
if (c && a.textContent.replace(/\s+/g, ' ').trim() !== c[1]) a.innerHTML = tabHtml(c[1]);
});
}
var CLOSEOUTS = '/closeouts--1';
var CO_LOGO = 'data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 274 126%22 role=%22img%22 aria-label=%22Furniture Closeout Deals%22%3E %3Crect x=%222%22 y=%222%22 width=%22236%22 height=%22122%22 rx=%223%22 fill=%22%23fff%22 stroke=%22%239ca3af%22 stroke-width=%223%22/%3E %3Crect x=%227%22 y=%227%22 width=%22226%22 height=%2246%22 fill=%22%23111%22/%3E %3Ctext x=%22120%22 y=%2243%22 text-anchor=%22middle%22 font-family=%22Oswald,%27Arial Narrow%27,Impact,sans-serif%22 font-weight=%22700%22 font-size=%2234%22 fill=%22%23fff%22 textLength=%22212%22 lengthAdjust=%22spacingAndGlyphs%22%3EFURNITURE CLOSEOUT%3C/text%3E %3Ctext x=%2212%22 y=%220%22 transform=%22translate(0 115) scale(1 1.3)%22 font-family=%22Arial Black,Arial,Helvetica,sans-serif%22 font-weight=%22900%22 font-size=%2254%22 letter-spacing=%222%22 fill=%22%23111%22 stroke=%22%23111%22 stroke-width=%221.6%22 stroke-linejoin=%22round%22%3EDEALS%3C/text%3E %3Cpath d=%22M235 52 C232 26 256 16 260 36%22 fill=%22none%22 stroke=%22%239ca3af%22 stroke-width=%222.2%22/%3E %3Cg transform=%22translate(26 -12) rotate(32 222 88)%22%3E %3Cpath d=%22M200 60 h32 a4 4 0 0 1 4 4 v42 a4 4 0 0 1 -4 4 h-32 a4 4 0 0 1 -4 -4 v-30 z%22 transform=%22translate(-6 0)%22 fill=%22%23c2410c%22/%3E %3Cpath d=%22M190 60 h36 a4 4 0 0 1 4 4 v44 a4 4 0 0 1 -4 4 h-36 a4 4 0 0 1 -4 -4 v-30 l10 -18 z%22 fill=%22url(%23tg)%22/%3E %3Ccircle cx=%22203%22 cy=%2272%22 r=%224.5%22 fill=%22%23fff%22 stroke=%22%237c2d12%22 stroke-width=%221.5%22/%3E %3C/g%3E %3Cdefs%3E%3ClinearGradient id=%22tg%22 x1=%220%22 y1=%220%22 x2=%221%22 y2=%221%22%3E%3Cstop offset=%220%22 stop-color=%22%23ea580c%22/%3E%3Cstop offset=%221%22 stop-color=%22%23b91c1c%22/%3E%3C/linearGradient%3E%3C/defs%3E %3C/svg%3E';
// Tabs end at the right edge of the cart button: step padding/font down until the last tab fits inside that
// edge, then share any space left over between the category tabs so Closeouts lines up with the cart.
function fitBar(bar) {
bar = bar || document.querySelector('.eqs-qsbar');
if (!bar || !bar.clientWidth) return;
var L = ['eqs-fit1', 'eqs-fit2', 'eqs-fit3'];
var tabs = Array.prototype.slice.call(bar.querySelectorAll('a')).filter(function (a) { return !/eqs-qsbar-(ebs|home)/.test(a.className); });
tabs.forEach(function (a) { a.style.removeProperty('padding-left'); a.style.removeProperty('padding-right'); });
L.forEach(function (c) { bar.classList.remove(c); });
var cart = document.querySelector('.cart-btn');
var br = bar.getBoundingClientRect();
var edge = cart && cart.getBoundingClientRect().width ? Math.min(cart.getBoundingClientRect().right, br.left + bar.clientWidth) : br.left + bar.clientWidth;
var last = tabs[tabs.length - 1];
if (!last) return;
var over = function () { return last.getBoundingClientRect().right > edge + 0.5; };
for (var n = 0; n < L.length && over(); n++) {
if (n) bar.classList.remove(L[n - 1]);
bar.classList.add(L[n]);
}
var spare = edge - last.getBoundingClientRect().right;
if (spare > 1 && tabs.length) {
var pad = parseFloat(getComputedStyle(last).paddingLeft) || 0, add = spare / tabs.length / 2;
tabs.forEach(function (a) { a.style.setProperty('padding-left', (pad + add) + 'px', 'important'); a.style.setProperty('padding-right', (pad + add) + 'px', 'important'); });
}
}
var fitT = 0;
window.addEventListener('resize', function () { clearTimeout(fitT); fitT = setTimeout(function () { fitBar(); }, 120); });
if (document.fonts && document.fonts.ready) document.fonts.ready.then(function () { fitBar(); });
function addCloseouts(bar) {
if (bar.querySelector('.eqs-qsbar-co')) return;
var a = document.createElement('a');
a.className = 'eqs-qsbar-co';
a.href = CLOSEOUTS;
a.innerHTML = 'Closeouts ';
if (document.body.classList.contains('ex-categoryid-' + CO_ID)) { a.className += ' eqs-qsbar-on'; a.setAttribute('aria-current', 'page'); }
bar.appendChild(a);
}
// An older header script may have drawn the bar first: add any category tab it doesn't have (e.g. Room Dividers)
function addMissing(bar, cur) {
var links = Array.prototype.slice.call(bar.querySelectorAll('a'));
CATS.forEach(function (c, i) {
var p = c[2].toLowerCase();
if (links.some(function (l) { return (l.getAttribute('href') || '').toLowerCase().indexOf(p) >= 0; })) return;
var a = document.createElement('a');
a.href = c[2];
a.innerHTML = tabHtml(c[1]);
if (c[0] === cur) {
a.className = 'eqs-qsbar-on'; a.setAttribute('aria-current', 'page');
var h = bar.querySelector('.eqs-qsbar-home-on'); if (h) { h.classList.remove('eqs-qsbar-home-on'); h.removeAttribute('aria-current'); }
}
var next = null;
for (var k = i + 1; k < CATS.length && !next; k++) {
var q = CATS[k][2].toLowerCase();
next = links.filter(function (l) { return (l.getAttribute('href') || '').toLowerCase().indexOf(q) >= 0; })[0] || null;
}
bar.insertBefore(a, next || bar.querySelector('.eqs-qsbar-co'));
links.push(a);
});
}
function buildBar(cur) {
var have = document.querySelector('.eqs-qsbar');
if (have) { relabel(have); addMissing(have, cur); addCloseouts(have); fitBar(have); return; }
var vm = document.querySelector('.container.verticalmenu');
if (!vm) return;
var p = vm;
for (var k = 0; 4 > k && p; k++) { p.classList.add('eqs-qsbar-host'); p = p.parentElement; }
Array.prototype.slice.call(vm.children).forEach(function (c) { c.style.display = 'none'; });
var bar = document.createElement('nav');
bar.className = 'eqs-qsbar';
bar.setAttribute('aria-label', 'Quick Ship categories');
var ebs = document.createElement('a');
ebs.className = 'eqs-qsbar-ebs';
ebs.href = 'https://www.ebsupplies.com/';
ebs.textContent = '\u2039 Emerald Business Supply Home';
bar.appendChild(ebs);
var home = document.createElement('a');
home.className = 'eqs-qsbar-home';
home.href = HOME;
home.textContent = 'Quick Ship Furniture Home';
if (cur === 'home') { home.className = 'eqs-qsbar-home eqs-qsbar-home-on'; home.setAttribute('aria-current', 'page'); }
bar.appendChild(home);
CATS.forEach(function (c) {
var a = document.createElement('a');
a.href = c[2];
// long names break onto two lines on narrower screens (see .eqs-br below)
a.innerHTML = tabHtml(c[1]);
if (c[0] === cur) { a.className = 'eqs-qsbar-on'; a.setAttribute('aria-current', 'page'); }
bar.appendChild(a);
});
addCloseouts(bar);
var spacer = document.createElement('div');
spacer.className = 'eqs-qsbar-spacer';
vm.appendChild(spacer);
vm.appendChild(bar);
// Pin the bar to the top of the window once it scrolls out of view
function pin() {
if (0 >= spacer.getBoundingClientRect().top) {
if (!bar.classList.contains('eqs-fixed')) { spacer.style.height = bar.offsetHeight + 'px'; bar.classList.add('eqs-fixed'); }
} else if (bar.classList.contains('eqs-fixed')) {
bar.classList.remove('eqs-fixed');
spacer.style.height = '0px';
}
}
window.addEventListener('scroll', pin, { passive: true });
window.addEventListener('resize', pin);
pin();
}
function buildHeader() {
var la = document.querySelector('a.logo');
if (la && !la.querySelector('.eqs-ebi-logo')) {
var old = la.querySelector('img');
var box = document.createElement('span');
box.className = 'eqs-ebi-logo';
var im = document.createElement('img');
im.src = LOGO;
im.alt = 'Emerald Business Interiors Quick Ship Furniture';
box.appendChild(im);
if (old) old.replaceWith(box); else la.appendChild(box);
la.setAttribute('href', HOME);
la.setAttribute('title', 'Quick Ship Furniture Home');
}
// V7W: an older NAV copy on the page may have built the logo first; point it at the new file
if (la) { var eli = la.querySelector('.eqs-ebi-logo img'); if (eli && eli.getAttribute('src') !== LOGO) eli.src = LOGO; }
var hc = document.querySelector('.head-contact');
if (hc && !hc.querySelector('.eqs-tag')) {
hc.textContent = '';
var t = document.createElement('div');
t.className = 'eqs-tag';
var hb = document.createElement('b');
hb.textContent = 'Skip the long wait.';
t.appendChild(hb);
['In-stock office furniture', 'that ships in days, not weeks'].forEach(function (x) {
var sp = document.createElement('span');
sp.textContent = x;
t.appendChild(sp);
});
hc.appendChild(t);
}
}
function buildPanel() {
var h1 = document.querySelector('h1.catalog-name');
if (!h1) return;
var name = h1.textContent.trim();
var co = document.body.classList.contains('ex-categoryid-' + CO_ID);
if (co) name = 'Quick Ship Closeouts';
if (/Conference\s*&\s*Training Tables/i.test(name)) name = name.replace(/Conference\s*&\s*Training Tables/i, 'Conference, Occasional, & Training Tables');
name = /^Quick Ship /i.test(name) ? name : 'Quick Ship ' + name;
if (h1.textContent !== name) h1.textContent = name;
if (h1.closest('.eqs-panel')) return;
var panel = document.createElement('div');
panel.className = 'eqs-panel';
h1.parentNode.insertBefore(panel, h1);
panel.appendChild(h1);
if (co) {
panel.classList.add('eqs-co-hero');
var cl = document.createElement('img');
cl.className = 'eqs-co-logo'; cl.src = CO_LOGO; cl.alt = 'Furniture Closeout Deals';
panel.insertBefore(cl, h1);
var sub = document.createElement('p');
sub.className = 'eqs-co-sub'; sub.textContent = 'Limited quantities and exceptional savings.';
panel.appendChild(sub);
}
var sig = document.createElement('div');
sig.className = 'eqs-sig';
sig.setAttribute('aria-label', 'Powered by Emerald Business Interiors');
var rev = document.createElement('div');
rev.className = 'eqs-sig-reveal';
var si = document.createElement('img');
si.src = SIG;
si.alt = 'Powered by Emerald Business Interiors';
rev.appendChild(si);
sig.appendChild(rev);
var line = document.createElement('span');
line.className = 'eqs-sig-line';
line.setAttribute('aria-hidden', 'true');
sig.appendChild(line);
panel.appendChild(sig);
}
function styleFilters() {
var wrap = document.getElementById('filterswrapper');
if (!wrap) return;
var title = wrap.querySelector('.filter-title span');
if (title && title.textContent !== 'Filter Products') title.textContent = 'Filter Products';
if (!wrap.querySelector('.eqs-clear')) {
var q = window.location.search;
var filtered = /[?&](z|keywords|in_stock_only)=/i.test(q);
var box = document.createElement('div');
box.className = 'eqs-clear';
var a = document.createElement('a');
a.href = window.location.pathname;
a.textContent = 'Clear Filters';
if (!filtered) a.className = 'eqs-clear-off';
box.appendChild(a);
var t = wrap.querySelector('.filter-title');
if (t && t.nextSibling) wrap.insertBefore(box, t.nextSibling);
}
}
// ---------- Quick Ship catalog search ----------
function el(tag, cls, txt) {
var e = document.createElement(tag);
if (cls) e.className = cls;
if (txt != null) e.textContent = txt;
return e;
}
function searchIcon() {
var ns = 'http://www.w3.org/2000/svg';
var svg = document.createElementNS(ns, 'svg');
svg.setAttribute('viewBox', '0 0 24 24');
var c = document.createElementNS(ns, 'circle');
c.setAttribute('cx', '10.5'); c.setAttribute('cy', '10.5'); c.setAttribute('r', '6.5');
var p = document.createElementNS(ns, 'path');
p.setAttribute('d', 'M15.5 15.5L21 21');
svg.appendChild(c); svg.appendChild(p);
return svg;
}
// ---------- Quick Ship catalog search (local index) ----------
var INDEX_URL = window.EQS_QS_INDEX_URL || 'https://us.evocdn.io/dealer/1516/content/media/EQS_QS_INDEX_V16.js';
var IMG_BASE = 'https://us.evocdn.io/dealer/1516/';
var SITE = 'https://www.ebsupplies.com/';
// Extra words each category answers to (index order matches EQS_QS_INDEX)
var CAT_WORDS = [
'desk desks', 'seating chair chairs seat', 'table tables', 'workstation workstations cubicle cubicles',
'storage', 'board boards', 'monitor arm arms keyboard tray', 'chair mat mats chairmat', 'educational school classroom student',
'room divider dividers partition partitions privacy screen screens'
];
// Words that only raise the ranking of items already matched by name
var CAT_BOOST = ['', 'stool', 'lectern', '', 'cabinet file filing bookcase locker credenza shelf', 'whiteboard easel', '', 'anti-fatigue standing', '', 'screenflex'];
var CAT_NAMES = ['Desks', 'Seating', 'Tables', 'Workstations', 'Storage', 'Boards', 'Monitor Arms & Keyboard Trays', 'Chair Mats', 'Classroom & Educational', 'Room Dividers'];
var CAT_LINKS = ['1366566', '1366567', '1366568', '1366569', '1366570', '1366571', '1366572', '1366573', '1366574', '1367679'];
var SYN = {
chair: ['chair', 'seat', 'seating', 'stool'], seat: ['seat', 'chair', 'seating', 'stool'], seating: ['seating', 'chair', 'seat', 'stool'],
whiteboard: ['whiteboard', 'dry', 'marker'], dryerase: ['dry', 'whiteboard', 'marker'],
bookcase: ['bookcase', 'bookshelf', 'shelf'], bookshelf: ['bookshelf', 'bookcase', 'shelf'], shelf: ['shelf', 'shelv', 'bookcase'],
cabinet: ['cabinet', 'file', 'pedestal', 'storage'], cubicle: ['cubicle', 'workstation'],
couch: ['sofa', 'couch', 'lounge'], sofa: ['sofa', 'couch', 'lounge'], gray: ['gray', 'grey'], grey: ['grey', 'gray'],
standing: ['standing', 'stand'], conference: ['conference', 'meeting', 'boardroom'],
mat: ['mat', 'chairmat'], drawer: ['drawer', 'file'],
shaped: ['shaped', 'shape'], shape: ['shape', 'shaped'],
metal: ['metal', 'steel'], steel: ['steel', 'metal'], teacher: ['teacher', 'steel']
};
var STOP = { the: 1, a: 1, an: 1, and: 1, with: 1, w: 1, for: 1, in: 1, of: 1, to: 1, on: 1, by: 1 };
function stem(w) {
if (/^\d/.test(w)) return w;
if (w.length > 4 && /ies$/.test(w)) return w.slice(0, -3) + 'y';
if (w.length > 4 && /(ss|x|ch|sh)es$/.test(w)) return w.slice(0, -2);
if (w.length > 3 && /s$/.test(w) && !/ss$/.test(w)) return w.slice(0, -1);
return w;
}
function toks(s) {
return (String(s).toLowerCase().replace(/&/g, ' and ').match(/[a-z]+|\d+(?:\.\d+)?/g) || []).map(stem);
}
var IDX = null, LOADING = null;
function loadIndex() {
if (IDX) return Promise.resolve(IDX);
if (LOADING) return LOADING;
LOADING = new Promise(function (res, rej) {
var X0 = window.EQS_QS_INDEX;
if (X0 && (X0.v >= 3 || X0.i)) return res(X0);
var s = document.createElement('script');
s.src = INDEX_URL;
s.async = true;
s.onload = function () { window.EQS_QS_INDEX ? res(window.EQS_QS_INDEX) : rej(); };
s.onerror = function () { LOADING = null; rej(); };
document.head.appendChild(s);
}).then(function (data) {
var catT = CAT_WORDS.map(toks), boostT = CAT_BOOST.map(toks);
// V7A: never fail on a category number this list doesn't know yet
while (catT.length < 20) catT.push([]);
while (boostT.length < 20) boostT.push([]);
var rows;
if (data.items) {
// EQS_QS_INDEX V2/V3: [sku, title, category, slug, image, delivery, list, family, brand, bullets, extra categories]
rows = data.items.map(function (r) {
var im = String(r[4] || ''), img = /^https?:/.test(im) ? im : (im ? data.ip[+im.charAt(0)] + im.slice(1) : '');
var br = data.brands && r[8] >= 0 ? data.brands[r[8]][0] : '';
var bl = r[9] && data.bul ? String(r[9]).split('.').map(function (k) { return data.bul[+k] || ''; }).join(' ') : '';
return [r[0], r[1], img, r[3], r[2], br + ' ' + bl];
});
} else rows = data.i.map(function (r) { return [r[0], r[1], r[2] ? (/^https?:/.test(r[2]) ? r[2] : IMG_BASE + r[2]) : '', r[3], r[4], '']; });
IDX = rows.map(function (r) {
return { sku: r[0], name: r[1], img: r[2], href: /^https?:/.test(r[3]) ? r[3] : SITE + r[3], c: r[4], nt: toks(r[1] + ' ' + r[0] + ' ' + r[5]), ct: catT[r[4]], bt: boostT[r[4]], sl: r[0].toLowerCase() };
});
return IDX;
});
return LOADING;
}
var PREFIX = false;
function hit(list, q) {
var pre = PREFIX && !/^\d/.test(q);
for (var i = 0; list.length > i; i++) {
if (pre ? list[i].indexOf(q) === 0 : list[i] === q) return true;
}
return false;
}
// Whole-word matches first; partial words only if nothing matches whole
function search(q) {
if (isSupplyQuery(q)) return [];
PREFIX = false;
var r = searchOnce(q);
if (!r.length) { PREFIX = true; r = searchOnce(q); PREFIX = false; }
return r;
}
function searchOnce(q) {
var raw = String(q).trim().toLowerCase();
var terms = toks(raw).filter(function (t) { return !STOP[t]; });
if (!terms.length) return [];
var out = [];
IDX.forEach(function (it, n) {
var rawSku = raw.replace(/[^a-z0-9]/g, '');
if (it.sl === rawSku) { out.push({ it: it, s: 1000, n: n }); return; }
if (rawSku.length > 3 && it.sl.indexOf(rawSku) === 0) { out.push({ it: it, s: 500, n: n }); return; }
var score = 0;
for (var k = 0; terms.length > k; k++) {
var t = terms[k], alts = SYN[t] || [t];
var nameScore = 0, inCat = false, boost = false;
alts.forEach(function (a) {
a = stem(a);
if (hit(it.nt, a)) nameScore = Math.max(nameScore, a === t ? 3 : 2);
if (hit(it.ct, a)) inCat = true;
if (hit(it.bt, a)) boost = true;
});
if (!nameScore && !inCat) return;
score += nameScore + (inCat || (boost && nameScore) ? 2 : 0);
}
if (it.sl.indexOf(raw.replace(/[^a-z0-9]/g, '')) === 0 && raw.length > 2) score += 5;
out.push({ it: it, s: score, n: n });
});
out.sort(function (a, b) { return b.s - a.s || a.n - b.n; });
return out.map(function (o) { return o.it; });
}
// V7U: office-supply searches never return furniture (they belong to the main ebsupplies.com site)
var EQS_SUPPLY_W = 'paper papers copypaper cardstock pencil pencils pen pens marker markers highlighter highlighters crayon crayons toner toners ink inks cartridge cartridges staple staples stapler staplers folder folders binder binders tape envelope envelopes label labels notebook notebooks notepad notepads postit post-it sticky stickies clip clips paperclip paperclips battery batteries scissors calculator calculators coffee tea creamer sugar cup cups napkin napkins plate plates cutlery fork forks spoon spoons towel towels tissue tissues toilet trash liner liners garbage glove gloves soap sanitizer cleaner cleaners disinfectant wipes mop mops broom brooms bleach detergent envelopes index rubberband rubberbands pushpin pushpins thumbtack thumbtacks glue eraser erasers sharpener sharpeners correction whiteout dispenser dispensers bottled water snacks candy laminating pouches shipping mailers bubble boxes'.split(' ');
var EQS_FURN_W = /\b(chair|chairs|desk|desks|table|tables|cabinet|cabinets|file|files|filing|shelf|shelves|shelving|bookcase|bookcases|board|boards|mat|mats|stand|stands|cart|carts|locker|lockers|storage|stool|stools|sofa|bench|lectern|workstation|workstations|divider|dividers|pedestal|credenza|hutch|riser|arm|arms|tray|trays|easel|easels|organizer)\b/i;
function isSupplyQuery(q) {
var s = String(q || '').toLowerCase(); if (EQS_FURN_W.test(s)) return false;
var w = s.replace(/[^a-z0-9\- ]/g, ' ').split(/\s+/).filter(Boolean);
if (/\b(post[\s-]?it|sticky notes?|copy paper|paper towels?|toilet paper|trash bags?|paper clips?|rubber bands?|push pins?|index cards?)\b/.test(s)) return true;
return w.some(function (x) { return EQS_SUPPLY_W.indexOf(x) >= 0; });
}
function isGuestNow() { return !!document.body && /\bex-loggedout\b/.test(document.body.className); }
window.EQS_IS_SUPPLY = isSupplyQuery;
var EBS_SEARCH = '/search?query=';
function itemTile(it) {
var a = el('a', 'eqs-qres-item');
a.href = it.href;
if (it.img) { var im = el('img'); im.src = it.img; im.alt = ''; a.appendChild(im); }
a.appendChild(el('span', '', it.name));
if (CLOSEOUT_SKUS.indexOf(String(it.sku).toUpperCase()) >= 0) a.insertBefore(coTag(), a.firstChild);
return a;
}
function renderResults(box, q, list) {
box.textContent = '';
var head = el('div', 'eqs-qres-head');
head.appendChild(el('span', '', list.length ? list.length + ' Quick Ship match' + (list.length === 1 ? '' : 'es') + ' for “' + q + '”' : 'No Quick Ship matches for “' + q + '”'));
if (list.length) { var all = el('a', 'eqs-qres-all', 'See all ' + list.length + ' results ›'); all.href = HOME + '?q=' + encodeURIComponent(q); head.appendChild(all); }
var x = el('button', 'eqs-qres-x', '×');
x.type = 'button'; x.setAttribute('aria-label', 'Close results');
x.onclick = function () { box.style.display = 'none'; };
head.appendChild(x);
box.appendChild(head);
if (!list.length && isGuestNow() && isSupplyQuery(q)) {
var gm = el('div', 'eqs-qres-msg eqs-qres-ebs');
gm.appendChild(el('p', '', 'Looking for office supplies? Sign in or create an account to shop ebsupplies.com.'));
var gi = el('a', 'eqs-qres-ebsbtn', 'Sign In'); gi.href = '#';
gi.onclick = function (ev) { ev.preventDefault(); var a = [].slice.call(document.querySelectorAll('.shopping-tools-wrapper a, .st-login a')).filter(function (x) { return /^\s*sign in\s*$/i.test(x.textContent); })[0]; if (a) a.click(); else { try { window.jQuery('#loginModal').modal('show'); } catch (er) { location.href = '/login'; } } };
var gr = el('a', 'eqs-qres-ebsbtn', 'Create an Account'); gr.href = '/quickship-account'; gr.style.marginLeft = '8px';
gm.appendChild(gi); gm.appendChild(gr);
box.appendChild(gm);
return;
}
if (!list.length) {
// not furniture, or not in Quick Ship: point to the full Emerald Business Supply search
var m = el('div', 'eqs-qres-msg eqs-qres-ebs');
m.appendChild(el('p', '', 'Quick Ship is our in-stock office furniture. Press Enter or the button to search all of Emerald Business Supply for supplies, technology, breakroom, janitorial and more.'));
var go = el('a', 'eqs-qres-ebsbtn', 'Search Emerald Business Supply for “' + q + '” ›');
go.href = EBS_SEARCH + encodeURIComponent(q);
m.appendChild(go);
m.appendChild(el('p', 'eqs-qres-tip', 'Looking for furniture? Try a broader word, like chair, desk, file, table or board.'));
box.appendChild(m);
return;
}
var groups = {}, order = [];
list.forEach(function (it) {
if (!groups[it.c]) { groups[it.c] = []; order.push(it.c); }
groups[it.c].push(it);
});
order.forEach(function (c) {
var items = groups[c];
var sec = el('div', 'eqs-qres-cat');
var top = el('div', 'eqs-qres-cat-top');
top.appendChild(el('strong', '', 'Quick Ship ' + CAT_NAMES[c] + ' (' + items.length + ')'));
var cat = CATS.filter(function (k) { return k[0] === CAT_LINKS[c]; })[0];
if (cat) { var go = el('a', '', 'Browse ' + CAT_NAMES[c]); go.href = cat[2]; top.appendChild(go); }
sec.appendChild(top);
var wrap = el('div', 'eqs-qres-items');
items.slice(0, 4).forEach(function (it) { wrap.appendChild(itemTile(it)); });
sec.appendChild(wrap);
if (items.length > 4) {
var more = el('button', 'eqs-qres-more', 'Show all ' + items.length + ' in ' + CAT_NAMES[c]);
more.type = 'button';
more.onclick = function () {
items.slice(4).forEach(function (it) { wrap.appendChild(itemTile(it)); });
more.remove();
};
sec.appendChild(more);
}
box.appendChild(sec);
});
}
window.EQS_QSEARCH = function (q) { return loadIndex().then(function () { return search(q).map(function (it) { return it.sku; }); }); };
function runSearch(box, q) {
q = (q || '').trim();
if (q.length === 0) { box.style.display = 'none'; return; }
box.style.display = 'block';
if (!IDX) { box.textContent = ''; box.appendChild(el('div', 'eqs-qres-msg', 'Loading the Quick Ship catalog…')); }
loadIndex().then(function () { renderResults(box, q, search(q)); }, function () {
box.textContent = '';
box.appendChild(el('div', 'eqs-qres-msg', 'Search is unavailable right now. Please browse the categories above.'));
});
}
function buildSearch() {
// an older header script (V6H) may have built its own box first; this one replaces it
var old = document.querySelector('.eqs-qsearch');
if (old && old.getAttribute('data-v') === 'm') return;
if (old) old.remove();
var wrap = el('div', 'eqs-qsearch');
wrap.setAttribute('data-v', 'm');
var form = el('form');
form.setAttribute('role', 'search');
var inp = el('input');
inp.type = 'search';
inp.placeholder = 'Quick Ship Furniture Search';
inp.setAttribute('aria-label', 'Search the Quick Ship catalog');
inp.setAttribute('autocomplete', 'off');
var btn = el('button');
btn.type = 'submit';
btn.appendChild(searchIcon());
btn.appendChild(document.createTextNode('Search'));
form.appendChild(inp); form.appendChild(btn);
var box = el('div', 'eqs-qres');
box.style.display = 'none';
var timer = null;
form.onsubmit = function (e) {
e.preventDefault();
var v = inp.value.trim();
if (!v) return;
clearTimeout(timer);
// nothing in Quick Ship: keep the visitor here and show the Emerald Business Supply search option
// nothing in Quick Ship (copy paper, toner...): take them straight to the Emerald Business Supply search
loadIndex().then(function (all) {
// an exact item number goes straight to that item's product page
var key = v.toUpperCase().replace(/[\s-]+/g, '');
var exact = (all || IDX || []).filter(function (it) { return it.sku.toUpperCase().replace(/[\s-]+/g, '') === key; })[0];
if (exact) { location.href = exact.href; return; }
if (isSupplyQuery(v) && isGuestNow()) { renderResults(box, v, []); box.style.display = ''; return; }
location.href = search(v).length ? HOME + '?q=' + encodeURIComponent(v) : EBS_SEARCH + encodeURIComponent(v); }, function () { location.href = HOME + '?q=' + encodeURIComponent(v); });
};
inp.addEventListener('keydown', function (e) { if (e.key === 'Escape') box.style.display = 'none'; });
var cq = new URLSearchParams(location.search).get('q');
if (cq && document.body.classList.contains('ex-name-quickship')) inp.value = cq;
inp.addEventListener('focus', function () { loadIndex().catch(function () {}); });
inp.addEventListener('input', function () {
clearTimeout(timer);
var v = inp.value.trim();
if (v.length === 0) { box.style.display = 'none'; return; }
if (v.length > 1) timer = setTimeout(function () { runSearch(box, v); }, 250);
});
wrap.appendChild(form); wrap.appendChild(box);
var sc = document.querySelector('.search_container');
var siteSearch = sc && sc.querySelector('section.search');
if (sc && siteSearch) {
siteSearch.style.display = 'none';
sc.appendChild(wrap);
} else {
var h = document.querySelector('.eqs-panel') || document.querySelector('h1.catalog-name');
var host = h ? h.parentNode : document.querySelector('.productsgrid_container');
if (host) host.insertBefore(wrap, h || host.firstChild);
}
}
// ---------- One choice per filter section ----------
function zList(u) {
var m = (u || '').match(/[?&]z=([^]*)/);
return m && m[1] ? decodeURIComponent(m[1]).split(',').filter(Boolean) : [];
}
function withZ(href, list) {
var u = new URL(href, window.location.href);
u.searchParams.delete('p');
if (list.length) u.searchParams.set('z', list.join(','));
else u.searchParams.delete('z');
return u.pathname + (u.search ? u.search.replace(/%2C/gi, ',') : '');
}
function singleSelect(wrap) {
var cur = zList(window.location.search);
if (!cur.length) return;
var secs = Array.prototype.slice.call(wrap.querySelectorAll('.filter-section'));
var attrOf = [];
secs.forEach(function (sec, i) {
attrOf[i] = null;
Array.prototype.slice.call(sec.querySelectorAll('.filter-options label a[href]')).forEach(function (a) {
if (attrOf[i]) return;
var add = zList(a.getAttribute('href')).filter(function (v) { return cur.indexOf(v) === -1; });
if (add.length) attrOf[i] = add[0].split('-')[0];
});
});
var known = attrOf.filter(Boolean);
secs.forEach(function (sec, i) {
var attr = attrOf[i];
var mine = cur.filter(function (v) {
var a = v.split('-')[0];
return attr ? a === attr : known.indexOf(a) === -1;
});
Array.prototype.slice.call(sec.querySelectorAll('.filter-options label a')).forEach(function (a) {
if (a.getAttribute('data-eqs-done')) return;
a.setAttribute('data-eqs-done', '1');
if (a.classList.contains('active')) {
if (!mine.length) return;
a.classList.remove('no-pointer-events');
a.setAttribute('href', withZ(window.location.href, cur.filter(function (v) { return mine.indexOf(v) === -1; })));
a.setAttribute('title', 'Remove this filter');
} else if (attr && a.getAttribute('href')) {
var lz = zList(a.getAttribute('href')).filter(function (v) { return mine.indexOf(v) === -1; });
a.setAttribute('href', withZ(a.getAttribute('href'), lz));
}
});
});
}
function coTag() {
var t = document.createElement('span');
t.className = 'eqs-co-tag'; t.tabIndex = 0;
t.setAttribute('data-tip', CO_TIP); t.setAttribute('aria-label', CO_TIP); t.title = '';
t.textContent = 'Closeout';
t.addEventListener('click', function (e) { e.preventDefault(); e.stopPropagation(); t.focus(); });
return t;
}
var SCX_LOGO = 'https://us.evocdn.io/dealer/1516/content/media/Screenflex-MASTER_logo_1.png';
var SERTA_LOGO = 'https://us.evocdn.io/dealer/1516/content/media/Serta_Logo.svg';
var HON_LOGO = 'https://content.oppictures.com/Master_Images/Master_Variants/Variant_100/HON_LOGO.JPG';
// card titles that should read differently from the EvoX product name
var TITLE_FIX = {"N9NCLALD1056AP": "L-Shape Reception Station, 73\" x 72\", Aspen w/ White Top", "N9NCLALD1056ES": "L-Shape Reception Station, Espresso w/ White Top", "N9NCLALD1056MW": "L-Shape Reception Station, Modern Walnut w/ White Top", "N9NCLALD1056NPG": "L-Shape Reception Station, Newport Gray w/ White Top", "N9NCLALD1056SLB": "L-Shape Reception Station, Silver Birch w/ White Top", "N9NPL245APN": "Flex Storage Credenza, 47.25\" W, Aspen", "N9NPL245CG": "Flex Storage Credenza, 47.25\" W, Coastal Gray", "N9NPL245ESP": "Flex Storage Credenza, 47.25\" W, Espresso", "N9NRISLD1000AS": "Riser L-Shape Desk, 60\" x 66\", Aspen Top, White Base", "N9NRISLD1000CG": "Riser L-Shape Desk, 60\" x 66\", Coastal Gray Top, White Base", "N9NRISLD1000CH": "Riser L-Shape Desk, 60\" x 66\", Cherry Top, White Base", "N9NRISLD1000ES": "Riser L-Shape Desk, 60\" x 66\", Espresso Top, White Base", "N9NRISLD1000MW": "Riser L-Shape Desk, Modern Walnut Top, White Base", "N9NRISLD1000NG": "Riser L-Shape Desk, 60\" x 66\", Newport Gray Top, White Base", "N9NRISLD1000SB": "Riser L-Shape Desk, 60\" x 66\", Silver Birch Top, White Base", "N9NRISSD1000AS": "Riser Double-Pedestal Desk, Aspen Top, White Base", "N9NRISSD1000CG": "Riser Double-Pedestal Desk, Coastal Gray Top, White Base", "N9NRISSD1000CH": "Riser Double-Pedestal Desk, Cherry Top, White Base", "N9NRISSD1000ES": "Riser Double-Pedestal Desk, Espresso Top, White Base", "N9NRISSD1000MW": "Riser Double-Pedestal Desk, Modern Walnut, White Base", "N9NRISSD1000NG": "Riser Double-Pedestal Desk, Newport Gray Top, White Base", "N9NRISSD1000SB": "Riser Double-Pedestal Desk, Silver Birch Top, White Base", "N9NRISUD1003AS": "Riser U-Shape Desk, 60\" x 102\", Aspen Top, White Base", "N9NRISUD1003CG": "Riser U-Shape Desk, Coastal Gray Top, White Base", "N9NRISUD1003CH": "Riser U-Shape Desk, 60\" x 102\", Cherry Top, White Base", "N9NRISUD1003ES": "Riser U-Shape Desk, Espresso Top, White Base", "N9NRISUD1003MW": "Riser U-Shape Desk, Modern Walnut Top, White Base", "N9NRISUD1003NG": "Riser U-Shape Desk, Newport Gray Top, White Base", "N9NRISUD1003SB": "Riser U-Shape Desk, Silver Birch Top, White Base", "OTGLAYOUTSL13ADC": "Reception L-Desk, Glass Top, American Dark Cherry", "OTGLAYOUTSL13AEL": "Reception L-Desk, Glass Top, American Espresso", "OTGLAYOUTSL13AGL": "Reception L-Desk, Glass Top, Artisan Gray", "OTGLAYOUTSL13AML": "Reception L-Desk, Glass Top, American Mahogany", "OTGLAYOUTSL13AWL": "Reception L-Desk, Glass Top, Autumn Walnut", "OTGLAYOUTSL14ADC": "U-Shape Desk, Hanging Files, American Dark Cherry", "OTGLAYOUTSL14AEL": "U-Shape Desk, Hanging Files, American Espresso", "OTGLAYOUTSL14AGL": "U-Shape Desk, Hanging Files, Artisan Gray", "OTGLAYOUTSL14AML": "U-Shape Desk, Hanging Files, American Mahogany", "OTGLAYOUTSL14AWL": "U-Shape Desk, Hanging Files, Autumn Walnut", "OTGLAYOUTSL15ADC": "U-Shape Desk, Hutch, Full Files, American Dark Cherry", "OTGLAYOUTSL15AEL": "U-Shape Desk, Hutch, Full Files, American Espresso", "OTGLAYOUTSL15AGL": "U-Shape Desk, Hutch, Full Files, Artisan Gray", "OTGLAYOUTSL15AML": "U-Shape Desk, Hutch, Full Files, American Mahogany", "OTGLAYOUTSL15AWL": "U-Shape Desk, Hutch, Full Files, Autumn Walnut", "OTGLAYOUTSL16ADC": "U-Shape Bowfront Desk, Full Files, American Dark Cherry", "OTGLAYOUTSL16AEL": "U-Shape Bowfront Desk, Full Files, American Espresso", "OTGLAYOUTSL16AGL": "U-Shape Bowfront Desk, Full Files, Artisan Gray", "OTGLAYOUTSL16AML": "U-Shape Bowfront Desk, Full Files, American Mahogany", "OTGLAYOUTSL16AWL": "U-Shape Bowfront Desk, Full Files, Autumn Walnut", "OTGLAYOUTSL17ADC": "U-Shape Bowfront Desk, Hutch, American Dark Cherry", "OTGLAYOUTSL17AEL": "U-Shape Bowfront Desk, Hutch, American Espresso", "OTGLAYOUTSL17AGL": "U-Shape Bowfront Desk, Hutch, Artisan Gray", "OTGLAYOUTSL17AML": "U-Shape Bowfront Desk, Hutch, American Mahogany", "OTGLAYOUTSL17AWL": "U-Shape Bowfront Desk, Hutch, Autumn Walnut", "OTGLAYOUTSL18ADC": "U-Shape Peninsula Desk, File, American Dark Cherry", "OTGLAYOUTSL18AEL": "U-Shape Peninsula Desk, File, American Espresso", "OTGLAYOUTSL18AGL": "U-Shape Peninsula Desk, File, Artisan Gray", "OTGLAYOUTSL18AML": "U-Shape Peninsula Desk, File, American Mahogany", "OTGLAYOUTSL18AWL": "U-Shape Peninsula Desk, File, Autumn Walnut", "OTGLAYOUTSL19ADC": "U-Shape Peninsula Desk, Hutch, American Dark Cherry", "OTGLAYOUTSL19AEL": "U-Shape Peninsula Desk, Hutch, American Espresso", "OTGLAYOUTSL19AGL": "U-Shape Peninsula Desk, Hutch, Artisan Gray", "OTGLAYOUTSL19AML": "U-Shape Peninsula Desk, Hutch, American Mahogany", "OTGLAYOUTSL19AWL": "U-Shape Peninsula Desk, Hutch, Autumn Walnut", "OTGLAYOUTSL1ADC": "60\" Desk, Mobile File, Modesty Panel, American Dark Cherry", "OTGLAYOUTSL1AEL": "60\" Desk, Mobile File, Modesty Panel, American Elm", "OTGLAYOUTSL1AGL": "60\" Desk, Mobile File, Modesty Panel, Artisan Gray", "OTGLAYOUTSL1AML": "60\" Desk, Mobile File, Modesty Panel, American Mahogany", "OTGLAYOUTSL1AWL": "60\" Desk, Mobile File, Modesty Panel, Autumn Walnut", "OTGLAYOUTSL22ADC": "Bowfront Desk, Credenza, Hutch, American Dark Cherry", "OTGLAYOUTSL22AEL": "Bowfront Desk, Credenza, Hutch, American Espresso", "OTGLAYOUTSL22AGL": "Bowfront Desk, Credenza, Hutch, Artisan Gray", "OTGLAYOUTSL22AML": "Bowfront Desk, Credenza, Hutch, American Mahogany", "OTGLAYOUTSL22AWL": "Bowfront Desk, Credenza, Hutch, Autumn Walnut", "OTGLAYOUTSL23ADC": "Bowfront Desk, Storage, Hutch, American Dark Cherry", "OTGLAYOUTSL23AEL": "Bowfront Desk, Storage, Hutch, American Espresso", "OTGLAYOUTSL23AGL": "Bowfront Desk, Storage, Hutch, Artisan Gray", "OTGLAYOUTSL23AML": "Bowfront Desk, Storage, Hutch, American Mahogany", "OTGLAYOUTSL23AWL": "Bowfront Desk, Storage, Hutch, Autumn Walnut", "OTGLAYOUTSL24ADC": "L-Shape Peninsula Desk, Full File, American Dark Cherry", "OTGLAYOUTSL24AEL": "L-Shape Peninsula Desk, Full File, American Espresso", "OTGLAYOUTSL24AGL": "L-Shape Peninsula Desk, Full File, Artisan Gray", "OTGLAYOUTSL24AML": "L-Shape Peninsula Desk, Full File, American Mahogany", "OTGLAYOUTSL24AWL": "L-Shape Peninsula Desk, Full File, Autumn Walnut", "OTGLAYOUTSL25ADC": "L-Shape Desk, Hutch, Full Files, American Dark Cherry", "OTGLAYOUTSL25AEL": "L-Shape Desk, Hutch, Full Files, American Espresso", "OTGLAYOUTSL25AGL": "L-Shape Desk, Hutch, Full Files, Artisan Gray", "OTGLAYOUTSL25AML": "L-Shape Desk, Hutch, Full Files, American Mahogany", "OTGLAYOUTSL25AWL": "L-Shape Desk, Hutch, Full Files, Autumn Walnut", "OTGLAYOUTSL26ADC": "Reversible L-Desk, Hanging File, American Dark Cherry", "OTGLAYOUTSL26AEL": "Reversible L-Desk, Hanging File, American Espresso", "OTGLAYOUTSL26AGL": "Reversible L-Desk, Hanging File, Artisan Gray", "OTGLAYOUTSL26AML": "Reversible L-Desk, Hanging File, American Mahogany", "OTGLAYOUTSL26AWL": "Reversible L-Desk, Hanging File, Autumn Walnut", "OTGLAYOUTSL27ADC": "L-Shape Desk, Lateral File, American Dark Cherry", "OTGLAYOUTSL27AEL": "L-Shape Desk, Lateral File, American Espresso", "OTGLAYOUTSL27AGL": "L-Shape Desk, Lateral File, Artisan Gray", "OTGLAYOUTSL27AML": "L-Shape Desk, Lateral File, American Mahogany", "OTGLAYOUTSL27AWL": "L-Shape Desk, Lateral File, Autumn Walnut", "OTGLAYOUTSL28ADC": "Reception L-Desk, Laminate Top, American Dark Cherry", "OTGLAYOUTSL28AEL": "Reception L-Desk, Laminate Top, American Espresso", "OTGLAYOUTSL28AGL": "Reception L-Desk, Laminate Top, Artisan Gray", "OTGLAYOUTSL28AML": "Reception L-Desk, Laminate Top, American Mahogany", "OTGLAYOUTSL28AWL": "Reception L-Desk, Laminate Top, Autumn Walnut", "OTGLAYOUTSL2ADC": "71\" Desk, 2 Files, Credenza, American Dark Cherry", "OTGLAYOUTSL2AEL": "71\" Desk, 2 Files, Credenza, American Elm", "OTGLAYOUTSL2AGL": "71\" Desk, 2 Files, Credenza, Artisan Gray", "OTGLAYOUTSL2AML": "71\" Desk, 2 Files, Credenza, American Mahogany", "OTGLAYOUTSL2AWL": "71\" Desk, 2 Files, Credenza, Autumn Walnut", "OTGLAYOUTSL30ADC": "2-Pedestal Desk, Full File, American Dark Cherry", "OTGLAYOUTSL30AEL": "2-Pedestal Desk, Full File, American Espresso", "OTGLAYOUTSL30AGL": "2-Pedestal Desk, Full File, Artisan Gray", "OTGLAYOUTSL30AML": "2-Pedestal Desk, Full File, American Mahogany", "OTGLAYOUTSL30AWL": "2-Pedestal Desk, Full File, Autumn Walnut", "OTGLAYOUTSL31ADC": "2-Pedestal Desk, Hanging File, American Dark Cherry", "OTGLAYOUTSL31AEL": "2-Pedestal Desk, Hanging File, American Espresso", "OTGLAYOUTSL31AGL": "2-Pedestal Desk, Hanging File, Artisan Gray", "OTGLAYOUTSL31AML": "2-Pedestal Desk, Hanging File, American Mahogany", "OTGLAYOUTSL31AWL": "2-Pedestal Desk, Hanging File, Autumn Walnut", "OTGLAYOUTSL32ADC": "Reversible L-Desk, Full File, American Dark Cherry", "OTGLAYOUTSL32AEL": "Reversible L-Desk, Full File, American Espresso", "OTGLAYOUTSL32AGL": "Reversible L-Desk, Full File, Artisan Gray", "OTGLAYOUTSL32AML": "Reversible L-Desk, Full File, American Mahogany", "OTGLAYOUTSL32AWL": "Reversible L-Desk, Full File, Autumn Walnut", "OTGLAYOUTSL33ADC": "71\" x 36\" Desk, Hanging File, American Dark Cherry", "OTGLAYOUTSL33AEL": "71\" x 36\" Desk, Hanging File, American Espresso", "OTGLAYOUTSL33AGL": "71\" x 36\" Desk, Hanging File, Artisan Gray", "OTGLAYOUTSL33AML": "71\" x 36\" Desk, Hanging File, American Mahogany", "OTGLAYOUTSL33AWL": "71\" x 36\" Desk, Hanging File, Autumn Walnut", "COEFL689RE": "Markle Kneespace Credenza, 68\", Espresso", "FLANANCDGGJ": "L-Shaped Computer Corner Desk, 83.5\"", "FLANANWK004": "47.25\" Computer Desk with Keyboard Tray, Black", "FLANANWK055J": "Glass Top Desk, 47.25\" x 23.5\", Metal Pedestal Frame"};
function fixTitles() {
Object.keys(TITLE_FIX).forEach(function (k) {
Array.prototype.slice.call(document.querySelectorAll('.tileparent.product[data-sku="' + k + '" i]')).forEach(function (t) {
Array.prototype.slice.call(t.querySelectorAll('.product-name a, [class$="-title"]')).forEach(function (a) { if (a.textContent !== TITLE_FIX[k]) { a.textContent = TITLE_FIX[k]; a.title = TITLE_FIX[k]; } });
});
});
}
function fixLogos() {
fixTitles();
// Basyx is HON's brand: show the HON logo, sized like the other HON cards
Array.prototype.slice.call(document.querySelectorAll('.tileparent.product .brand-label img[alt*="Basyx" i]')).forEach(function (im) { im.alt = 'HON'; im.src = HON_LOGO; });
// Serta items come through EvoX with no brand logo
Array.prototype.slice.call(document.querySelectorAll('.tileparent.product[data-sku^="SRJ" i]')).forEach(function (t) {
if (t.querySelector('.brand-label img')) return;
var lab = t.querySelector('.brand-label');
if (!lab) {
var row = t.querySelector('[class*="brandrow"]'); if (!row) return;
lab = document.createElement('div'); lab.className = 'brand-label'; row.insertBefore(lab, row.firstChild);
}
var im = document.createElement('img'); im.src = SERTA_LOGO; im.alt = 'Serta'; lab.appendChild(im);
});
}
// Screenflex items come through EvoX as "Own Brand" (or an unreadable logo): show the Screenflex logo
function fixScreenflex() {
Array.prototype.slice.call(document.querySelectorAll('.tileparent.product[data-sku^="SCX" i]')).forEach(function (t) {
if (t.querySelector('.brand-label img[alt="Screenflex"]')) return;
var lab = t.querySelector('.brand-label');
if (!lab) {
var row = t.querySelector('[class*="brandrow"]'); if (!row) return;
lab = document.createElement('div'); lab.className = 'brand-label'; row.insertBefore(lab, row.firstChild);
}
lab.innerHTML = '';
});
}
function tagCloseouts() {
fixScreenflex();
fixLogos();
Array.prototype.slice.call(document.querySelectorAll('.tileparent.product[data-sku], .eqm-fc[data-sku]')).forEach(function (c) {
var on = CLOSEOUT_SKUS.indexOf((c.getAttribute('data-sku') || '').toUpperCase()) >= 0;
var have = c.querySelector(':scope > .eqs-co-tag');
if (on && !have) { if (getComputedStyle(c).position === 'static') c.style.position = 'relative'; c.insertBefore(coTag(), c.firstChild); }
else if (!on && have) have.remove();
});
}
var coTimer = 0;
function watchCloseouts() {
tagCloseouts();
new MutationObserver(function (ms) {
for (var i = 0; ms.length > i; i++) {
var t = ms[i].target;
if (t.nodeType === 1 && t.classList && t.classList.contains('eqs-co-tag')) continue;
clearTimeout(coTimer); coTimer = setTimeout(tagCloseouts, 150); return;
}
}).observe(document.body, { childList: true, subtree: true });
}
function apply() {
var cur = currentId();
if (!cur) return;
document.body.classList.add('eqs-qs');
if (!window.EQS_CO_WATCH) { window.EQS_CO_WATCH = 1; watchCloseouts(); }
['eqs-nav-style', 'eqs-nav-style-v3', 'eqs-nav-style-v5', 'eqs-nav-style-v6', 'eqs-nav-style-v6a', 'eqs-nav-style-v6b', 'eqs-nav-style-v6c', 'eqs-nav-style-v6d', 'eqs-nav-style-v6e', 'eqs-nav-style-v6f', 'eqs-nav-style-v6g', 'eqs-nav-style-v6i'].forEach(function (id) {
var o = document.getElementById(id);
if (o) o.remove();
});
['eqs-nav-style-v6j', 'eqs-nav-style-v6k'].forEach(function (id) { var o = document.getElementById(id); if (o) o.remove(); });
if (!document.getElementById('eqs-nav-style-v6l')) {
var st = document.createElement('style');
st.id = 'eqs-nav-style-v6l';
st.textContent = CSS;
document.head.appendChild(st);
}
var oldBtn = document.querySelector('a.eqs-back-btn');
if (oldBtn) oldBtn.remove();
buildHeader();
if (cur.indexOf('pdp:') === 0) {
// Product page: header, bar (its category marked) and search only
buildBar(cur.slice(4));
buildSearch();
return;
}
buildBar(cur); fitBar();
if (cur === 'home') {
// Landing page: header, bar and search only (the landing content has its own hero)
buildSearch();
homeBox();
return;
}
buildPanel();
buildSearch();
styleFilters();
var fw = document.getElementById('filterswrapper');
if (fw) singleSelect(fw);
}
// Home page "Need furniture?" box: layout C with the team card
var TEAM = 'https://us.evocdn.io/dealer/1516/content/media/EQS_project_box_v2.webp';
function fitTo(el, max, min) {
var z = max; el.style.setProperty('font-size', z + 'px', 'important');
while (z > min && el.scrollWidth > el.clientWidth) { z -= 1; el.style.setProperty('font-size', z + 'px', 'important'); }
}
function fitHead() {
var h = document.querySelector('body.ex-name-quickship form.contact-form.eqs-furniture-native .eqs-form-intro h2.eqs-cta-heading');
if (!h) return;
if (window.innerWidth < 992) { h.style.fontSize = ''; } else { fitTo(h, 58, 18); }
var c = document.querySelector('.eqs-intro-side .eqs-proj-h');
if (c) fitTo(c, 26, 15);
// Emerald logo exactly as wide as the first checklist line
var it = document.querySelector('.eqs-intro-lower.eqs-k .eqs-service-item');
var lg = document.querySelector('.eqs-intro-lower.eqs-k img.eqs-ebi-logo');
if (it && lg && window.innerWidth >= 992) {
var rg = document.createRange(); rg.selectNodeContents(it);
var w = Math.round(rg.getBoundingClientRect().width);
if (w > 120) lg.style.setProperty('width', w + 'px', 'important');
} else if (lg) { lg.style.removeProperty('width'); }
}
function homeBox() {
var row = document.querySelector('.eqs-form-intro .eqs-intro-media-row');
if (!row) return;
if (!row.classList.contains('eqs-k')) {
var lower = row.querySelector('.eqs-intro-lower');
var invite = row.querySelector('.eqs-final-invite');
if (!lower) return;
row.classList.add('eqs-k'); lower.classList.add('eqs-k');
if (invite) invite.remove();
var side = document.createElement('div');
side.className = 'eqs-intro-side';
side.innerHTML = '
Tell us a little about your organization and we\u2019ll set up your account, usually within one business day.
' + 'Your Quick Ship account request has been received. We\u2019ll be in touch, usually within one business day.
' + 'Keep browsing Quick Ship