function getHxLoginCookie(c_name) { if (document.cookie.length > 0) { c_start = document.cookie.indexOf(c_name + "="); if (c_start != -1) { c_start = c_start + c_name.length + 1; c_end = document.cookie.indexOf(";", c_start); if (c_end == -1) c_end = document.cookie.length; return unescape(document.cookie.substring(c_start, c_end)) } } return "" } var hxschoolid = 0; var hxcourseid = 0; var hxulid = 0; var hxcategoryid = 0; var hxfloathtml = ''; var hxchatbottomhtml = ''; var hxopenurl = ''; var hxchatcenterhtml = ''; var schgroupid=0; var hxhref = window.location.href; var hxrefer = encodeURIComponent(document.referrer); var hxcururl = encodeURIComponent(window.location.href); var hxwebtitle = encodeURIComponent(document.title); if (document.getElementsByName('loginid').length > 0) { hxschoolid = document.getElementsByName('loginid')[0].value; } if (hxschoolid <= 0) { var sid = hxhref.match(/\/xuexiao\/(\d+)\/(\w+).htm/); if (sid) { hxschoolid = sid[1]; } } var id = hxhref.match(/\/kecheng\/(\d+).html/); var id1 = hxhref.match(/\/kecheng\/(\d+)\//); var category = hxhref.match(/zhuanti.houxue.com\/([a-zA-Z]+).html$/); var huodong = hxhref.match(/sale.houxue.com\/huodong\/chongwu.html/); if (category) { hxcategoryid = category[1]; } if (id) { hxcourseid = id[1]; } if (id1) { hxcourseid = id1[1]; } if (hxschoolid <= 0 && hxcourseid <= 0) { hxwebtitle = ''; } if (getHxLoginCookie('userid')) { hxulid = getHxLoginCookie('userid'); } hxopenurl = "https://im.houxue.com/chat/talk/enter?c=E3F8AACFA6C9C4A4BDC1287F626E5BB5&w=w3753&s=12256&sn=&n=%25E8%25AF%25BE%25E7%25A8%258B%25E9%25A1%25BE%25E9%2597%25AE&p=0&si=79F08BC77B29793D145D91F0A13C1B33&st=800&t=1&phone=400-656-1390&comname=%25E5%259C%25A8%25E7%25BA%25BF%25E5%2592%25A8%25E8%25AF%25A2%25E4%25B8%25AD%25E5%25BF%2583&aid=15&seattype=1&curtime=1716258966"; if (hxopenurl != "") { hxopenurl += '&sl=' + hxschoolid + '&pg=' + hxcourseid + '&r=' + hxrefer + '&webtitle=' + hxwebtitle + '&ulid=' + hxulid + '&cururl=' + hxcururl; } if (typeof(jQuery) == "undefined") { hxfloathtml += ''; } var HXSeatCss = ''; //中间弹出窗 hxchatcenterhtml +='
'; hxchatcenterhtml += '
' hxchatcenterhtml += ''; hxchatcenterhtml += '
'; hxchatcenterhtml += '
'; hxchatcenterhtml += '

您好!我是课程顾问!

'; hxchatcenterhtml += '

请问您想咨询什么课程?

'; hxchatcenterhtml += '
'; hxchatcenterhtml += '
'; hxchatcenterhtml += '

400-656-1390

' hxchatcenterhtml += '
'; hxchatcenterhtml += '
'; hxchatcenterhtml +='
'; document.write(hxchatcenterhtml); //中间弹窗特效 $(function() { $('.center-close').hover( function() { $(this).css('background-image','url(https://im.houxue.com/asset/images/seat2.0/close002.png)') }, function() { $(this).css('background-image','url(https://im.houxue.com/asset/images/seat2.0/close001.png)') } ) $('#into-seat').hover( function() { $(this).css('background-image','url(https://im.houxue.com/asset/images/seat2.0/zixun-btn02.png)') }, function() { $(this).css('background-image','url(https://im.houxue.com/asset/images/seat2.0/zixun-btn01.png)') } ) $('#into-seat,.center-close').click(function() { $('#center-pop').css('display','none'); }); }); /*打开座席聊天窗口*/ function openchatboxes() { if (hxopenurl == '') { return; } var iWidth = 680; //弹出窗口的宽度; var iHeight = 530; //弹出窗口的高度; var iTop = (window.screen.availHeight - 30 - iHeight) / 2; //获得窗口的垂直位置; var iLeft = (window.screen.availWidth - 10 - iWidth) / 2; //获得窗口的水平位置; window.open(hxopenurl, 'newchat', 'height=' + iHeight + ',innerHeight=' + iHeight + ',width=' + iWidth + ',innerWidth=' + iWidth + ',top=' + iTop + ',left=' + iLeft + ',toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no,status=no,z-look=yes,alwaysRaised=yes,depended=yes,hotkeys=yes'); return false; }