try{;;_vwo_surveyAssetsBaseUrl="https://cdn.visualwebsiteoptimizer.com/";(function(){window._VWO=window._VWO||{};var aC=window._vwo_code;if(typeof aC==='undefined'){window._vwo_mt='dupCode';return;}if(window._VWO.sCL){window._vwo_mt='dupCode';window._VWO.sCDD=true;try{if(aC){clearTimeout(window._vwo_settings_timer);var h=document.querySelectorAll('#_vis_opt_path_hides');var x=h[h.length>1?1:0];x&&x.remove();}}catch(e){}return;}window._VWO.sCL=true;window._vwo_mt="live"; var gcpfb=function(a,loadFunc,status,err,success){function vwoErr() {_vwo_err({message:"Google_Cdn failing for " + a + ". Trying Fallback..",code:"cloudcdnerr",status:status});} if(a.indexOf("/cdn/")!==-1){loadFunc(a.replace("cdn/",""),err,success); vwoErr(); return true;} else if(a.indexOf("/dcdn/")!==-1&&a.indexOf("evad.js") !== -1){loadFunc(a.replace("dcdn/",""),err,success); vwoErr(); return true;}};window.VWO=window.VWO || [];window.VWO._= window.VWO._ || {};window.VWO._.gcpfb=gcpfb; window._vwo_cdn = "https://dev.visualwebsiteoptimizer.com/cdn/"; window._vwo_apm_debug_cdn = "https://dev.visualwebsiteoptimizer.com/cdn/"; window.VWO._.useCdn = true; window.vwo_eT =  "br"; VWO.load_co=function(a){var b=document.createElement('script');b.src=a;b.crossOrigin='anonymous';b.fetchPriority='high';b.type='text/javascript';b.innerText;b.onerror=function(){if(gcpfb(a,VWO.load_co)){return;}_vwo_code && _vwo_code.finish();};document.getElementsByTagName('head')[0].appendChild(b);};function _vwo_err(e) { var vwo_e = new Image(); vwo_e.src ='https://dev.visualwebsiteoptimizer.com/e.gif?a=950369&s=j.php&_cu=' + encodeURIComponent(window.location.href) + '&e=' + encodeURIComponent(e && e.message && e.message.substring(0, 1000) + '&vn=') + (e && e.code ? '&code=' + e.code : '') + (e && e.type ? '&type=' + e.type : '')+(e && e.status ? '&status=' + e.status : '');} var localPreviewObject = {}; var previewKey = "_vis_preview_950369"; var wL = window.location; try {localPreviewObject[previewKey] = window.localStorage.getItem(previewKey); JSON.parse(localPreviewObject[previewKey])} catch (e) {localPreviewObject[previewKey] = ""};try{window._vwo_tm="";var getMode=function(e){var n;if(window.name.indexOf(e)>-1){n=window.name}else{n = wL.search.match("_vwo_m=([^&]*)");n=n && atob(decodeURIComponent(n[1]))}return n&&JSON.parse(n)};var ccMode = getMode("_vwo_cc");if(window.name.indexOf("_vis_heatmap")>-1||window.name.indexOf("_vis_editor")>-1||ccMode||window.name.indexOf("_vis_preview")>-1){try{ if (window.name && JSON.parse(window.name)) { window._vwo_mt = window.name} else if(ccMode) {window._vwo_mt = decodeURIComponent(wL.search.match("_vwo_m=([^&]*)")[1]);} }catch(e){if(window._vwo_tm)window._vwo_mt=window._vwo_tm}}else if(window._vwo_tm.length){window._vwo_mt=window._vwo_tm}else if(location.href.indexOf("_vis_opt_preview_combination")!==-1&&location.href.indexOf("_vis_test_id")!==-1){window._vwo_mt="sharedPreview"}else if (localPreviewObject[previewKey]) {window._vwo_mt = JSON.stringify(localPreviewObject);} if(window._vwo_mt!=="live"){if(!getMode("_vwo_cc")){_vwo_code.load('https://dev.visualwebsiteoptimizer.com/j.php?mode=' + encodeURIComponent(window._vwo_mt) + '&a=950369&f=1&u=' + encodeURIComponent(window._vis_opt_url||document.URL)+'&x=true');}else{(function(){window._vwo_code&&window._vwo_code.finish();_vwo_ccc={u:"/j.php?a=950369&u=https%3A%2F%2Fwww.emcoplastics.com%2F&vn=2.1&x=true"};var s=document.createElement("script");s.src="https://app.vwo.com/visitor-behavior-analysis/dist/codechecker/cc.min.js?r="+Math.random();document.head.appendChild(s)})()}}}catch(e){var b=new Image;b.src="https://dev.visualwebsiteoptimizer.com/e.gif?s=mode_det&e="+encodeURIComponent(e&&e.stack&&e.stack.substring(0,1e3));aC&&window._vwo_code.finish()}})();if(window._vwo_mt==='live'){;window.VWO = window.VWO || []; window.VWO.push(['modifyClickPauseTime', { time: 0 }]);_vwo_code.sT=_vwo_code.finished();(function(c,a,e,d,b,z,g,sT){if(window.VWO._&&window.VWO._.isBot)return;const cookiePrefix=window._vwoCc&&window._vwoCc.cookiePrefix||"";const useLocalStorage=sT==="ls";const cookieName=cookiePrefix+"_vwo_uuid_v2";const escapedCookieName=cookieName.replace(/([.*+?^${}()|[\]\\])/g,"\\$1");const cookieDomain=g;function getValue(){if(useLocalStorage){return localStorage.getItem(cookieName)}else{const regex=new RegExp("(^|;\\s*)"+escapedCookieName+"=([^;]*)");const match=e.cookie.match(regex);return match?decodeURIComponent(match[2]):null}}function setValue(value,days){if(useLocalStorage){localStorage.setItem(cookieName,value)}else{e.cookie=cookieName+"="+value+"; expires="+new Date(864e5*days+ +new Date).toGMTString()+"; domain="+cookieDomain+"; path=/"}}let existingValue=null;if(sT){const cookieRegex=new RegExp("(^|;\\s*)"+escapedCookieName+"=([^;]*)");const cookieMatch=e.cookie.match(cookieRegex);const cookieValue=cookieMatch?decodeURIComponent(cookieMatch[2]):null;const lsValue=localStorage.getItem(cookieName);if(useLocalStorage){if(lsValue){existingValue=lsValue;if(cookieValue){e.cookie=cookieName+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; domain="+cookieDomain+"; path=/"}}else if(cookieValue){localStorage.setItem(cookieName,cookieValue);e.cookie=cookieName+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; domain="+cookieDomain+"; path=/";existingValue=cookieValue}}else{if(cookieValue){existingValue=cookieValue;if(lsValue){localStorage.removeItem(cookieName)}}else if(lsValue){e.cookie=cookieName+"="+lsValue+"; expires="+new Date(864e5*366+ +new Date).toGMTString()+"; domain="+cookieDomain+"; path=/";localStorage.removeItem(cookieName);existingValue=lsValue}}a=existingValue||a||""}else{const regex=new RegExp("(^|;\\s*)"+escapedCookieName+"=([^;]*)");const match=e.cookie.match(regex);a=match?decodeURIComponent(match[2]):(a||"")}if(a&&-1==e.cookie.indexOf("_vis_opt_out")&&-1==d.location.href.indexOf("vwo_opt_out=1")){a=a.split("|");b=new Image;g=window._vis_opt_domain||c||d.location.hostname.replace(/^www\./,"");b.src="https://dev.visualwebsiteoptimizer.com/v.gif?cd="+(window._vis_opt_cookieDays||0)+"&a=950369&d="+encodeURIComponent(d.location.hostname.replace(/^www\./,"") || c)+"&u="+a[0]+"&h="+a[1]+"&t="+z;d.vwo_iehack_queue=[b];setValue(a.join("|"),366)}})("emcoplastics.com","D2A2C0866BDD40DFED758B29A42D0BEF9|e2c0948371e237b5a71b44c357e37a90",document,window,0,_vwo_code.sT,"emcoplastics.com",null);var _vwo_acc_id=950369;
clearTimeout(_vwo_settings_timer);_vwo_exp_ids=[],_vwo_exp={};window.VWO=window.VWO||[];
function _vwo_err(e) { var vwo_e = new Image(); vwo_e.src ='https://dev.visualwebsiteoptimizer.com/e.gif?a=950369&s=j.php&_cu=' + encodeURIComponent(window.location.href) + '&e=' + encodeURIComponent(e && e.message && e.message.substring(0, 1000) + '&vn=') + (e && e.code ? '&code=' + e.code : '') + (e && e.type ? '&type=' + e.type : '')+(e && e.status ? '&status=' + e.status : '');}window.VWO.data={"noSS":false,"ts":1768420387,"tpc":{}};window.VWO.featureInfo={};_vwo_exp_ids.push('2');_vwo_exp['2']={"comb_n":{"1":"Control","2":"Variation-B"},"pgre":true,"status":"RUNNING","multiple_domains":0,"ibe":0,"clickmap":0,"segment_code":"true","muts":{"post":{"enabled":true,"refresh":true}},"exclude_url":"","globalCode":[],"name":"002- Sitewide Navigation Update","urlRegex":"^.*https\\:\\\/\\\/emcoplastics.*$","ss":null,"ps":true,"ep":1740431587000,"version":4,"pc_traffic":100,"manual":false,"goals":{"5":{"excludeUrl":"","type":"SEPARATE_PAGE","urlRegex":"^https\\:\\\/\\\/emcoplastics\\.com\\\/ty\\-rfq\\\/?(?:[\\?#].*)?$"},"6":{"excludeUrl":"","type":"SEPARATE_PAGE","urlRegex":"^https\\:\\\/\\\/emcoplastics\\.com\\\/materials\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/plastics\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/rubber\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/tubing\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/foam\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/capabilities\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/cut\\-to\\-size\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/displays\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/machine\\-guard\\-covers\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/laser\\-cutting\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/cnc\\-machined\\-components\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/cnc\\-routing\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/custom\\-fabrication\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/plastic\\-welding\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/edge\\-finishing\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/drape\\-forming\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/vacuum\\-forming\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/value\\-added\\-services\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/sealing\\-and\\-gaskets\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/injection\\-molding\\\/?(?:[\\?#].*)?$"},"7":{"excludeUrl":"","type":"SEPARATE_PAGE","urlRegex":"^https\\:\\\/\\\/emcoplastics\\.com\\\/industries\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/aerospace\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/alternative\\-energy\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/automotive\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/building\\-and\\-construction\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/chemical\\-processing\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/electrical\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/fluid\\-handling\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/food\\-beverage\\-industry\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/heavy\\-equipment\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/marine\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/medical\\-grade\\-plastic\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/oem\\-industries\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/oil\\-and\\-gas\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/packaging\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/semiconductor\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/water\\-and\\-wastewater\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/company\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/blog\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/gallery\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/privacy\\-statement\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/resources\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/terms\\-and\\-conditions\\\/?(?:[\\?#].*)?$"},"2":{"excludeUrl":"","type":"SEPARATE_PAGE","urlRegex":"^https\\:\\\/\\\/emcoplastics\\.com\\\/contact\\-us\\\/?(?:[\\?#].*)?$|^https\\:\\\/\\\/emcoplastics\\.com\\\/rfq\\\/?(?:[\\?#].*)?$"},"4":{"excludeUrl":"","type":"SEPARATE_PAGE","urlRegex":"^https\\:\\\/\\\/emcoplastics\\.com\\\/thank\\-you\\-contact\\\/?(?:[\\?#].*)?$"}},"combs":{"1":0.5,"2":0.5},"isEventMigrated":true,"varSegAllowed":false,"isSpaRevertFeatureEnabled":false,"sections":{"1":{"variations":{"1":"[]","2":"[{\"js\":\"<script type='text\\\/javascript'>!function(e){function s(){window.innerWidth>1080?(e(\\\".has-submenu\\\").off(\\\"mouseenter mouseleave\\\").hover((function(){e(this).children(\\\"ul\\\").stop(!0,!0).slideDown(200).css({display:\\\"block\\\"})}),(function(){e(this).children(\\\"ul\\\").stop(!0,!0).slideUp(200)})),e(\\\".has-submenu > a\\\").off(\\\"click\\\")):(e(\\\".has-submenu > a .arrow\\\").off(\\\"click\\\").on(\\\"click\\\",(function(s){s.preventDefault(),s.stopPropagation();var o=e(this).closest(\\\"a\\\").next(\\\"ul\\\");o.is(\\\":visible\\\")?(o.slideUp(200).removeClass(\\\"open\\\"),e(this).removeClass(\\\"rotate\\\")):(e(\\\".has-submenu ul\\\").slideUp(200).removeClass(\\\"open\\\"),e(\\\".has-submenu .arrow\\\").removeClass(\\\"rotate\\\"),o.slideDown(200).addClass(\\\"open\\\"),e(this).addClass(\\\"rotate\\\"))})),e(\\\".has-submenu > a\\\").off(\\\"click\\\").on(\\\"click\\\",(function(s){e(s.target).hasClass(\\\"arrow\\\")&&s.preventDefault()})),e(document).off(\\\"click\\\").on(\\\"click\\\",(function(s){e(s.target).closest(\\\".has-submenu\\\").length||(e(\\\".has-submenu ul\\\").slideUp(200).removeClass(\\\"open\\\"),e(\\\".has-submenu .arrow\\\").removeClass(\\\"rotate\\\"))})))}e(document).ready(s),e(window).resize(s)}(jQuery);<\\\/script><style vwocspn=\\\"@tkn\\\" >\\n\\n.nav-gdd-004-b{\\n    display:block !important;\\n}\\n.nav-gdd-004-a{\\n    display:none;\\n}\\n\\n.nav-gdd-004-b .header .mainNav > ul  li  ul li{\\n    padding:5px 0\\n}\\n.nav-gdd-004-b .header .mainNav > ul > li  ul li > a{\\n    font-size:16px;\\n    font-weight:500;\\n    letter-spacing:0;\\n    color:#000;\\n    border:none;\\n    line-height:19px;\\n    padding:9px 20px;\\n\\n}\\n\\n.nav-gdd-004-b .header .mainNav > ul > li  ul li:hover > a{\\n    background-color:#0362C3;\\n    color:#fff\\n}\\n.has-submenu > a {\\n    position: relative;\\n    padding-right: 15px;\\n}\\n.has-submenu .arrow {\\n    font-size: 12px;\\n    display: inline-block !important;\\n}\\n.rotate {\\n    transform: rotate(180deg);\\n}\\n\\n\\n .nav-gdd-004-b .header .mainNav > ul > li:nth-last-child(2) ul{\\n    column-count:unset;\\n    min-width:220px; \\n}\\n.nav-gdd-004-b .header .mainNav > ul > li:nth-child(2) ul{\\n    column-count:unset;\\n    min-width:220px; \\n}\\n\\n.nav-gdd-004-b .header .mainNav > ul  li  ul {\\n    overflow:unset;\\n    background-color:#fff;\\n    max-height:unset;\\n    min-width:452px;\\n    column-count:2;\\n    gap:20px;\\n    padding:15px 0;\\n    box-shadow: 0px 0px 10px 0px #00000080;\\n\\n}\\n\\n@media only screen and (max-width: 1079px) {\\n    .nav-gdd-004-b .header .mainNav > ul  li  ul {\\n        column-count: unset;\\n        min-width: 80%;\\n        z-index:3;\\n        left:50%;\\n        transform:translateX(-50%) ;\\n        overflow-y: scroll;\\n        max-height: 250px;\\n\\n    }\\n    .nav-gdd-004-b .header .mainNav > ul > li:nth-last-child(2) ul{\\n        column-count:unset;\\n        min-width:80%; \\n        left:50%;\\n        transform:translateX(-50%) ;\\n        z-index:3;\\n        overflow-y: scroll;\\n        max-height: 250px;\\n    }\\n    .nav-gdd-004-b .header .mainNav > ul > li:nth-child(2) ul{\\n        column-count:unset;\\n        min-width:80%;\\n        left:50%;\\n        transform:translateX(-50%) ;\\n        z-index:3;\\n        overflow-y: scroll;\\n        max-height: 250px;\\n    }\\n\\n}\\n.header .mainNav > ul > li > a{\\n    padding:0 8px !important;\\n}\\n.header .mainNav > ul > li.active > a{\\n      border-bottom: 3px solid #B3C60A;  \\n}\\n\\n.header .mainNav > ul > li:hover > a, .header .mainNav > ul > li > a:hover {\\nborder-bottom: 3px solid #B3C60A; \\n}\\n\\n<\\\/style>\",\"xpath\":\"HEAD\"},{\"js\":\"\",\"xpath\":\".nav-gdd-004-b,.nav-gdd-004-a,.nav-gdd-004-b .header .mainNav > ul  li  ul li,.nav-gdd-004-b .header .mainNav > ul > li  ul li > a,.has-submenu > a,.has-submenu .arrow,.rotate,.nav-gdd-004-b .header .mainNav > ul > li:nth-last-child(2) ul,.nav-gdd-004-b .header .mainNav > ul > li:nth-child(2) ul,.nav-gdd-004-b .header .mainNav > ul  li  ul,.header .mainNav > ul > li > a,.header .mainNav > ul > li.active > a\"}]"},"path":"","segmentObj":[],"segment":{"1":1,"2":1}}},"type":"VISUAL_AB"};var vwoCode = window._vwo_code; if(vwoCode.filterConfig && vwoCode.filterConfig.filterTime==='balanced'){ vwoCode.removeLoaderAndOverlay && vwoCode.removeLoaderAndOverlay()};var _vwo_style=document.getElementById('_vis_opt_path_hides'),_vwo_css = window._vwo_el_style || ((vwoCode.hide_element_style ? vwoCode.hide_element_style() :'{opacity:0 !important;filter:alpha(opacity=0) !important;background:none !important;transition:none !important;}') + ':root {--vwo-el-opacity:0 !important;--vwo-el-filter:alpha(opacity=0) !important;--vwo-el-bg:none !important;--vwo-el-ts:none !important;}');
var _vwo_text=".nav-gdd-004-b,.nav-gdd-004-a,.nav-gdd-004-b .header .mainNav > ul  li  ul li,.nav-gdd-004-b .header .mainNav > ul > li  ul li > a,.has-submenu > a,.has-submenu .arrow,.rotate,.nav-gdd-004-b .header .mainNav > ul > li:nth-last-child(2) ul,.nav-gdd-004-b .header .mainNav > ul > li:nth-child(2) ul,.nav-gdd-004-b .header .mainNav > ul  li  ul,.header .mainNav > ul > li > a,.header .mainNav > ul > li.active > a" +_vwo_css ;  if(_vwo_style){var vwo_dv=_vwo_style.classList.contains('_vis_hide_layer') && _vwo_style;if(vwo_dv) {var vwo_a=_vwo_style=document.createElement('style'),vwo_h=document.getElementsByTagName('head')[0],vwoCodeEl=document.querySelector('#vwoCode');vwo_a.setAttribute('id', '_vis_opt_path_hides');vwoCodeEl && vwo_a.setAttribute('nonce', vwoCodeEl.nonce); vwo_a.setAttribute('type', 'text/css');vwo_h.appendChild(vwo_a);}if (_vwo_style.styleSheet) {_vwo_style.styleSheet.cssText = _vwo_text} else {var _vwo_textnode=document.createTextNode(_vwo_text);_vwo_style.appendChild(_vwo_textnode);}vwo_dv?vwo_dv.parentNode.removeChild(vwo_dv) : _vwo_style.removeChild(_vwo_style.childNodes[0])}
var _vwo_geo2 = {city:"Ashburn",country:"US",region:"VA",postal_code:"20149"};var commonWrapper=function(argument){if(!argument){argument={valuesGetter:function(){return{}},valuesSetter:function(){},verifyData:function(){return{}}}}var getVisitorUuid=function(){if(window._vwo_acc_id>=1037725){return window.VWO&&window.VWO.get("visitor.id")}else{return window.VWO._&&window.VWO._.cookies&&window.VWO._.cookies.get("_vwo_uuid")}};var pollInterval=100;var timeout=6e4;return function(){var accountIntegrationSettings={};var _interval=null;function waitForAnalyticsVariables(){try{accountIntegrationSettings=argument.valuesGetter();accountIntegrationSettings.visitorUuid=getVisitorUuid()}catch(error){accountIntegrationSettings=undefined}if(accountIntegrationSettings&&argument.verifyData(accountIntegrationSettings)){argument.valuesSetter(accountIntegrationSettings);return 1}return 0}var currentTime=0;_interval=setInterval((function(){currentTime=currentTime||performance.now();var result=waitForAnalyticsVariables();if(result||performance.now()-currentTime>=timeout){clearInterval(_interval)}}),pollInterval)}};
        var pushBasedCommonWrapper=function(argument){var firedCamp={};if(!argument){argument={integrationName:"",getExperimentList:function(){},accountSettings:function(){},pushData:function(){}}}return function(){window.VWO=window.VWO||[];var getVisitorUuid=function(){if(window._vwo_acc_id>=1037725){return window.VWO&&window.VWO.get("visitor.id")}else{return window.VWO._&&window.VWO._.cookies&&window.VWO._.cookies.get("_vwo_uuid")}};var sendDebugLogsOld=function(expId,variationId,errorType,user_type,data){try{var errorPayload={f:argument["integrationName"]||"",a:window._vwo_acc_id,url:window.location.href,exp:expId,v:variationId,vwo_uuid:getVisitorUuid(),user_type:user_type};if(errorType=="initIntegrationCallback"){errorPayload["log_type"]="initIntegrationCallback";errorPayload["data"]=JSON.stringify(data||"")}else if(errorType=="timeout"){errorPayload["timeout"]=true}if(window.VWO._.customError){window.VWO._.customError({msg:"integration debug",url:window.location.href,lineno:"",colno:"",source:JSON.stringify(errorPayload)})}}catch(e){window.VWO._.customError&&window.VWO._.customError({msg:"integration debug failed",url:"",lineno:"",colno:"",source:""})}};var sendDebugLogs=function(expId,variationId,errorType,user_type){var eventName="vwo_debugLogs";var eventPayload={};try{eventPayload={intName:argument["integrationName"]||"",varId:variationId,expId:expId,type:errorType,vwo_uuid:getVisitorUuid(),user_type:user_type};if(window.VWO._.event){window.VWO._.event(eventName,eventPayload,{enableLogs:1})}}catch(e){eventPayload={msg:"integration event log failed",url:window.location.href};window.VWO._.event&&window.VWO._.event(eventName,eventPayload)}};var callbackFn=function(data){if(!data)return;var expId=data[1],variationId=data[2],repeated=data[0],singleCall=0,debug=0;var experimentList=argument.getExperimentList();var integrationName=argument["integrationName"]||"vwo";if(typeof argument.accountSettings==="function"){var accountSettings=argument.accountSettings();if(accountSettings){singleCall=accountSettings["singleCall"];debug=accountSettings["debug"]}}if(debug){sendDebugLogs(expId,variationId,"intCallTriggered",repeated);sendDebugLogsOld(expId,variationId,"initIntegrationCallback",repeated)}if(singleCall&&(repeated==="vS"||repeated==="vSS")||firedCamp[expId]){return}window.expList=window.expList||{};var expList=window.expList[integrationName]=window.expList[integrationName]||[];if(expId&&variationId&&["VISUAL_AB","VISUAL","SPLIT_URL"].indexOf(_vwo_exp[expId].type)>-1){if(experimentList.indexOf(+expId)!==-1){firedCamp[expId]=variationId;var visitorUuid=getVisitorUuid();var pollInterval=100;var currentTime=0;var timeout=6e4;var user_type=_vwo_exp[expId].exec?"vwo-retry":"vwo-new";var interval=setInterval((function(){if(expList.indexOf(expId)!==-1){clearInterval(interval);return}currentTime=currentTime||performance.now();var toClearInterval=argument.pushData(expId,variationId,visitorUuid);if(debug&&toClearInterval){sendDebugLogsOld(expId,variationId,"",user_type);sendDebugLogs(expId,variationId,"intDataPushed",user_type)}var isTimeout=performance.now()-currentTime>=timeout;if(isTimeout&&debug){sendDebugLogsOld(expId,variationId,"timeout",user_type);sendDebugLogs(expId,variationId,"intTimeout",user_type)}if(toClearInterval||isTimeout){clearInterval(interval)}if(toClearInterval){window.expList[integrationName].push(expId)}}),pollInterval||100)}}};window.VWO.push(["onVariationApplied",callbackFn]);window.VWO.push(["onVariationShownSent",callbackFn])}};
    var surveyDataCommonWrapper=function(argument){window._vwoFiredSurveyEvents=window._vwoFiredSurveyEvents||{};if(!argument){argument={getCampaignList:function(){return[]},surveyStatusChange:function(){},answerSubmitted:function(){}}}return function(){window.VWO=window.VWO||[];function getValuesFromAnswers(answers){return answers.map((function(ans){return ans.value}))}function generateHash(str){var hash=0;for(var i=0;i<str.length;i++){hash=(hash<<5)-hash+str.charCodeAt(i);hash|=0}return hash}function getEventKey(data,status){if(status==="surveySubmitted"){var values=getValuesFromAnswers(data.answers).join("|");return generateHash(data.surveyId+"_"+data.questionText+"_"+values)}else{return data.surveyId+"_"+status}}function commonSurveyCallback(data,callback,surveyStatus){if(!data)return;var surveyId=data.surveyId;var campaignList=argument.getCampaignList();if(surveyId&&campaignList.indexOf(+surveyId)!==-1){var eventKey=getEventKey(data,surveyStatus);if(window._vwoFiredSurveyEvents[eventKey])return;window._vwoFiredSurveyEvents[eventKey]=true;var surveyData={accountId:data.accountId,surveyId:data.surveyId,uuid:data.uuid};if(surveyStatus==="surveySubmitted"){Object.assign(surveyData,{questionType:data.questionType,questionText:data.questionText,answers:data.answers,answersValue:getValuesFromAnswers(data.answers),skipped:data.skipped})}var pollInterval=100;var currentTime=0;var timeout=6e4;var interval=setInterval((function(){currentTime=currentTime||performance.now();var done=callback(surveyId,surveyStatus,surveyData);var expired=performance.now()-currentTime>=timeout;if(done||expired){window._vwoFiredSurveyEvents[eventKey]=true;clearInterval(interval)}}),pollInterval)}}window.VWO.push(["onSurveyShown",function(data){commonSurveyCallback(data,argument.surveyStatusChange,"surveyShown")}]);window.VWO.push(["onSurveyCompleted",function(data){commonSurveyCallback(data,argument.surveyStatusChange,"surveyCompleted")}]);window.VWO.push(["onSurveyAnswerSubmitted",function(data){commonSurveyCallback(data,argument.answerSubmitted,"surveySubmitted")}])}};
    (function(){var VWOOmniTemp={};window.VWOOmni=window.VWOOmni||{};for(var key in VWOOmniTemp)Object.prototype.hasOwnProperty.call(VWOOmniTemp,key)&&(window.VWOOmni[key]=VWOOmniTemp[key]);;})();(function(){window.VWO=window.VWO||[];var pollInterval=100;var _vis_data={};var intervalObj={};var analyticsTimerObj={};var experimentListObj={};window.VWO.push(["onVariationApplied",function(data){if(!data){return}var expId=data[1],variationId=data[2];if(expId&&variationId&&["VISUAL_AB","VISUAL","SPLIT_URL"].indexOf(window._vwo_exp[expId].type)>-1){}}])})();window.VWO.data.vi = window.VWO.data.vi || {"os":"Other","dt":"spider","br":"Other","de":"Other"};
;window._VWO = window._VWO || {};window._VWO.fSeg = {};window._VWO.dcdnUrl = '/dcdn/settings.js';window.VWO.sTs = '1768380208';window.VWO.push(['enableSPA']);
var _vwo_cookieDomain = 'emcoplastics.com', _vwo_uuid = 'D2A2C0866BDD40DFED758B29A42D0BEF9';window.VWO.data.as = "r3.visualwebsiteoptimizer.com";var _vwo_library_timer = setTimeout(function () { var vwoCode = window._vwo_code; vwoCode.removeLoaderAndOverlay && vwoCode.removeLoaderAndOverlay(); vwoCode.finish()}, vwoCode.library_tolerance && typeof vwoCode.library_tolerance() !== 'undefined' ? vwoCode.library_tolerance() : 2500);var _vis_opt_file = 'web/djIkdGU6Ny4wOmFzeW5jJWdxdWVyeQ==/tag-20d820caab2c23f91e9dc92beac17767br.js',_vis_opt_lib = (typeof _vis_opt_lib=='undefined')?'https://dev.visualwebsiteoptimizer.com/cdn/'+_vis_opt_file:_vis_opt_lib;var loadLib=function(a){_vwo_code.load(a, {dSC: true,onloadCb:function(xhr,a){if(xhr.status===200||xhr.status===304){_vwo_code.addScript({text:xhr.responseText});}else{window.VWO._.gcpfb(a,loadLib,xhr.status)}},onerrorCb:function(a){window.VWO._.gcpfb(a,loadLib)}})};loadLib(_vis_opt_lib);;window.VWO=window.VWO||[];window.VWO._=window.VWO._||{};VWO._.ac=VWO._.ac||{};; 
window.VWO = window.VWO || [];
window.VWO.data = window.VWO.data || {};
VWO.data.content={"fns":{"list":{"args":{"1":{}},"vn":1}}};;window.VWO = window.VWO||[];window.VWO._=window.VWO._||{};VWO._.ac=VWO._.ac||{};VWO._.ac.dNdOfst=1000;;window.VWO.data.SCC='{"cache":0}';}}catch(e){_vwo_code.finish(); _vwo_code.removeLoaderAndOverlay && _vwo_code.removeLoaderAndOverlay(); var vwo_e=new Image;vwo_e.src="https://dev.visualwebsiteoptimizer.com/e.gif?a=950369&s=j.php&e="+encodeURIComponent(e && e.message && e.message.substring(0,1000))+"&url"+encodeURIComponent(window.location.href)}