//=============================== // Kayako LiveResponse // Copyright (c) 2001-2012 // http://www.kayako.com // License: http://www.kayako.com/license.txt //=============================== var sessionid_754711t8 = "y3xsqfxx6190kgppanmsihhlp2uqsi98"; var geoip_754711t8 = new Array(); geoip_754711t8[3] = "JAB Wireless"; geoip_754711t8[4] = "JAB Wireless"; geoip_754711t8[5] = "US"; geoip_754711t8[12] = "United States"; geoip_754711t8[6] = "Colorado"; geoip_754711t8[1] = "Longmont"; geoip_754711t8[7] = ""; geoip_754711t8[8] = "40.1718"; geoip_754711t8[9] = "-105.1052"; geoip_754711t8[10] = "751"; geoip_754711t8[11] = "303"; geoip_754711t8[13] = ""; var hasnotes_754711t8 = "0"; var isnewsession_754711t8 = "1"; var repeatvisit_754711t8 = "1"; var lastvisittimeline_754711t8 = "0"; var lastchattimeline_754711t8 = "0"; var isfirsttime_754711t8 = 1; var timer_754711t8 = 0; var imagefetch_754711t8 = 19; var updateurl_754711t8 = ""; var screenHeight = window.screen.availHeight; var screenWidth = window.screen.availWidth; var colorDepth = window.screen.colorDepth; var timeNow = new Date(); var referrer = escape(document.referrer); var windows, mac, linux; var ie, op, moz, misc, browsercode, browsername, browserversion, operatingsys; var dom, ienew, ie4, ie5, ie6, ie7, ie8, moz_rv, moz_rv_sub, ie5mac, ie5xwin, opnu, op4, op5, op6, op7, op8, op9, op10, saf, konq, chrome, ch1, ch2, ch3; var appName, appVersion, userAgent; var appname = navigator.appName; var appVersion = navigator.appVersion; var userAgent = navigator.userAgent; var dombrowser = "default"; var isChatRunning_754711t8 = 0; var title = document.title; var proactiveImageUse_754711t8 = new Image(); windows = (appVersion.indexOf('Win') != -1); mac = (appVersion.indexOf('Mac') != -1); linux = (appVersion.indexOf('Linux') != -1); if (!document.layers) { dom = (document.getElementById ) ? document.getElementById : false; } else { dom = false; } var myWidth = 0, myHeight = 0; if( typeof( window.innerWidth ) == 'number' ) { //Non-IE myWidth = window.innerWidth; myHeight = window.innerHeight; } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) { //IE 6+ in 'standards compliant mode' myWidth = document.documentElement.clientWidth; myHeight = document.documentElement.clientHeight; } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) { //IE 4 compatible myWidth = document.body.clientWidth; myHeight = document.body.clientHeight; } winH = myHeight; winW = myWidth; misc=(appVersion.substring(0,1) < 4); op=(userAgent.indexOf('Opera') != -1); moz=(userAgent.indexOf('Gecko') != -1); chrome=(userAgent.indexOf('Chrome') != -1); if (document.all) { ie=(document.all && !op); } saf=(userAgent.indexOf('Safari') != -1); konq=(userAgent.indexOf('Konqueror') != -1); if (op) { op_pos = userAgent.indexOf('Opera'); opnu = userAgent.substr((op_pos+6),4); op5 = (opnu.substring(0,1) == 5); op6 = (opnu.substring(0,1) == 6); op7 = (opnu.substring(0,1) == 7); op8 = (opnu.substring(0,1) == 8); op9 = (opnu.substring(0,1) == 9); op10 = (opnu.substring(0,2) == 10); } else if (chrome) { chrome_pos = userAgent.indexOf('Chrome'); chnu = userAgent.substr((chrome_pos+7),4); ch1 = (chnu.substring(0,1) == 1); ch2 = (chnu.substring(0,1) == 2); ch3 = (chnu.substring(0,1) == 3); } else if (moz){ rv_pos = userAgent.indexOf('rv'); moz_rv = userAgent.substr((rv_pos+3),3); moz_rv_sub = userAgent.substr((rv_pos+7),1); if (moz_rv_sub == ' ' || isNaN(moz_rv_sub)) { moz_rv_sub=''; } moz_rv = moz_rv + moz_rv_sub; } else if (ie){ ie_pos = userAgent.indexOf('MSIE'); ienu = userAgent.substr((ie_pos+5),3); ie4 = (!dom); ie5 = (ienu.substring(0,1) == 5); ie6 = (ienu.substring(0,1) == 6); ie7 = (ienu.substring(0,1) == 7); ie8 = (ienu.substring(0,1) == 8); } if (konq) { browsercode = "KO"; browserversion = appVersion; browsername = "Konqueror"; } else if (chrome) { browsercode = "CH"; if (ch1) { browserversion = "1"; } else if (ch2) { browserversion = "2"; } else if (ch3) { browserversion = "3"; } browsername = "Google Chrome"; } else if (saf) { browsercode = "SF"; browserversion = appVersion; browsername = "Safari"; } else if (op) { browsercode = "OP"; if (op5) { browserversion = "5"; } else if (op6) { browserversion = "6"; } else if (op7) { browserversion = "7"; } else if (op8) { browserversion = "8"; } else if (op9) { browserversion = "9"; } else if (op10) { browserversion = "10"; } else { browserversion = appVersion; } browsername = "Opera"; } else if (moz) { browsercode = "MO"; browserversion = appVersion; browsername = "Firefox"; } else if (ie) { browsercode = "IE"; if (ie4) { browserversion = "4"; } else if (ie5) { browserversion = "5"; } else if (ie6) { browserversion = "6"; } else if (ie7) { browserversion = "7"; } else if (ie8) { browserversion = "8"; } else { browserversion = appVersion; } browsername = "Internet Explorer"; } if (windows) { operatingsys = "Windows"; } else if (linux) { operatingsys = "Linux"; } else if (mac) { operatingsys = "Mac"; } else { operatingsys = "Unkown"; } if (document.getElementById) { dombrowser = "default"; } else if (document.layers) { dombrowser = "NS4"; } else if (document.all) { dombrowser = "IE4"; } var proactiveX = 20; var proactiveXStep = 1; var proactiveDelayTime = 100; var proactiveY = 0; var proactiveOffsetHeight=0; var proactiveYStep = 0; var proactiveAnimate = false; function browserObject_754711t8(objid) { if (dombrowser == "default") { return document.getElementById(objid); } else if (dombrowser == "NS4") { return document.layers[objid]; } else if (dombrowser == "IE4") { return document.all[objid]; } } function doRand_754711t8() { var num; now=new Date(); num=(now.getSeconds()); num=num+1; return num; } function getCookie_754711t8(name) { var crumb = document.cookie; var index = crumb.indexOf(name + "="); if (index == -1) return null; index = crumb.indexOf("=", index) + 1; var endstr = crumb.indexOf(";", index); if (endstr == -1) endstr = crumb.length; return unescape(crumb.substring(index, endstr)); } function deleteCookie_754711t8(name) { var expiry = new Date(); document.cookie = name + "=" + "; expires=Thu, 01-Jan-70 00:00:01 GMT" + "; path=/"; } function elapsedTime_754711t8() { if (typeof _elapsedTimeStatusIndicator == 'undefined') { _elapsedTimeStatusIndicator = '754711t8'; } else if (typeof _elapsedTimeStatusIndicator == 'string' && _elapsedTimeStatusIndicator != '754711t8') { return; } if (timer_754711t8 < 3600) { timer_754711t8++; imagefetch_754711t8++; if (imagefetch_754711t8 > 19) { imagefetch_754711t8 = 0; doStatusLoop_754711t8(); } setTimeout("elapsedTime_754711t8();", 1000); } } var Base64_754711t8 = { _keyStr : "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", encode : function (input) { var output = ""; var chr1, chr2, chr3, enc1, enc2, enc3, enc4; var i = 0; input = Base64_754711t8._utf8_encode(input); while (i < input.length) { chr1 = input.charCodeAt(i++); chr2 = input.charCodeAt(i++); chr3 = input.charCodeAt(i++); enc1 = chr1 >> 2; enc2 = ((chr1 & 3) << 4) | (chr2 >> 4); enc3 = ((chr2 & 15) << 2) | (chr3 >> 6); enc4 = chr3 & 63; if (isNaN(chr2)) { enc3 = enc4 = 64; } else if (isNaN(chr3)) { enc4 = 64; } output = output + this._keyStr.charAt(enc1) + this._keyStr.charAt(enc2) + this._keyStr.charAt(enc3) + this._keyStr.charAt(enc4); } return output; }, _utf8_encode : function (string) { string = string.replace(/\r\n/g,"\n"); var utftext = ""; for (var n = 0; n < string.length; n++) { var c = string.charCodeAt(n); if (c < 128) { utftext += String.fromCharCode(c); } else if((c > 127) && (c < 2048)) { utftext += String.fromCharCode((c >> 6) | 192); utftext += String.fromCharCode((c & 63) | 128); } else { utftext += String.fromCharCode((c >> 12) | 224); utftext += String.fromCharCode(((c >> 6) & 63) | 128); utftext += String.fromCharCode((c & 63) | 128); } } return utftext; } } function doStatusLoop_754711t8() { date1 = new Date(); var _finalPageTitle=Base64_754711t8.encode(title); var _finalWindowLocation = encodeURIComponent(decodeURIComponent(window.location)); updateurl_754711t8 = "https://www.centuryperformance.com/support/visitor/index.php?/LiveChat/VisitorUpdate/UpdateFootprint/_time="+date1.getTime()+"/_randomNumber="+doRand_754711t8()+"/_url="+_finalWindowLocation+"/_isFirstTime="+encodeURIComponent(isfirsttime_754711t8)+"/_sessionID="+encodeURIComponent(sessionid_754711t8)+"/_referrer="+encodeURIComponent(document.referrer)+"/_resolution="+encodeURIComponent(screenWidth+"x"+screenHeight)+"/_colorDepth="+encodeURIComponent(colorDepth)+"/_platform="+encodeURIComponent(navigator.platform)+"/_appVersion="+encodeURIComponent(navigator.appVersion)+"/_appName="+encodeURIComponent(navigator.appName)+"/_browserCode="+encodeURIComponent(browsercode)+"/_browserVersion="+encodeURIComponent(browserversion)+"/_browserName="+encodeURIComponent(browsername)+"/_operatingSys="+encodeURIComponent(operatingsys)+"/_pageTitle="+encodeURIComponent(_finalPageTitle)+"/_hasNotes="+encodeURIComponent(hasnotes_754711t8)+"/_repeatVisit="+encodeURIComponent(repeatvisit_754711t8)+"/_lastVisitTimeline="+encodeURIComponent(lastvisittimeline_754711t8)+"/_lastChatTimeline="+encodeURIComponent(lastchattimeline_754711t8)+"/_isNewSession="+encodeURIComponent(isnewsession_754711t8)+"/_geoIP_3="+encodeURIComponent(geoip_754711t8[3])+"/_geoIP_4="+encodeURIComponent(geoip_754711t8[4])+"/_geoIP_5="+encodeURIComponent(geoip_754711t8[5])+"/_geoIP_12="+encodeURIComponent(geoip_754711t8[12])+"/_geoIP_6="+encodeURIComponent(geoip_754711t8[6])+"/_geoIP_1="+encodeURIComponent(geoip_754711t8[1])+"/_geoIP_7="+encodeURIComponent(geoip_754711t8[7])+"/_geoIP_8="+encodeURIComponent(geoip_754711t8[8])+"/_geoIP_9="+encodeURIComponent(geoip_754711t8[9])+"/_geoIP_10="+encodeURIComponent(geoip_754711t8[10])+"/_geoIP_11="+encodeURIComponent(geoip_754711t8[11])+"/_geoIP_13="+encodeURIComponent(geoip_754711t8[13]); proactiveImageUse_754711t8 = new Image(); proactiveImageUse_754711t8.onload = imageLoaded_754711t8; proactiveImageUse_754711t8.src = updateurl_754711t8; isfirsttime_754711t8 = 0; } function startChat_754711t8(proactive) { isChatRunning_754711t8 = 1; docWidth = (winW-819)/2; docHeight = (winH-579)/2; _chatWindowURL = 'https://www.centuryperformance.com/support/visitor/index.php?/LiveChat/Chat/Request/_sessionID=' + sessionid_754711t8 + '/_proactive=' + proactive + '/_filterDepartmentID=/_randomNumber=' + doRand_754711t8() + '/_fullName=/_email=/_promptType=chat'; chatwindow = window.open(_chatWindowURL,"customerchat"+doRand_754711t8(), "toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=yes,resizable=1,width=819,height=579,left="+docWidth+",top="+docHeight); hideProactiveChatData_754711t8(); } function imageLoaded_754711t8() { if (!proactiveImageUse_754711t8) { return; } proactiveAction = proactiveImageUse_754711t8.width; if (proactiveAction == 3) { doProactiveInline_754711t8(); } else if (proactiveAction == 4) { displayProactiveChatData_754711t8(); } } function writeInlineRequestData_754711t8() { docWidth = (winW-820)/2; docHeight = (winH-580)/2; var divData = ''; divData += "
"; var inlineChatElement = document.createElement("div"); inlineChatElement.style.position = 'absolute'; inlineChatElement.style.display = 'none'; inlineChatElement.style.float = 'left'; inlineChatElement.style.top = docHeight+'px'; inlineChatElement.style.left = docWidth+'px'; inlineChatElement.style.zIndex = 500; if (inlineChatElement.style.overflow) { inlineChatElement.style.overflow = 'none'; } inlineChatElement.id = 'inlinechatdiv'; inlineChatElement.innerHTML = divData; var proactiveChatContainer = document.getElementById('proactivechatcontainer' + swiftuniqueid); proactiveChatContainer.appendChild(inlineChatElement); } function writeProactiveRequestData_754711t8() { docWidth = (winW-450)/2; docHeight = (winH-400)/2; var divData = ''; divData += "

Can I help you?
Our agents are ready to assist you. Click "Chat Now" to be connected to one instantly.
Chat Now
"; var proactiveElement = document.createElement("div"); proactiveElement.style.position = 'absolute'; proactiveElement.style.display = 'none'; proactiveElement.style.float = 'left'; proactiveElement.style.top = docHeight+'px'; proactiveElement.style.left = docWidth+'px'; proactiveElement.style.zIndex = 500; if (proactiveElement.style.overflow) { proactiveElement.style.overflow = 'none'; } proactiveElement.id = 'proactivechatdiv'; proactiveElement.innerHTML = divData; var proactiveChatContainer = document.getElementById('proactivechatcontainer' + swiftuniqueid); proactiveChatContainer.appendChild(proactiveElement); } function displayProactiveChatData_754711t8() { if (proactiveAnimate == true) { return false; } writeObj = browserObject_754711t8("proactivechatdiv"); if (writeObj) { docWidth = (winW-450)/2; docHeight = (winH-400)/2; proactiveY = docHeight; writeObj.top = docWidth; writeObj.left = docHeight; proactiveAnimate = true; } showDisplay_754711t8("proactivechatdiv"); animateProactiveDiv_754711t8(); } function displayInlineChatData_754711t8() { writeObj = browserObject_754711t8("inlinechatdiv"); if (writeObj) { docWidth = (winW-820)/2; docHeight = (winH-580)/2; proactiveY = docHeight; writeObj.top = docHeight; writeObj.left = docWidth; acceptProactive = new Image(); acceptProactive.src = "https://www.centuryperformance.com/support/visitor/index.php?/LiveChat/VisitorUpdate/AcceptProactive/_randomNumber="+doRand_754711t8()+"/_sessionID="+sessionid_754711t8; inlineChatFrameObj = browserObject_754711t8("inlinechatframe"); _iframeURL = 'https://www.centuryperformance.com/support/visitor/index.php?/LiveChat/Chat/StartInline/_sessionID=y3xsqfxx6190kgppanmsihhlp2uqsi98/_proactive=1/_filterDepartmentID=/_fullName=/_email=/_inline=1/'; if (inlineChatFrameObj && inlineChatFrameObj.src != _iframeURL && writeObj.style.display == 'none') { inlineChatFrameObj.src = _iframeURL; } } showDisplay_754711t8("inlinechatdiv"); } function hideProactiveChatData_754711t8() { hideDisplay_754711t8("proactivechatdiv"); hideDisplay_754711t8("inlinechatdiv"); } function doProactiveInline_754711t8() { displayInlineChatData_754711t8(); } function doProactiveRequest_754711t8() { acceptProactive = new Image(); acceptProactive.src = "https://www.centuryperformance.com/support/visitor/index.php?/LiveChat/VisitorUpdate/AcceptProactive/_randomNumber="+doRand_754711t8()+"/_sessionID="+sessionid_754711t8; startChat_754711t8("4"); } function closeProactiveRequest_754711t8() { rejectProactive = new Image(); date1 = new Date(); proactiveAnimate = false; rejectProactive.src = "https://www.centuryperformance.com/support/visitor/index.php?/LiveChat/VisitorUpdate/ResetProactive/_time="+date1.getTime()+"/_randomNumber="+doRand_754711t8()+"/_sessionID="+sessionid_754711t8; hideProactiveChatData_754711t8(); } function closeInlineProactiveRequest_754711t8() { rejectProactive = new Image(); date1 = new Date(); rejectProactive.src = "https://www.centuryperformance.com/support/visitor/index.php?/LiveChat/VisitorUpdate/ResetProactive/_time="+date1.getTime()+"/_randomNumber="+doRand_754711t8()+"/_sessionID="+sessionid_754711t8; var bodyElement = document.getElementsByTagName('body'); document.getElementById('inlinechatframe').contentWindow.CloseProactiveChat(); // window.frames.inlinechatframe.CloseProactiveChat(); if (bodyElement[0]) { var inlineDivElement = browserObject_754711t8('inlinechatdiv'); if (inlineDivElement) { var _parentNode = inlineDivElement.parentNode; _parentNode.removeChild(inlineDivElement); } } } function switchDisplay_754711t8(objid) { result = browserObject_754711t8(objid); if (!result) { return; } if (result.style.display == "none") { result.style.display = "block"; } else { result.style.display = "none"; } } function hideDisplay_754711t8(objid) { result = browserObject_754711t8(objid); if (!result) { return; } result.style.display = "none"; } function showDisplay_754711t8(objid) { result = browserObject_754711t8(objid); if (!result) { return; } result.style.display = "block"; } function updateProactivePosition_754711t8() { writeObj = browserObject_754711t8("proactivechatdiv"); writeObjInline = browserObject_754711t8("inlinechatdiv"); docHeight = (winH-412)/2; docHeightInline = (winH-580)/2; finalTopValue = docHeight + document.body.scrollTop; if (finalTopValue < 0) { finalTopValue = 10; } finalTopValueInline = docHeightInline + document.body.scrollTop; if (finalTopValueInline < 0) { finalTopValueInline = 10; } if (writeObj) { writeObj.style.top = finalTopValue + "px"; } if (writeObjInline) { writeObjInline.style.top = finalTopValueInline + "px"; } } function animateProactiveDiv_754711t8() { writeObj = browserObject_754711t8("proactivechatdiv"); if (!writeObj) { return false; } if(proactiveYStep == 0){proactiveY = proactiveY-proactiveXStep;} else {proactiveY = proactiveY+proactiveXStep;} proactiveOffsetHeight = writeObj.offsetHeight; if(proactiveY < 0){proactiveYStep = 1; proactiveY=0; } if(proactiveY >= (myHeight - proactiveOffsetHeight)){proactiveYStep=0; proactiveY=(myHeight-proactiveOffsetHeight);} finalTopValue = proactiveY+document.body.scrollTop; if (finalTopValue < 0) { finalTopValue = 10; } writeObj.style.top = finalTopValue+"px"; if (proactiveAnimate) { setTimeout('animateProactiveDiv_754711t8()', proactiveDelayTime); } } writeProactiveRequestData_754711t8(); writeInlineRequestData_754711t8(); elapsedTime_754711t8(); var oldEvtScroll = window.onscroll; window.onscroll = function() { if (oldEvtScroll) { updateProactivePosition_754711t8(); } } var swifttagdiv=document.createElement("div");swifttagdiv.innerHTML = "
";document.getElementById("swifttagdatacontainer0dgjffa2ls").appendChild(swifttagdiv);