var lpMTagConfig={lpServer:"sales.liveperson.net",lpNumber:"73919624",lpProtocol:(document.location.toString().indexOf("https:")==0)?"https":"http",lpTagLoaded:false,pageStartTime:(new Date()).getTime()};function lpAddMonitorTag(B){if(!lpMTagConfig.lpTagLoaded){if(typeof (B)=="undefined"||typeof (B)=="object"){B=lpMTagConfig.lpMTagSrc?lpMTagConfig.lpMTagSrc:"/hcp/html/mTag.js";}if(B.indexOf("http")!=0){B=lpMTagConfig.lpProtocol+"://"+lpMTagConfig.lpServer+B+"?site="+lpMTagConfig.lpNumber;}else{if(B.indexOf("site=")<0){if(B.indexOf("?")<0){B=B+"?";}else{B=B+"&";}B=B+"site="+lpMTagConfig.lpNumber;}}var A=document.createElement("script");A.setAttribute("type","text/javascript");A.setAttribute("charset","iso-8859-1");A.setAttribute("src",B);document.getElementsByTagName("head").item(0).appendChild(A);}}lpMTagConfig.calculateSentPageTime=function(){var A=(new Date()).getTime()-lpMTagConfig.pageStartTime;lpAddVars("page","pageLoadTime",Math.round(A/1000)+" sec");};if(window.attachEvent){window.attachEvent("onload",lpMTagConfig.calculateSentPageTime);}else{window.addEventListener("load",lpMTagConfig.calculateSentPageTime,false);}if(window.attachEvent){window.attachEvent("onload",lpAddMonitorTag);}else{window.addEventListener("load",lpAddMonitorTag,false);}if(typeof (lpMTagConfig.pageVar)=="undefined"){lpMTagConfig.pageVar=new Array();}if(typeof (lpMTagConfig.sessionVar)=="undefined"){lpMTagConfig.sessionVar=new Array();}if(typeof (lpMTagConfig.visitorVar)=="undefined"){lpMTagConfig.visitorVar=new Array();}if(typeof (lpMTagConfig.onLoadCode)=="undefined"){lpMTagConfig.onLoadCode=new Array();}if(typeof (lpMTagConfig.dynButton)=="undefined"){lpMTagConfig.dynButton=new Array();}function lpAddVars(B,A,C){if(A.indexOf("OrderTotal")!=-1||A.indexOf("OrderNumber")!=-1){if(C==""||C==0){return ;}else{lpMTagConfig.sendCookies=false;}}C=lpTrimSpaces(C.toString());switch(B){case"page":lpMTagConfig.pageVar[lpMTagConfig.pageVar.length]=escape(A)+"="+escape(C);break;case"session":lpMTagConfig.sessionVar[lpMTagConfig.sessionVar.length]=escape(A)+"="+escape(C);break;case"visitor":lpMTagConfig.visitorVar[lpMTagConfig.visitorVar.length]=escape(A)+"="+escape(C);break;}}function onloadEMT(){var A=document.cookie;if(lpMTag.lpBrowser=="IE"&&A.length>1000){lpMTagConfig.sendCookies=false;}}function lpTrimSpaces(A){return A.replace(/^\s+|\s+$/g,"");}function lpSendData(B,A,C){if(typeof (lpMTag)!="undefined"&&typeof (lpMTag.lpSendData)!="undefined"){lpMTag.lpSendData(B.toUpperCase()+"VAR!"+A+"="+C,true);}}lpMTagConfig.ifVisitorCode=[];try{if(typeof (lpUnit)=="undefined"){var lpUnit="electronics-sales";}if(typeof (lpAddVars)!="undefined"){lpAddVars("page","unit",lpUnit);}if(typeof (lpLanguage)=="undefined"){var lpLanguage="english";}if(typeof (lpAddVars)!="undefined"){lpAddVars("session","language",lpLanguage);}lpMTagConfig.defaultInvite="chat-"+lpUnit+"-"+lpLanguage;}catch(e){}lpMTagConfig.onLoadCode[lpMTagConfig.onLoadCode.length]=onloadEMT;if(typeof (lpMTagConfig.dynButton)!="undefined"){lpMTagConfig.dynButton[lpMTagConfig.dynButton.length]={name:"chat-"+lpUnit+"-"+lpLanguage,pid:"button-electronics-div",afterStartPage:true};lpMTagConfig.dynButton[lpMTagConfig.dynButton.length]={name:"chat-"+lpUnit+"-"+lpLanguage+"-2",pid:"button-electronics-2-div",afterStartPage:true};}