// livechat by www.mylivechat.com/ 2018-06-12 // first loading if (typeof (MyLiveChat) == "undefined") { MyLiveChat = {}; MyLiveChat.RawConfig ={InlineChatSelectAgentUI:"",maxWaitTime:"300",OperatingHoursValDay1:"9:00-17:00",SupportShowEmotionButton:"0",WidgetOpenNewWindow:"False",OperatingHoursValDay2:"9:00-17:00",OperatingHoursValDay5:"9:00-17:00",WaitingFieldQuestion:"1",WebConsoleRedirectTime:"637042830731492735",InlineChatWaitingFieldDepartment:"0",SupportShowUnderlineButton:"0",SupportShowBoldButton:"0",InlineChatBubbleUIMode:"0",InPageUseBubbleTopOnlineOnly:"0",OperatingHoursCheckDay5:"1",OperatingHoursEnable:"1",InviteHeadline:"Chat Invitation",OperatingHoursCheckDay0:"0",OperatingHoursCheckDay1:"1",InlineChatSelectAgentByDept:"",InlineChatSurveyVisible:"0",InviteSoundFile:"1",WaitingShowForInvite:"0",InlineChatSurveyUseComment:"0",SupportShowMailButton:"0",OperatingHoursCheckDay6:"0",InlineChatSurveyUseRating:"0",SupportShowUploadButton:"0",InviteAcceptTooltip:"Chat Invitation",InlineChatSelectAgent:"1",InlineChatmaxWaitTime:"300",InlineChatEnableAnimate:"0",SupportShowItalicButton:"0",UIMobileMode:"Dialog",InPageBubbleTop:"1",DialogHeight:"420",InPageUseBubbleTop:"0",InlineChatShowBrandPhoto:"0",OperatingHoursCheckDay4:"1",SupportShowEditToolbar:"0",InviteRejectTooltip:"Close",InlineChatOnlineLogo:"a1",WaitingShowForSmart:"1",ButtonOpenNewWindow:"False",SurveyUseEmail:"0",SupportShowTopToolbar:"0",OperatingHoursCheckWeekday:"1",InPageTemplate:"5",MessageTimestampVisible:"1",OperatingHoursValDay4:"9:00-17:00",OperatingHoursSchedule:"0",FeedbackBehavior:"Hide",InlineChatWaitingFieldEmail:"2",InlineChatOnholdWaitTime:"120",SupportShowPrintButton:"0",InlineChatShowMailButton:"0",DialogWidth:"580",InPageTemplateMobile:"0",SupportShowSoundButton:"0",SurveyUseComment:"0",SurveyVisible:"0",WaitingFieldDepartment:"0",WaitingFieldEmail:"2",InlineChatOfflineLogo:"a1",OnholdWaitTime:"120",UIDialogMode:"Classic",InlineChatFeedbackBehavior:"Hide",OperatingHoursValWeekday:"7:05-14:00",InlineChatTimestampVisible:"1",UIPopupMode:"Modern",SurveyUseRating:"0",InlineChatShowAgentPanel:"0",OperatingHoursCheckDay3:"1",OperatingHoursValWeekend:"23:15-23:15",InlineChatSelectAgentOnlineOnly:"1",InvitePlaySound:"1",InlineChatShowUploadButton:"0",InlineChatShowLogo:"0",InlineChatShowSaveButton:"0",OperatingHoursCheckWeekend:"1",InPageImageOffline:"1",SupportShowSaveButton:"0",InviteTemplate:"5",InviteHideTimeout:"1800",WaitingShowForClick:"1",InlineChatWaitingShowForClick:"1",OperatingHoursValDay3:"9:00-17:00",InlineChatHideSubject:"1",InlineChatWaitingFieldQuestion:"1",OperatingHoursCheckDay2:"1",InPageImageOnline:"1",InviteMessage:"Hello, my name is (AGENT). How can I help you today?\x0APlease include your e-mail to start chat.",InlineChatShowEmotionButton:"0"}; MyLiveChat.RawQuery ={hccid:"45224259",apimode:"chatinline"}; for (var mlcp in MyLiveChat.RawConfig) { MyLiveChat[mlcp] = MyLiveChat.RawConfig[mlcp]; } for (var mlcp in MyLiveChat.RawQuery) { MyLiveChat[mlcp] = MyLiveChat.RawQuery[mlcp]; } MyLiveChat.HCCID ='45224259'; MyLiveChat.PageBeginTime = new Date().getTime(); MyLiveChat.LoadingHandlers = []; // ,"Departments" MyLiveChat.CPRFIELDS = ["SyncType", "SyncStatus", "SyncResult", "HasReadyAgents", "VisitorUrls", "VisitorStatus", "VisitorDuration", "VisitorEntryUrl", "VisitorReferUrl"]; MyLiveChat.DefaultFont = "Poppins"; (function () { function loadfont(font) { var fonturl = "https://fonts.googleapis.com/css?family=" + encodeURIComponent(font) + ":300,400,500,600,700"; var div = document.createElement('div'); div.style.cssText = "position:fixed;left:-1000px;"; div.style.fontFamily = '"' + font + '"'; div.innerText = "a"; try { document.body.appendChild(div); } catch (x) { var head = document.getElementsByTagName("head")[0] try { head.appendChild(div); } catch (x) { head.insertBefore(div, head.firstChild); } } var link = MyLiveChat_ImportCss(fonturl); link.onload = function () { setTimeout(function () { document.body.removeChild(div); }, 100) } } var fonts = ["Poppins"]; try { for (var p in MyLiveChat.RawConfig) { var fontval; if (/Font$/.test(p)) { fontval = MyLiveChat.RawConfig[p]; } if (/TextStyle$/.test(p)) { var ts = MyLiveChat.RawConfig[p]; if (ts) { //ts = "test:123;" + ts + ";another:222"; var ms = /font-family:([^;]+)/.exec(ts); if (ms)fontval = ms[1]; } } if (!fontval || fonts.indexOf(fontval) != -1) continue; //console.log(fontval) switch (fontval) { case "Poppins": case "Open Sans": case "Noto Sans": case "Lato": case "Lora": case "Roboto": case "proxima-nova": fonts.push(fontval); break; } } } catch (x) { console.error(x); } for (var i = 0; i < fonts.length; i++) { loadfont(fonts[i]) } })(); } else { MyLiveChat.MultiLinked = true; } MyLiveChat.Version =3015; MyLiveChat.FirstRequestTimeout =1800; MyLiveChat.NextRequestTimeout =15000; MyLiveChat.SyncType =null; MyLiveChat.SyncStatus ="LOADING"; MyLiveChat.SyncUserName =null; MyLiveChat.SyncResult ="LOADING"; MyLiveChat.HasReadyAgents =true; MyLiveChat.SourceUrl ="https://bitcoinprofitpro.com/"; MyLiveChat.AgentTimeZone = parseInt("1" || "-5"); MyLiveChat.VisitorStatus =""; MyLiveChat.UrlBase ="https://a7.mylivechat.com/livechat2/"; MyLiveChat.SiteUrl ="https://a7.mylivechat.com/"; if (!MyLiveChat.AgentId) MyLiveChat.AgentId = MyLiveChat.RawAgentId; MyLiveChat.Departments = []; MyLiveChat.Departments.push({ Name:"Default", Agents: [{ Id:'User:1', Name:"Lauren S.", Online:true },{ Id:'User:11', Name:"Caroline V.", Online:false },{ Id:'User:12', Name:"Darlene S.", Online:false }], Online:true }); MyLiveChat.VisitorUrls = []; function MyLiveChat_AddScript(tag) { var func = MyLiveChat_AddScript; var arr = func._list; if (!arr) func._list = arr = []; if (func._loading) { arr.push(tag); return; } function ontagload() { func._loading = false; if (!arr.length) return; tag = arr.shift(); LoadTag(); } function LoadTag() { func._loading = true; if ('onload' in tag) { tag.onload = ontagload; } else { var iid = setInterval(function () { if (tag.readyState != 'complete' && tag.readyState != 'loaded') return; clearInterval(iid); ontagload(); }, 10); } var p = document.getElementsByTagName("head")[0] || document.body; p.insertBefore(tag, p.firstChild); } LoadTag(); } function MyLiveChat_GetLastScriptTag() { var coll = document.getElementsByTagName("script"); return coll[coll.length - 1]; } function MyLiveChat_ImportCss(url) { var p = document.head || document.getElementsByTagName("head")[0] || document.body; var tag = document.createElement("link"); tag.setAttribute("rel", "stylesheet"); tag.setAttribute("href", url); p.insertBefore(tag, p.firstChild); return tag; } function MyLiveChat_DocWrite(html, relativetag) { if (html.substr(0, 7) == "]*)["']/)[1]; if (!MyLiveChat.LoadedScripts) MyLiveChat.LoadedScripts = {}; if (MyLiveChat.LoadedScripts[src]) return; MyLiveChat.LoadedScripts[src] = true; var tag = document.createElement("script"); tag.setAttribute("src", src); MyLiveChat_AddScript(tag); } else { if (!document.body || document.readyState == "loading") { document.write(html); return; } if (!relativetag) relativetag = MyLiveChat_GetLastScriptTag(); var div = document.createElement("DIV"); div.innerHTML = html; while (true) { var c = div.firstChild; if (!c) break; div.removeChild(c); relativetag.parentNode.insertBefore(c, relativetag); } } } MyLiveChat.RandomID = '3af8499d-adc9-b429-466c-8a0182c6d808'; MyLiveChat.NewGuid = function () { var guid = ""; for (var i = 1; i <= 32; i++) { guid += Math.floor(Math.random() * 16.0).toString(16); if (i == 8 || i == 12 || i == 16 || i == 20) guid += "-"; } return guid; } MyLiveChat.RandomID = MyLiveChat.NewGuid().substring(0, 18) + MyLiveChat.RandomID.substring(18); MyLiveChat.VisitorDuration = 0; MyLiveChat.VisitorEntryUrl = ""; MyLiveChat.VisitorReferUrl = ""; MyLiveChat.ShowButton =true; MyLiveChat.ShowLink =true; MyLiveChat.ShowBox =true; MyLiveChat.ShowSmart =false; MyLiveChat.NoPrivateLabel =true; MyLiveChat.LoadingHandlers.push(function (funcself) { MyLiveChat_RunLoadingHandler('chatinline', funcself); }); MyLiveChat.ResourcesVary ="\x26culture=en-GB\x26mlcv=3015\x26template=5"; MyLiveChat['chatinline' + "_script_tag"] = MyLiveChat_GetLastScriptTag(); if (typeof (MyLiveChat_Initialize) != "undefined") { MyLiveChat_Initialize() } else if (!MyLiveChat.MultiLinked) { MyLiveChat_ImportCss(MyLiveChat.UrlBase + "chatinline.css?" + MyLiveChat.ResourcesVary); MyLiveChat_DocWrite("