LL_CustomUI.Tc=function(){if(window.LL_CustomUI&&!LL_CustomUI.tcPanel&&(LL_CustomUI.tcPanel={},LL_CustomUI.isTermsAndConditionsEnabled)){LL_CustomUI.tcPanel.termsAndConditionsWindowHeight=302,LL_CustomUI.tcPanel.isSessionStartButtonClicked=!1,LL_CustomUI.tcPanel.termsAndConditionsWindowBlock="",LL_CustomUI.tcPanel.isScrollbarInitialized=!1,LL_CustomUI.tcPanel.isDisconnectConfirmWindowOpen=!1,LL_CustomUI.tcPanel.initialized=!1,LL_CustomUI.tcPanel.termsAndConditionsRow="",(LL_CustomUI.utils.isLeftLocation()||LL_CustomUI.utils.isRightLocation())&&(LL_CustomUI.tcPanel.termsAndConditionsWindowHeight=308),LL_CustomUI.tcPanel.termsAndConditionsRow=LL_CustomUI.V4LLPanel_FAQURL?''+LL_CustomUI.V4LLPanel_notconnected_termsAndConditions_text+"":"";var t="";t+=LL_CustomUI.utils.isLeftLocation()?LL_CustomUI.utils.isSafari()?'
'+LL_CustomUI.V4LLPanel_notconnected_header_text+'
':'
'+LL_CustomUI.V4LLPanel_notconnected_header_text+'
':LL_CustomUI.utils.isRightLocation()?LL_CustomUI.utils.isSafari()?'
'+LL_CustomUI.V4LLPanel_notconnected_header_text+'
':'
'+LL_CustomUI.V4LLPanel_notconnected_header_text+'
':'
'+LL_CustomUI.V4LLPanel_notconnected_header_text+"
",t+='
',t+='
',t+='
'+LL_CustomUI.V4LLPanel_notconnected_header_text+'
",t+='
',t+='

'+LL_CustomUI.V4LLPanel_TermsAndConditionsWindowHeadline+"

",t+='

'+LL_CustomUI.V4LLPanel_TermsAndConditionsWindowText+"

",t+='
',t+="
",t+='
',t+='
'+LL_CustomUI.V4LLPanel_termsAndConditionsWindow_startSessionButton_text+"",t+='
',t+=LL_CustomUI.tcPanel.termsAndConditionsRow,t+="
",t+="
",t+="
",LL_CustomUI.tcPanel.windowHTML=t,LL_CustomUI.tcPanel.appendElements=function(){if(!LL_CustomUI.tcPanel.initialized){var t=document.createElement("div");t.id="V4LLPanel_TCContainer",t.innerHTML=LL_CustomUI.tcPanel.windowHTML,document.body.appendChild(t),LL_Utils.listen("click",LL_Utils.$("V4LLPanel_StartSessionNow"),LL_CustomUI.tcPanel.V4PanelOnClickListener),LL_Utils.listen("click",LL_Utils.$("V4LLPanel_TermsAndConditionsToggler"),LL_CustomUI.tcPanel.tcOnClickListener),LL_Utils.listen("mouseover",LL_Utils.$("V4LLPanel_TermsAndConditionsToggler"),LL_CustomUI.tcPanel.hint.show),LL_Utils.listen("mouseout",LL_Utils.$("V4LLPanel_TermsAndConditionsToggler"),LL_CustomUI.tcPanel.hint.hide),LL_Utils.listen("focus",LL_Utils.$("V4LLPanel_TermsAndConditionsToggler"),LL_CustomUI.tcPanel.hint.show),LL_Utils.listen("blur",LL_Utils.$("V4LLPanel_TermsAndConditionsToggler"),LL_CustomUI.tcPanel.hint.hide),LL_Utils.listen("mouseover",LL_Utils.$("V4LLPanel_CloseConfirmButtonTC"),LL_CustomUI.tcPanel.toggleConfirmYesBtn),LL_Utils.listen("mouseout",LL_Utils.$("V4LLPanel_CloseConfirmButtonTC"),LL_CustomUI.tcPanel.toggleConfirmYesBtn),LL_Utils.listen("click",LL_Utils.$("V4LLPanel_CloseConfirmButtonTC"),LL_CustomUI.tcPanel.confirmSessionEnd),LL_Utils.listen("mouseover",LL_Utils.$("V4LLPanel_CloseDeclineButtonTC"),LL_CustomUI.tcPanel.toggleConfirmNoBtn),LL_Utils.listen("mouseout",LL_Utils.$("V4LLPanel_CloseDeclineButtonTC"),LL_CustomUI.tcPanel.toggleConfirmNoBtn),LL_Utils.listen("click",LL_Utils.$("V4LLPanel_CloseDeclineButtonTC"),LL_CustomUI.tcPanel.declineSessionEnd),LL_Utils.listen("mouseover",LL_Utils.$("V4LLPanel_StartSessionNow"),LL_CustomUI.tcPanel.toggleSessionConnectButton),LL_Utils.listen("mouseout",LL_Utils.$("V4LLPanel_StartSessionNow"),LL_CustomUI.tcPanel.toggleSessionConnectButton),LL_Utils.$("V4LLPanel_TermsAndConditionsTC")&&LL_Utils.listen("click",LL_Utils.$("V4LLPanel_TermsAndConditionsTC"),LL_CustomUI.V4Panel.openTermsAndConditions),LL_Utils.listen("click",LL_Utils.$("V4LLPanel_PanelMinimizeTC"),LL_CustomUI.tcPanel.collapse),LL_Utils.listen("click",LL_Utils.$("V4LLPanel_PanelCloseTC"),LL_CustomUI.tcPanel.openDisconnectConfirmWindow),LL_CustomUI.V4LLPanel_position.indexOf("middle")>0&&(LL_CustomUI.utils.setElementInTheMiddle("V4LLPanel_TermsAndConditionsToggler",LL_CustomUI.V4LLPanel_position),LL_CustomUI.utils.setElementInTheMiddle("V4LLTermsAndConditionsWindow",LL_CustomUI.V4LLPanel_position,LL_CustomUI.tcPanel.termsAndConditionsWindowHeight)),LL_CustomUI.V4LLPanel_position.indexOf("middle")>0&&LL_Utils.listen("resize",window,LL_CustomUI.tcPanel.adjustV4panelMiddlePositionOnResizeListener),LL_CustomUI.tcPanel.initialized=!0,"undefined"==typeof LL_CustomUI.animation&&LL_CustomUI.utils.toggleADA_State("V4LLPanel_PanelMinimizeTC, V4LLPanel_PanelCloseTC, V4LLPanel_TermsAndConditionsTC, V4LLPanel_StartSessionNow","disable")}},LL_CustomUI.tcPanel.openDisconnectConfirmWindow=function(){LL_Utils.$("V4LLPanelDisconnectConfirmWindowTC").style.display="block",LL_CustomUI.tcPanel.isDisconnectConfirmWindowOpen=!0,LL_Utils.listen("keyup",window,LL_CustomUI.tcPanel.closeConfirmBoxOnKeyupListenerListener),LL_CustomUI.utils.toggleADA_State("V4LLPanel_CloseDeclineButtonTC,V4LLPanel_CloseConfirmButtonTC","enable"),LL_CustomUI.utils.toggleADA_State("V4LLPanel_PanelMinimizeTC,V4LLPanel_PanelCloseTC,V4LLPanel_TermsAndConditionsTC,V4LLPanel_StartSessionNow","disable"),LL_CustomUI.utils.doFocus("V4LLPanelDisconnectConfirmWindowTC")},LL_CustomUI.tcPanel.confirmSessionEnd=function(t){LL_CustomUI.tcPanel.declineSessionEnd(),LL_CustomUI.V4Panel.destroy(),LL_CustomUI.render()},LL_CustomUI.tcPanel.declineSessionEnd=function(){LL_CustomUI.utils.toggleADA_State("V4LLPanel_PanelMinimizeTC,V4LLPanel_PanelCloseTC,V4LLPanel_TermsAndConditionsTC,V4LLPanel_StartSessionNow","enable");try{LL_CustomUI.tcPanel.isDisconnectConfirmWindowOpen=!1,LL_Utils.$("V4LLPanelDisconnectConfirmWindowTC").style.display="none"}catch(t){}LL_CustomUI.utils.toggleADA_State("V4LLPanel_CloseDeclineButtonTC,V4LLPanel_CloseConfirmButtonTC","disable")},LL_CustomUI.tcPanel.toggleConfirmYesBtn=function(){var t=!1,n=LL_Utils.$("V4LLPanel_CloseConfirmButtonTC");if(n){t=LL_CustomUI.utils.toggleHoverState(n);var o="url('"+LL_CustomUI.img(t?"V4LLPanel_CloseConfirmButton_background_hover":"V4LLPanel_CloseConfirmButton_background")+"') no-repeat",e=t?LL_CustomUI.V4LLPanel_CloseConfirmButton_hover_text_color:LL_CustomUI.V4LLPanel_CloseConfirmButton_text_color;n.style.background=o,n.style.color="#"+e}},LL_CustomUI.tcPanel.toggleConfirmNoBtn=function(){var t=!1,n=LL_Utils.$("V4LLPanel_CloseDeclineButtonTC");if(n){t=LL_CustomUI.utils.toggleHoverState(n);var o="url('"+LL_CustomUI.img(t?"V4LLPanel_CloseConfirmButton_background_hover":"V4LLPanel_CloseConfirmButton_background")+"') no-repeat",e=t?LL_CustomUI.V4LLPanel_CloseConfirmButton_hover_text_color:LL_CustomUI.V4LLPanel_CloseConfirmButton_text_color;LL_Utils.$("V4LLPanel_CloseDeclineButtonTC").style.background=o,LL_Utils.$("V4LLPanel_CloseDeclineButtonTC").style.color="#"+e}},LL_CustomUI.tcPanel.jQueryInitializeScrollBar=function(t){try{t("#v4-button-scroll-pane").jScrollPane({mouseWheelSpeed:20,contentWidth:"0px"}),LL_CustomUI.tcPanel.isScrollbarInitialized=!0}catch(n){}},LL_CustomUI.tcPanel.initializeScrollBar=function(){"undefined"!=typeof $&&"undefined"!=typeof $.css&&LL_CustomUI.tcPanel.jQueryInitializeScrollBar($)},LL_CustomUI.tcPanel.hint={},LL_CustomUI.tcPanel.hint.show=function(){(LL_CustomUI.V4LLPanel_HintBlock_FirstLineText||LL_CustomUI.V4LLPanel_HintBlock_SecondLineText)&&("hidden"!=LL_Utils.$("V4LLPanel_HintBlock").style.visibility||"bottom_right"!=LL_CustomUI.V4LLPanel_position&&"bottom_left"!=LL_CustomUI.V4LLPanel_position&&"bottom_middle"!=LL_CustomUI.V4LLPanel_position||(LL_Utils.$("V4LLPanel_HintBlock").style.visibility="visible"))},LL_CustomUI.tcPanel.hint.hide=function(){"visible"==LL_Utils.$("V4LLPanel_HintBlock").style.visibility&&(LL_Utils.$("V4LLPanel_HintBlock").style.visibility="hidden")},LL_CustomUI.tcPanel.jQuerySetScrollBarStyles=function(t){t(".jspContainer")&&t(".jspContainer").css({overflow:"hidden",position:"relative"}),t(".jspPane")&&t(".jspPane").css({position:"absolute"}),t("#v4-button-scroll-pane").css({overflow:"auto"}),t(".jspVerticalBar")&&t(".jspVerticalBar").css({position:"absolute",top:"0",right:"0",width:"5px",bottom:"5px","margin-bottom":"12px"}),t(".jspTrack")&&t(".jspTrack").css({background:"#"+LL_CustomUI.V4LLPanel_TermsAndConditionsWindowScrollBar_TrackBG_color,position:"relative",width:"5px","border-radius":"5px","-moz-border-radius":"5px","-webkit-border-radius":"5px"}),t(".jspDrag")&&t(".jspDrag").css({background:"#"+LL_CustomUI.V4LLPanel_TermsAndConditionsWindowScrollBar_DragBG_color,position:"relative",top:"0",cursor:"pointer",left:"0",width:"5px","border-radius":"5px","-moz-border-radius":"5px","-webkit-border-radius":"5px"})},LL_CustomUI.tcPanel.setScrollBarStyles=function(){"undefined"!=typeof $&&"undefined"!=typeof $.css&&LL_CustomUI.tcPanel.jQuerySetScrollBarStyles($)},LL_CustomUI.tcPanel.setWait=function(t){var n="Please wait...",o=LL_Utils.$("V4LLPanel_CollapsedNumContNarrow"),e=LL_Utils.$("V4LLPanel_InnerTitle");o&&(o.innerHTML=n),"undefined"!=typeof t&&t&&accessCodeContainer&&(e.innerHTML=n)},LL_CustomUI.tcPanel.destroy=function(){LL_Utils.removeNodes("V4LLPanel_TCContainer"),LL_CustomUI.tcPanel.isSessionStartButtonClicked=!1,LL_CustomUI.tcPanel.isScrollbarInitialized=!1,LL_CustomUI.tcPanel.isDisconnectConfirmWindowOpen=!1,LL_CustomUI.tcPanel.initialized=!1,"undefined"!=typeof LL_CustomUI.animation&&LL_CustomUI.animation.destroy(),LL_Utils.removeListener("click",LL_Utils.$("V4LLPanel_StartSessionNow"),LL_CustomUI.tcPanel.V4PanelOnClickListener),LL_Utils.removeListener("click",LL_Utils.$("V4LLPanel_TermsAndConditionsToggler"),LL_CustomUI.tcPanel.tcOnClickListener),LL_Utils.removeListener("resize",window,LL_CustomUI.tcPanel.adjustV4panelMiddlePositionOnResizeListener),LL_Utils.removeListener("keyup",window,LL_CustomUI.tcPanel.closeConfirmBoxOnKeyupListenerListener),LL_Utils.timers.clear("automaticClosingTimer")},LL_CustomUI.tcPanel.start=function(){LL_CustomUI.tcPanel.termsAndConditionsWindowBlock=LL_Utils.$("V4LLTermsAndConditionsWindow")},LL_CustomUI.tcPanel.toggleSessionConnectButton=function(){var t=!1,n=LL_Utils.$("V4LLPanel_StartSessionNow");if(n){t=LL_CustomUI.utils.toggleHoverState(n);var o="url('"+LL_CustomUI.img(t?"V4LLPanel_termsAndConditionsWindow_startSessionButtonHover":"V4LLPanel_termsAndConditionsWindow_startSessionButton")+"') repeat-x";LL_Utils.$("V4LLPanel_StartSessionNow").style.background=o}},LL_CustomUI.tcPanel.toggle=function(t){if("expand"===t)LL_CustomUI.utils.toggleADA_State("V4LLPanel_PanelMinimizeTC,V4LLPanel_PanelCloseTC,V4LLPanel_TermsAndConditionsTC,V4LLPanel_StartSessionNow","enable"),LL_CustomUI.utils.toggleADA_State("V4LLPanel_TermsAndConditionsToggler","disable"),LL_CustomUI.tcPanel.start(),LL_CustomUI.tcPanel.termsAndConditionsWindowBlock&&(LL_CustomUI.tcPanel.termsAndConditionsWindowBlock.style.height=LL_CustomUI.tcPanel.termsAndConditionsWindowHeight+"px");else if("collapse"===t){LL_CustomUI.tcPanel.start(),LL_CustomUI.utils.toggleADA_State("V4LLPanel_PanelMinimizeTC,V4LLPanel_PanelCloseTC,V4LLPanel_TermsAndConditionsTC,V4LLPanel_StartSessionNow","disable"),LL_CustomUI.utils.toggleADA_State("V4LLPanel_TermsAndConditionsToggler","enable"),LL_CustomUI.tcPanel.termsAndConditionsWindowBlock&&(LL_CustomUI.tcPanel.termsAndConditionsWindowBlock.style.height="0px");var n=LL_Utils.$("V4LLPanel_TermsAndConditionsToggler");n&&(n.style.display="block",n.style.visibility="visible")}},LL_CustomUI.tcPanel.collapse=function(){LL_CustomUI.tcPanel.toggle("collapse")},LL_CustomUI.tcPanel.expand=function(){LL_CustomUI.tcPanel.toggle("expand"),LL_CustomUI.tcPanel.isScrollbarInitialized||(LL_CustomUI.tcPanel.initializeScrollBar(),LL_CustomUI.tcPanel.setScrollBarStyles())},LL_CustomUI.tcPanel.startSession=function(){LL_CustomUI.tcPanel.start(),LL_CustomUI.tcPanel.termsAndConditionsWindowBlock&&(LL_CustomUI.tcPanel.termsAndConditionsWindowBlock.style.height="0px"),LL_CustomUI.V4Panel.expand(),LL_CustomUI.tcPanel.isSessionStartButtonClicked=!0,LL_CustomUI.animation&&(LL_CustomUI.animation.elementToMove=LL_Utils.$("V4LLPanel"));var t=LL_Utils.$("V4LLPanel_TermsAndConditionsToggler");t&&(t.style.display="none",t.style.visibility="hidden")},LL_CustomUI.tcPanel.V4PanelOnClickListener=function(t){LL_CustomUI.tcPanel.startSession()},LL_CustomUI.tcPanel.tcOnClickListener=function(t){LL_CustomUI.tcPanel.expand()},LL_CustomUI.tcPanel.adjustV4panelMiddlePositionOnResizeListener=function(t){document.getElementById("V4LLPanel_TermsAndConditionsToggler")&&(LL_CustomUI.utils.setElementInTheMiddle("V4LLPanel_TermsAndConditionsToggler",LL_CustomUI.V4LLPanel_position),LL_CustomUI.utils.setElementInTheMiddle("V4LLTermsAndConditionsWindow",LL_CustomUI.V4LLPanel_position,LL_CustomUI.tcPanel.termsAndConditionsWindowHeight))},LL_CustomUI.tcPanel.closeConfirmBoxOnKeyupListenerListener=function(t){LL_CustomUI.tcPanel.isDisconnectConfirmWindowOpen&&(window.event?keynum=t.keyCode:t.which&&(keynum=t.which),13==keynum&&LL_CustomUI.tcPanel.declineSessionEnd())}}},LL_CustomUI.noAgent=function(){LL_CustomUI.utils.removeListener("keyup",window,LL_CustomUI.utils.globalKeyHandler),LL_CustomUI.utils.listen("keyup",window,LL_CustomUI.utils.globalKeyHandler),LL_CustomUI.utils.ADA.CreateStyleForFocus(),window.LL_CustomUI&&!LL_CustomUI.noAgentPanel&&(LL_CustomUI.noAgentPanel={},LL_CustomUI.noAgentPanel.windowHTML="",LL_CustomUI.noAgentPanel.numberGenerationView="",LL_CustomUI.noAgentPanel.numberGenerationWindow="",LL_CustomUI.noAgentPanel.initialHandle="",LL_CustomUI.noAgentPanel.initialHandleNumberGenerated="",LL_CustomUI.noAgentPanel.faqURL=LL_CustomUI.V4LLPanel_FAQURL,LL_CustomUI.noAgentPanel.isOpen=!1,LL_CustomUI.noAgentPanel.numberAlreadyGenerated=!1,LL_CustomUI.noAgentPanel.isPreviewMode=!1,LL_CustomUI.noAgentPanel.isAgentConnected=!1,LL_CustomUI.noAgentPanel.numberGenerationWindowHeight=302,LL_CustomUI.noAgentPanel.presentationCode="",LL_CustomUI.noAgentPanel.isDisconnectConfirmWindowOpen=!1,LL_CustomUI.noAgentPanel.termsAndConditionsRow="",LL_CustomUI.noAgentPanel.mobile_timer="",LL_CustomUI.noAgentPanel.orginalHeight="",LL_CustomUI.noAgentPanel.phoneNumberIconRow="",(LL_CustomUI.utils.isLeftLocation()||LL_CustomUI.utils.isRightLocation())&&(LL_CustomUI.noAgentPanel.numberGenerationWindowHeight=308),LL_CustomUI.noAgentPanel.termsAndConditionsRow=LL_CustomUI.noAgentPanel.faqURL?''+LL_CustomUI.V4LLPanel_notconnected_termsAndConditions_text+"":"","undefined"!=typeof LL_CustomUI.V4LLPanel_notconnected_phoneNumber&&""!=LL_CustomUI.V4LLPanel_notconnected_phoneNumber&&LL_CustomUI.V4LLPanel_notconnected_phoneNumber.indexOf("[n]")>=0&&(LL_CustomUI.V4LLPanel_notconnected_phoneNumber=LL_CustomUI.V4LLPanel_notconnected_phoneNumber.replace("[n]","
")),"undefined"!=typeof LL_CustomUI.V4LLPanel_notconnected_provideNumber_text&&""!=LL_CustomUI.V4LLPanel_notconnected_provideNumber_text&&LL_CustomUI.V4LLPanel_notconnected_provideNumber_text.indexOf("[n]")>=0&&(LL_CustomUI.V4LLPanel_notconnected_provideNumber_text=LL_CustomUI.V4LLPanel_notconnected_provideNumber_text.replace("[n]","
")),"undefined"!=typeof LL_CustomUI.V4LLPanel_PhoneNumberURL&&""!=LL_CustomUI.V4LLPanel_PhoneNumberURL&&(LL_CustomUI.V4LLPanel_notconnected_phoneNumber="'+LL_CustomUI.V4LLPanel_notconnected_phoneNumber+""),LL_CustomUI.noAgentPanel.phoneNumberIconRow="undefined"!=typeof LL_CustomUI.V4LLPanel_notconnected_phoneNumber&&""!=LL_CustomUI.V4LLPanel_notconnected_phoneNumber?'':'',LL_CustomUI.noAgentPanel.windowHTML+=LL_CustomUI.utils.isLeftLocation()?'':LL_CustomUI.utils.isRightLocation()?'':'', LL_CustomUI.noAgentPanel.windowHTML+='
'+LL_CustomUI.V4LLPanel_HintBlock_FirstLineText+''+LL_CustomUI.V4LLPanel_HintBlock_SecondLineText+"
",LL_CustomUI.noAgentPanel.windowHTML+=LL_CustomUI.utils.isLeftLocation()?LL_CustomUI.utils.isSafari()?'
'+LL_CustomUI.V4LLPanel_notconnected_header_text+'
':'
'+LL_CustomUI.V4LLPanel_notconnected_header_text+'
':LL_CustomUI.utils.isRightLocation()?LL_CustomUI.utils.isSafari()?'
'+LL_CustomUI.V4LLPanel_notconnected_header_text+'
':'
'+LL_CustomUI.V4LLPanel_notconnected_header_text+'
':'
'+LL_CustomUI.V4LLPanel_notconnected_header_text+"
",LL_CustomUI.noAgentPanel.windowHTML+='
',LL_CustomUI.noAgentPanel.windowHTML+='
',LL_CustomUI.noAgentPanel.windowHTML+='
'+LL_CustomUI.V4LLPanel_notconnected_header_text+'
",LL_CustomUI.noAgentPanel.windowHTML+='
',LL_CustomUI.noAgentPanel.windowHTML+='',LL_CustomUI.noAgentPanel.windowHTML+='",LL_CustomUI.noAgentPanel.windowHTML+="",LL_CustomUI.noAgentPanel.windowHTML+="
',LL_CustomUI.noAgentPanel.windowHTML+='

',LL_CustomUI.noAgentPanel.windowHTML+=LL_CustomUI.noAgentPanel.phoneNumberIconRow,LL_CustomUI.noAgentPanel.windowHTML+='",LL_CustomUI.noAgentPanel.windowHTML+='",LL_CustomUI.noAgentPanel.windowHTML+='",LL_CustomUI.noAgentPanel.windowHTML+="",LL_CustomUI.noAgentPanel.windowHTML+="

",LL_CustomUI.noAgentPanel.windowHTML+="
",LL_CustomUI.noAgentPanel.windowHTML+='
',LL_CustomUI.noAgentPanel.windowHTML+='',LL_CustomUI.noAgentPanel.windowHTML+='",LL_CustomUI.noAgentPanel.windowHTML+="",LL_CustomUI.noAgentPanel.windowHTML+="
',LL_CustomUI.noAgentPanel.windowHTML+='

',LL_CustomUI.noAgentPanel.windowHTML+=LL_CustomUI.V4LLPanel_notconnected_provideNumber_text,LL_CustomUI.noAgentPanel.windowHTML+="

",LL_CustomUI.noAgentPanel.windowHTML+="
",LL_CustomUI.noAgentPanel.windowHTML+='

',LL_CustomUI.noAgentPanel.windowHTML+='",LL_CustomUI.noAgentPanel.windowHTML+='
',LL_CustomUI.noAgentPanel.windowHTML+=LL_CustomUI.noAgentPanel.termsAndConditionsRow,LL_CustomUI.noAgentPanel.windowHTML+="
",LL_CustomUI.noAgentPanel.windowHTML+='

'+LL_CustomUI.V4LLPanel_notconnected_poweredBy_text+'

",LL_CustomUI.noAgentPanel.windowHTML+="
",LL_CustomUI.noAgentPanel.windowHTML+="
",LL_CustomUI.noAgentPanel.innerHTML=LL_CustomUI.noAgentPanel.windowHTML,LL_CustomUI.noAgentPanel.displayError=function(){if(!LL_CustomUI.noAgentPanel.displayError_shown){LL_Utils.$("V4LLPanel_NumberBox").style.display="none",LL_Utils.$("V4LLPanel_provideCodeMessage").innerHTML=LL_CustomUI.v3TryLater,LL_Utils.$("V4LLPanel_provideCodeMessage").style.width="250px",LL_Utils.$("V4LLPanel_provideCodeMessage").style.margin="5px",LL_Utils.$("V4LLPanel_provideCodeMessage").style.padding="5px";var t=LL_Utils.$("V4LLPanel_InnerTitle").cloneNode(!0);t.setAttribute("id","V4LLPanel_InnerTitle_error"),LL_Utils.$("V4LLPanel_CollapsedNarrowNoAgent").appendChild(t);var n=LL_Utils.$("V4LLPanel_provideCodeMessage"),o=1;try{for(;6>o&&(n=n.parentNode,n.style.height&&(n.style.height=parseInt(n.style.height)+23+"px"),o++,"BODY"!=n.nodeName););}catch(e){}LL_CustomUI.noAgentPanel.displayError_shown=!0,LL_CustomUI.V4Panel.toggle("expand"),LL_CustomUI.utils.css("V4LLPanel_PanelClose",{display:"none"}),LL_CustomUI.utils.css("V4LLPanel_PanelMinimize",{right:"0px"})}},LL_CustomUI.noAgentPanel.setWait=function(t){var n="Please wait...",o=LL_Utils.$("V4LLPanel_CollapsedNumContNarrow"),e=LL_Utils.$("V4LLPanel_NumberBox");o&&(o.innerHTML=n),"undefined"!=typeof t&&t&&e&&(e.innerHTML=n)},LL_CustomUI.noAgentPanel.adaptUIForErrorState=function(){var t=LL_Utils.$("LLPrealoderImage");t&&LL_Utils.removeNodes("LLPrealoderImage"),LL_CustomUI.utils.css("V4LLPanel_CollapsedNarrowNoAgent",{display:"none"}),LL_CustomUI.utils.css("V4LLPanel_GenericToggler",{visibility:"visible",display:"block"}),LL_Utils.$("V4LLPanel_InnerTitle").innerHTML=LL_CustomUI.V4LLPanel_notconnected_header_text},LL_CustomUI.noAgentPanel.destroy=function(){LL_Utils.removeNodes("V4LLPanel_Container"),LL_CustomUI.noAgentPanel.isOpen=!1,LL_CustomUI.noAgentPanel.numberAlreadyGenerated=!1,LL_CustomUI.noAgentPanel.isAgentConnected=!1,LL_CustomUI.noAgentPanel.isDisconnectConfirmWindowOpen=!1,LL_CustomUI.V4Panel.presentationCode="","undefined"!=typeof LL_CustomUI.animation&&LL_CustomUI.animation.destroy(),LL_Utils.removeListener("resize",window,LL_CustomUI.noAgentPanel.adjustV4panelMiddlePositionOnResizeListener),LL_Utils.removeListener("click",window,LL_CustomUI.noAgentPanel.hideV4panelOnClickListener),LL_Utils.removeListener("mouseover",LL_Utils.$("V4LLPanel"),LL_CustomUI.noAgentPanel.clearClosingTimerOnMouseoverListener),LL_Utils.removeListener("mouseout",LL_Utils.$("V4LLPanel"),LL_CustomUI.noAgentPanel.resetClosingTimerOnMouseoutListener),LL_CustomUI.isTermsAndConditionsEnabled&&LL_CustomUI.tcPanel&&LL_CustomUI.tcPanel.destroy()},LL_CustomUI.noAgentPanel.start=function(){LL_CustomUI.noAgentPanel.numberGenerationWindow=LL_Utils.$("V4LLPanel")},LL_CustomUI.noAgentPanel.getInitialHandle=function(){LL_CustomUI.noAgentPanel.initialHandle=LL_Utils.$("V4LLPanel_GenericToggler"),LL_CustomUI.noAgentPanel.initialHandleNumberGenerated=LL_Utils.$("V4LLPanel_CollapsedNarrowNoAgent")},LL_CustomUI.noAgentPanel.toggle=function(t){if("expand"===t){if(LL_CustomUI.utils.toggleADA_State("V4LLPanel_PanelMinimize,V4LLPanel_PanelClose,V4LLPanel_TermsAndConditions,V4LLPanel_PoweredBy,V4LLPanel_HiddenPhone,V4LLPanel_provideCodeMessage","enable"),LL_CustomUI.noAgentPanel.isOpen=!0,LL_CustomUI.noAgentPanel.start(),LL_CustomUI.noAgentPanel.numberGenerationWindow.style.height=LL_CustomUI.noAgentPanel.numberGenerationWindowHeight+"px",LL_CustomUI.utils.doFocus("V4LLPanel"),LL_CustomUI.noAgentPanel.numberAlreadyGenerated)LL_CustomUI.utils.doFocus("V4LLPanel_NumberBox");else if(LL_CustomUI.noAgentPanel.isPreviewMode){var n=Math.floor(9e5*Math.random())+1e5;LL_CustomUI.noAgentPanel.setPresentationCode(n)}else LL_Session.start();LL_Utils.$("V4LLPanel_HintBlock").style.visibility="hidden",LL_Utils.$("V4LLPanel_CollapsedNarrowNoAgent").style.visibility="hidden",LL_Utils.timers.set("automaticClosingTimer",function(){LL_CustomUI.noAgentPanel.collapse()},9999)}else if("collapse"===t){if(LL_CustomUI.noAgentPanel.isDisconnectConfirmWindowOpen||LL_Utils.$("V4LLPanelDisconnectConfirmWindow")&&"block"==LL_Utils.$("V4LLPanelDisconnectConfirmWindow").style.display)return;if(!LL_CustomUI.noAgentPanel.isOpen&&!LL_CustomUI.noAgentPanel.presentationCode)return;LL_CustomUI.utils.toggleADA_State("V4LLPanel_PanelMinimize,V4LLPanel_PanelClose,V4LLPanel_TermsAndConditions,V4LLPanel_PoweredBy,V4LLPanel_CloseConfirmButton,V4LLPanel_CloseDeclineButton,V4LLPanel_HiddenPhone,V4LLPanel_provideCodeMessage","disable"),LL_CustomUI.noAgentPanel.isOpen=!1,LL_CustomUI.noAgentPanel.start(),LL_CustomUI.noAgentPanel.numberGenerationWindow.style.height="0px",LL_CustomUI.isTermsAndConditionsEnabled&&LL_CustomUI.noAgentPanel.presentationCode&&LL_Utils.$("V4LLPanel_TermsAndConditionsToggler")&&(LL_Utils.$("V4LLPanel_TermsAndConditionsToggler").style.visibility="hidden"),LL_Utils.$("V4LLPanel_CollapsedNarrowNoAgent").style.visibility="visible",LL_CustomUI.utils.doFocus("V4LLPanel_CollapsedNarrowNoAgent"),LL_Utils.$("V4LLPanel_GenericToggler").style.display="none",LL_Utils.timers.clear("automaticClosingTimer"),LL_CustomUI.noAgentPanel.displayError_shown&&LL_CustomUI.noAgentPanel.adaptUIForErrorState()}},LL_CustomUI.noAgentPanel.expand=function(){LL_CustomUI.noAgentPanel.toggle("expand")},LL_CustomUI.noAgentPanel.collapse=function(){LL_CustomUI.noAgentPanel.toggle("collapse")},LL_CustomUI.noAgentPanel.hide=function(t){t||(t=0),setTimeout(function(){try{LL_Utils.$("V4LLPanel_CollapsedNarrowNoAgent").style.display="none",LL_Utils.$("V4LLPanel_HintBlock").style.display="none",LL_Utils.$("V4LLPanel_GenericToggler").style.display="none",LL_Utils.$("V4LLPanel").style.display="none",LL_Utils.$("V4LLPanel_TermsAndConditionsToggler")&&(LL_Utils.$("V4LLPanel_TermsAndConditionsToggler").style.display="none"),LL_Utils.$("V4LLTermsAndConditionsWindow")&&(LL_Utils.$("V4LLTermsAndConditionsWindow").style.display="none")}catch(t){}},t)},LL_CustomUI.noAgentPanel.setPresentationCode=function(t){LL_Utils.await("V4LLPanel_CollapsedNumContNarrow").then(function(){LL_CustomUI.noAgentPanel.presentationCode=t;var n=LL_Utils.$("V4LLPanel_CollapsedNumContNarrow");LL_Session.SID?(n.innerHTML=LL_CustomUI.V3Activating_text,n.style.fontWeight="bold"):n.innerHTML=t,LL_Utils.$("V4LLPanel_CollapsedNarrowNoAgent")&&!LL_CustomUI.V4Panel.isOpen&&(LL_Utils.$("V4LLPanel_CollapsedNarrowNoAgent").style.visibility="visible",LL_CustomUI.utils.css("V4LLPanel_GenericToggler",{visibility:"hidden"}));6===t.length&&(t=""+t.substring(0,3)+" "+t.substring(3,6)),setTimeout(function(){try{LL_Utils.$("V4LLPanel_NumberBox")&&(LL_Utils.$("V4LLPanel_NumberBox").innerHTML=LL_Session.SID?LL_CustomUI.V3Activating_text:t,LL_CustomUI.utils.doFocus("V4LLPanel_NumberBox"))}catch(n){}},40),LL_CustomUI.noAgentPanel.numberAlreadyGenerated=!0})},LL_CustomUI.noAgentPanel.setAgentConnected=function(){LL_Utils.$("V4LLPanel_DisconnectBtn").style.display="block",LL_CustomUI.noAgentPanel.isAgentConnected=!0},LL_CustomUI.noAgentPanel.toggleDisconnectBtn=function(){var t=!1,n=LL_Utils.$("V4LLPanel_DisconnectTrigger");if(n){t=LL_CustomUI.utils.toggleHoverState(n);var o="url('"+LL_CustomUI.img(t?"V4LLPanel_Connected_disconnect_button_hover":"V4LLPanel_Connected_disconnect_button")+"') no-repeat",e=t?LL_CustomUI.V4LLPanel_Connected_disconnect_button_text_hover_color:LL_CustomUI.V4LLPanel_Connected_disconnect_button_text_color;n.style.background=o,n.style.color="#"+e}},LL_CustomUI.noAgentPanel.doDisconnect=function(t){LL_CustomUI.noAgentPanel.hide(),LL_Session.stop({send:!0,interactive:!0,event:t,reason:Cobrowse.SESSION_END_REASONS.User})},LL_CustomUI.noAgentPanel.openTermsAndConditions=function(){try{var t=window.open(LL_CustomUI.noAgentPanel.faqURL,"FAQ","toolbar=0,scrollbars=yes,location=0,statusbar=0,menubar=0,resizable=0,titlebar=0,status=0,width=615,height=613, left="+(screen.width-610)/2+",top="+(screen.height-613)/2);t.focus()}catch(n){}},LL_CustomUI.noAgentPanel.openDisconnectConfirmWindow=function(){LL_Utils.$("V4LLPanelDisconnectConfirmWindow").style.display="block",LL_CustomUI.noAgentPanel.isDisconnectConfirmWindowOpen=!0,LL_Utils.timers.clear("automaticClosingTimer"),LL_CustomUI.utils.toggleADA_State("V4LLPanel_CloseDeclineButton,V4LLPanel_CloseConfirmButton","enable"),LL_CustomUI.utils.toggleADA_State("V4LLPanel_PanelMinimize,V4LLPanel_PanelClose,V4LLPanel_TermsAndConditions","disable"),LL_CustomUI.utils.doFocus("V4LLPanelDisconnectConfirmWindow")},LL_CustomUI.noAgentPanel.confirmSessionEnd=function(t){LL_CustomUI.noAgentPanel.declineSessionEnd(),LL_Session.stop({send:!0,interactive:!0,event:t,reason:Cobrowse.SESSION_END_REASONS.User})},LL_CustomUI.noAgentPanel.declineSessionEnd=function(){LL_CustomUI.utils.toggleADA_State("V4LLPanel_PanelMinimize,V4LLPanel_PanelClose,V4LLPanel_TermsAndConditions","enable");try{LL_CustomUI.noAgentPanel.isDisconnectConfirmWindowOpen=!1,LL_Utils.$("V4LLPanelDisconnectConfirmWindow").style.display="none"}catch(t){}LL_Utils.timers.set("automaticClosingTimer",function(){try{LL_CustomUI.noAgentPanel.collapse()}catch(t){}},9999),LL_CustomUI.utils.toggleADA_State("V4LLPanel_CloseDeclineButton,V4LLPanel_CloseConfirmButton","disable")},LL_CustomUI.noAgentPanel.toggleConfirmYesBtn=function(){var t=!1,n=LL_Utils.$("V4LLPanel_CloseConfirmButton");if(n){t=LL_CustomUI.utils.toggleHoverState(n);var o="url('"+LL_CustomUI.img(t?"V4LLPanel_CloseConfirmButton_background_hover":"V4LLPanel_CloseConfirmButton_background")+"') no-repeat",e=t?LL_CustomUI.V4LLPanel_CloseConfirmButton_hover_text_color:LL_CustomUI.V4LLPanel_CloseConfirmButton_text_color;n.style.background=o,n.style.color="#"+e}},LL_CustomUI.noAgentPanel.toggleConfirmNoBtn=function(){var t=!1,n=LL_Utils.$("V4LLPanel_CloseDeclineButton");if(n){t=LL_CustomUI.utils.toggleHoverState(n);var o="url('"+LL_CustomUI.img(t?"V4LLPanel_CloseConfirmButton_background_hover":"V4LLPanel_CloseConfirmButton_background")+"') no-repeat",e=t?LL_CustomUI.V4LLPanel_CloseConfirmButton_hover_text_color:LL_CustomUI.V4LLPanel_CloseConfirmButton_text_color;n.style.background=o,n.style.color="#"+e}},LL_CustomUI.noAgentPanel.loadScrollPlugin=function(t){LL_Utils.loadScript("ll_scrollPlugin",LL_Deployment.containers.global+"/"+LL_Deployment.getRelease()+"/client/ui/jquery.jscrollpane.min.js")},LL_CustomUI.noAgentPanel.hint={},LL_CustomUI.noAgentPanel.hint.show=function(){(LL_CustomUI.V4LLPanel_HintBlock_FirstLineText||LL_CustomUI.V4LLPanel_HintBlock_SecondLineText)&&("hidden"!=LL_Utils.$("V4LLPanel_HintBlock").style.visibility||"bottom_right"!=LL_CustomUI.V4LLPanel_position&&"bottom_left"!=LL_CustomUI.V4LLPanel_position&&"bottom_middle"!=LL_CustomUI.V4LLPanel_position||(LL_Utils.$("V4LLPanel_HintBlock").style.visibility="visible")); },LL_CustomUI.noAgentPanel.hint.hide=function(){"visible"==LL_Utils.$("V4LLPanel_HintBlock").style.visibility&&(LL_Utils.$("V4LLPanel_HintBlock").style.visibility="hidden")},LL_CustomUI.noAgentPanel.enablePreviewMode=function(){LL_CustomUI.noAgentPanel.isPreviewMode=!0},LL_CustomUI.noAgentPanel.appendElements=function(){if(!LL_Utils.$("V4LLPanel")){var t=document.createElement("div");if(t.id="V4LLPanel_Container",t.innerHTML=LL_CustomUI.noAgentPanel.windowHTML,document.body.appendChild(t),LL_CustomUI.V4LLPanel_position.indexOf("middle")>0&&(LL_CustomUI.utils.setElementInTheMiddle("V4LLPanel_CollapsedNarrowNoAgent",LL_CustomUI.V4LLPanel_position),LL_CustomUI.utils.setElementInTheMiddle("V4LLPanel_GenericToggler",LL_CustomUI.V4LLPanel_position),LL_CustomUI.utils.setElementInTheMiddle("V4LLPanel",LL_CustomUI.V4LLPanel_position,LL_CustomUI.noAgentPanel.numberGenerationWindowHeight),LL_CustomUI.utils.setElementInTheMiddle("V4LLPanel_HintBlock",LL_CustomUI.V4LLPanel_position)),LL_CustomUI.V4LLPanel_position.indexOf("middle")>0&&LL_Utils.listen("resize",window,LL_CustomUI.noAgentPanel.adjustV4panelMiddlePositionOnResizeListener),LL_Utils.$("V4LLPanel").className+="makeVisible",LL_Utils.listen("click",window,LL_CustomUI.noAgentPanel.hideV4panelOnClickListener),LL_Utils.$("V4LLPanel_TermsAndConditions")&&LL_Utils.listen("click",LL_Utils.$("V4LLPanel_TermsAndConditions"),LL_CustomUI.noAgentPanel.openTermsAndConditions),LL_Utils.listen("click",LL_Utils.$("V4LLPanel_CollapsedNarrowNoAgent"),LL_CustomUI.noAgentPanel.expand),LL_Utils.listen("click",LL_Utils.$("V4LLPanel_GenericToggler"),LL_CustomUI.noAgentPanel.expand),LL_Utils.listen("mouseover",LL_Utils.$("V4LLPanel_GenericToggler"),LL_CustomUI.noAgentPanel.hint.show),LL_Utils.listen("mouseout",LL_Utils.$("V4LLPanel_GenericToggler"),LL_CustomUI.noAgentPanel.hint.hide),LL_Utils.listen("focus",LL_Utils.$("V4LLPanel_GenericToggler"),LL_CustomUI.noAgentPanel.hint.show),LL_Utils.listen("blur",LL_Utils.$("V4LLPanel_GenericToggler"),LL_CustomUI.noAgentPanel.hint.hide),LL_Utils.listen("click",LL_Utils.$("V4LLPanel_PanelMinimize"),LL_CustomUI.noAgentPanel.collapse),LL_Utils.listen("click",LL_Utils.$("V4LLPanel_PanelClose"),LL_CustomUI.noAgentPanel.openDisconnectConfirmWindow),LL_Utils.listen("click",LL_Utils.$("V4LLPanel_CloseDeclineButton"),LL_CustomUI.noAgentPanel.declineSessionEnd),LL_Utils.listen("mouseout",LL_Utils.$("V4LLPanel_CloseDeclineButton"),LL_CustomUI.noAgentPanel.toggleConfirmNoBtn),LL_Utils.listen("mouseover",LL_Utils.$("V4LLPanel_CloseDeclineButton"),LL_CustomUI.noAgentPanel.toggleConfirmNoBtn),LL_Utils.listen("click",LL_Utils.$("V4LLPanel_CloseConfirmButton"),LL_CustomUI.noAgentPanel.confirmSessionEnd),LL_Utils.listen("mouseout",LL_Utils.$("V4LLPanel_CloseConfirmButton"),LL_CustomUI.noAgentPanel.toggleConfirmYesBtn),LL_Utils.listen("mouseover",LL_Utils.$("V4LLPanel_CloseConfirmButton"),LL_CustomUI.noAgentPanel.toggleConfirmYesBtn),LL_Utils.listen("click",LL_Utils.$("V4LLPanel_DisconnectTrigger"),LL_CustomUI.noAgentPanel.doDisconnect),LL_Utils.listen("mouseout",LL_Utils.$("V4LLPanel_DisconnectTrigger"),LL_CustomUI.noAgentPanel.toggleDisconnectBtn),LL_Utils.listen("mouseover",LL_Utils.$("V4LLPanel_DisconnectTrigger"),LL_CustomUI.noAgentPanel.toggleDisconnectBtn),LL_Utils.listen("mouseout",LL_Utils.$("V4LLPanel_HintBlock"),LL_CustomUI.noAgentPanel.hint.hide),LL_CustomUI.noAgentPanel.isPreviewMode||(LL_Utils.listen("mouseover",LL_Utils.$("V4LLPanel"),LL_CustomUI.noAgentPanel.clearClosingTimerOnMouseoverListener),LL_Utils.listen("mouseout",LL_Utils.$("V4LLPanel"),LL_CustomUI.noAgentPanel.resetClosingTimerOnMouseoutListener)),LL_CustomUI.utils.toggleADA_State("V4LLPanel_PanelMinimize,V4LLPanel_PanelClose,V4LLPanel_TermsAndConditions,V4LLPanel_PoweredBy,V4LLPanel_CloseConfirmButton,V4LLPanel_CloseDeclineButton,V4LLPanel_HiddenPhone,V4LLPanel_provideCodeMessage","disable"),2===LL_Deployment.launchPoint.type){var n=LL_CustomUILoader.getFilePath(LL_CustomUILoader.modules.Animation,!0);LL_Utils.fetch("LL_CustomUI.animation",n).then(function(){LL_CustomUI.animation.init(),LL_Utils.$("V4LLPanel_GenericToggler").style.visibility="hidden",LL_CustomUI.isTermsAndConditionsEnabled&&"undefined"!=typeof $&&"undefined"!=typeof $.css&&LL_CustomUI.noAgentPanel.loadScrollPlugin($)},function(){LL_CustomUILoader.dependencyError()})}LL_CustomUI.isTermsAndConditionsEnabled&&1===LL_Deployment.launchPoint.type&&LL_Session.currentState.get()===LL_Session.states.READY&&("undefined"!=typeof $&&"undefined"!=typeof $.css&&LL_CustomUI.noAgentPanel.loadScrollPlugin($),LL_CustomUI.tcPanel.appendElements(),LL_Utils.$("V4LLPanel_GenericToggler").style.visibility="hidden")}},LL_CustomUI.noAgentPanel.init=LL_CustomUI.noAgentPanel.appendElements,LL_CustomUI.noAgentPanel.adjustV4panelMiddlePositionOnResizeListener=function(t){document.getElementById("V4LLPanel_CollapsedNarrowNoAgent")&&(LL_CustomUI.utils.setElementInTheMiddle("V4LLPanel_CollapsedNarrowNoAgent",LL_CustomUI.V4LLPanel_position),LL_CustomUI.utils.setElementInTheMiddle("V4LLPanel_GenericToggler",LL_CustomUI.V4LLPanel_position),LL_CustomUI.utils.setElementInTheMiddle("V4LLPanel",LL_CustomUI.V4LLPanel_position,LL_CustomUI.noAgentPanel.numberGenerationWindowHeight),LL_CustomUI.utils.setElementInTheMiddle("V4LLPanel_HintBlock",LL_CustomUI.V4LLPanel_position))},LL_CustomUI.noAgentPanel.hideV4panelOnClickListener=function(t){var n=t.target||t.srcElement,o=n&&n.id?n.id:"";n.id.indexOf("LLPanel")<0&&1==LL_CustomUI.noAgentPanel.isOpen&&o!==LL_Deployment.launchPoint.elementId&&LL_CustomUI.noAgentPanel.collapse()},LL_CustomUI.noAgentPanel.clearClosingTimerOnMouseoverListener=function(t){LL_Utils.timers.clear("automaticClosingTimer")},LL_CustomUI.noAgentPanel.resetClosingTimerOnMouseoutListener=function(t){(2!==LL_Deployment.launchPoint.type||LL_CustomUI.noAgentPanel.presentationCode)&&(LL_CustomUI.noAgentPanel.isDisconnectConfirmWindowOpen||LL_Utils.timers.set("automaticClosingTimer",function(){try{LL_CustomUI.noAgentPanel.collapse()}catch(t){}},9999))})};