var JESONG_MESSAGE_TEXT; var jesong; window.sendJesongError = function(type, error){ var img = document.createElement("img"); img.src= "http://m.easyliao.com/i?cmd=loadError&c=24010&j=28846&type="+type+"&error="+(error ? window.encodeURIComponent(error) : "")+"&url="+window.encodeURIComponent(window.location.href); img.style="border:0px;width:0px;height:0px;"; document.body.appendChild(img); }; window.jesongErrorTimeout = window.setTimeout(function(){ window.sendJesongError(2); }, 5000); (function(){ function isMobile(){ if(/AppleWebKit.*Mobile/i.test(navigator.userAgent) || (/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){ return true; }else{ return false; } } if(jesong || (false && false != isMobile())){ return; } JESONG_MESSAGE_TEXT = {"inviteText":"","extCode":"var saiyoustyle = document.createElement(\"style\");\nsaiyoustyle.innerHTML = \"#jesong_monitor{display:none !important;}\";\ndocument.body.append(saiyoustyle);\nvar saiyouA = document.createElement(\"a\");\nsaiyouA.setAttribute(\"id\",\"saiyoubtn\");\nsaiyouA.setAttribute(\"onclick\",\"openJesongChatByGroup(24010,20986);\");\ndocument.body.append(saiyouA);\njesong.monitor.show=function(){\n if(jesong.force && jesong.force.isChatLayoutShow()){\n return;\n }\n \n var u = jesong.util;\n if(jesong.monitor.config.mask){\n var m=u.$('jesong_mon_mask');\n (m!=null) ||( m = jesong.monitor.buildMask());\n u.show(m);\n }\n u.show('jesong_monitor');\ndocument.getElementsByTagName(\"body\")[0].onclick = function(){\n\tdocument.getElementById(\"saiyoubtn\").click()\n}\n if(jesong.panel && jesong.panel.config && jesong.panel.config.panelWhenInvite == \"1\"){\n u.hide('jesong_panel');\n }\n window.focus();\n if(typeof jesong.monitor.autoTimer != 'undefined' && jesong.monitor.autoTimer !=0){\n clearTimeout(jesong.monitor.autoTimer);\n jesong.monitor.autoTimer = 0;\n }\n } ","msgOfDisConnected":"感谢您的咨询, 再见!","welcomeMsgOfConnected":"

【对话已加密】您好,这里是长沙东大肛肠医院  卫生部门审批专科医院,很高心与您对话!

","inviteTitle":"","replyMsgAtConnected":"","welcomeMsgOfConnectedMin":"

【对话已加密】您好,这里是长沙东大肛肠医院  卫生部门审批专科医院,很高心与您对话!

","msgOfTrans":"您的对话将被转移给我的同事, 感谢您的咨询!"}; jesong={ lazy : false, version : '20190606', language : 'sc', visitorReady : false, forceReady : false, newChat : false, jsType : 0, callerOpinion : "0", env:{ aiReady : -1, isPhone : false, scheme : "http", schemePort : "80", server:{ monitor:'http://m.easyliao.com/', chat:'http://live.easyliao.com/live/', file:'http://scripts.easyliao.com/prd/', guide : 'http://live.easyliao.com/api/robot' }, compId:24010, confId:28846, vId:'', uId:'', pId:0, sid:0, promotionId:0, mId:'', lang:'', min:0, pos:'1' }, config:{ firstToRebot:0, phoneChatPop:1, monitor:true, panel:false, frameChatStyle:14, forceChatLogo:"" }, monitor:{}, panel:{},win:{},icon:{},text:{}, freecall:{}, probe:{}, phone:{}, _isBindHost:function(){ var bindHosts = ""; if(bindHosts != ""){ var _hosts = bindHosts.split(","); var domain = window.location.host; var bindHostFlag = false; for(var i=0; i < _hosts.length; i++){ if(domain == _hosts[i]){ bindHostFlag = true; break; } } return bindHostFlag; }else{ return true; } }, _genId : function(){ var random4 = function(){ return parseInt(Math.random()*9000+1000, 10); } var cId = "24010"; while(cId.length < 12){ cId = "0"+cId; } var id = ""+new Date().getTime(); id = id.substring(3); id += random4(); id += random4(); return "01"+cId+id; }, _createLayout : function(id, className){ if(!this.lazy){ document.write('
'); }else{ var _div = document.createElement("div"); _div.id = id; _div.className = className; document.body.appendChild(_div); } }, _loadJS : function(src){ if(!this.lazy){ //async="async" document.write(''); }else{ var script = document.createElement( "script" ); script.type = "text/javascript"; script.charset = "utf-8"; script.src = src; document.getElementsByTagName("script")[0].parentNode.appendChild(script); } }, _loadCSS : function(url){ if(!this.lazy){ document.write(''); }else{ var link = document.createElement( "link" ); link.type = "text/css"; link.rel = "stylesheet"; link.href = url; document.getElementsByTagName( "head" )[0].appendChild( link ); } }, init:function(){ if(this._isBindHost()){ jesong.env.vId = this._genId(); this._createLayout("jesong_panel", ""); if(jesong.jsType == 1 && jesong.env.isPhone){ this._createLayout("jesong_chat_layout", "jesong_phone_layout jesong_phone_layout_sc_1"); }else{ this._createLayout("jesong_chat_layout", "jesong_chat_layout_pc jesong_chat_layout_pc_sc"); } document.getElementById("jesong_chat_layout").style.display = "none"; this._createLayout("jesong_chat_min", "jesong_chat_min_sc"); this._createLayout("jesong_pop_msg", (jesong.jsType == 1 && jesong.env.isPhone) ? "jesong_pop_msg_phone" : ""); if("https:" == document.location.protocol){ this.env.server.monitor = this.env.server.monitor.replace("http", "https"); this.env.server.chat = this.env.server.chat.replace("http", "https"); this.env.server.file = this.env.server.file.replace("http", "https"); this.env.schemePort = "443"; this.env.scheme = "https"; } this._loadCSS(this.env.server.file + "css/webcall.css?ver=20190606"); this._loadJS(this.env.server.file + "static/2019/js/webcall.js?ver=20190606"); this._loadCSS(this.env.server.file + "static/2019/css/force.css?ver=20190606"); } }, words:{ welcome:JESONG_MESSAGE_TEXT.welcomeMsgOfConnected, welcomeMin:JESONG_MESSAGE_TEXT.welcomeMsgOfConnectedMin, greeting:JESONG_MESSAGE_TEXT.replyMsgAtConnected, disconnect:JESONG_MESSAGE_TEXT.msgOfDisConnected } }; jesong.monitor.config={ index:0, type:0, title:JESONG_MESSAGE_TEXT.inviteTitle, text:JESONG_MESSAGE_TEXT.inviteText, pos:'3', auto:-1, showInviteAgain:-1, autoInviteTimes:-1, group:'20986', start:'09:00', end:'17:00', mask:false, mainBg:'url() no-repeat', mainHeight:'0', mainWidth:'0', acceptStyle:'position:absolute;background:url() no-repeat;height:0px;width:0px;top:0px;left:0px;', refuseStyle:'position:absolute;background:url() no-repeat;height:0px;width:0px;top:0px;left:0px;', textStyle:'position:absolute;height:0px;width:0px;top:0px;left:0px;' }; jesong.probe = { texts:"", groupIds:"" }; jesong.autochat={ keyWord : null, sendkeyWord : 0, searchMode : 0, bgcolor:'#3097ef', width:320, height:435, use:0, start:'09:00', end:'18:00', times:-1, delay : 0, hideMonitor : true, show:false, welcome:JESONG_MESSAGE_TEXT.welcomeMsgOfConnected, waitSendMsg:'', connect : '0', closeBtn : '1', minBtn : '1', mask : '0', userHead : 'http://scripts.easyliao.com/prd//images/chat/201805/head-user.png', visitorHead : 'http://scripts.easyliao.com/prd//images/chat/201805/head-visitor.png', topImage : '', topImageMin : '', phoneHeight : 80, tel : '0731-88150120', pageTitle : '长沙东大肛肠医院', pcMinLogo : '', autoPopMWinTime : 0, autoPopMWinPeroid : 0, softLogoLicense : false, softLogo : "", tools:{ emoticons : '1', opinion : '1', screen : '0', file : '0', quiet : '1' }, popMsg : { head : '', title : '您有新的客户消息,请注意查看!', bgColor : '#2273F8', color : '#ffffff', opacity : '80' } }; jesong.init(); })();