try{ var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "//hm.baidu.com/hm.js?5d90e3a41e4312e78faf467bfdfaaad5"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); }catch(e){} var hz6d_guest_id = $53.getCookie('53gid2'); var hz6d_cus_web_msg_gids = ""; function hz6d_cus_web_msg_open(){ var openurl = "http://www15.53kf.com/webCompany.php?arg=10128512&style=2&kflist=off&kf=56cfbcce99326e9d310314c9&zdkf_type=2&language=zh-cn&charset=gbk&username=&userinfo=&introurl=&lyurl=&lytype=0&copartner=&referer=http%3A%2F%2Fwww.frontop.cn%2Fproduct%2Fzuo-pin-list-0.htm&keyword=https%3A%2F%2Fwww.baidu.com%2Flink%3Furl%3DwsvR5CHfV0GCm7BjKbPs88yBSuOmhAXkWKdLi3Y73pW%26wd%3D%26eqid%3De75d6fb200084d070000000657d4f798&brief=&logo=&question="; try{ window.open(openurl,"_blank","height=473,width=703,top=200,left=200,status=yes,toolbar=no,menubar=no,resizable=yes,scrollbars=no,location=no,titlebar=no"); }catch(e){} } // hz6d_get_guest_id_timer = setTimeout("hz6d_get_guest_id()", 500); var create_flp_jquery_timer = window.setInterval(function(){ if (!document.getElementById('hz6d_flp_jquery')) { $53.creElm({ id: 'hz6d_flp_jquery', src: 'http://www15.53kf.com/minkh/js/jquery-1.4.2.flp.js?20121127002', charset: "utf-8", type: 'text/javascript' },'script', document.body, 1); clearInterval(create_flp_jquery_timer); } },500); // 发送acc var hz6d_filter_time = ""; var is_right="r"; var is_top="b"; /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// var height_new = 223; // 邀请框处理 var acc_pop_page = "1"; var acc_pop_pagenum = 1; var acc_pop_total = "1"; var acc_pop_totalnum = 3; var nowpage = window.location.href; nowpage = nowpage.replace('http://','').replace('https://',''); nowpage = nowpage.split('?'); nowpage = nowpage[0].replace(/\./g,'_').replace(/\//g,'_'); var acc_lr = "1"; var acc_tb = "1"; var acc_middle = "1"; var how_float = "0"; var acc_left = 280; var acc_top = 230; var acc_autotype = "0"; // 点击接受或拒绝不再弹出 var ivt_autotype = "0"; var zdyivt = "0"; var ivtstr = "
凡拓在线客服
欢迎咨询!
请问有什么可以帮您的?
"; var is_autoyqk = "1"; var once_autoyqk = 0;//邀请语开关 var zdyivt_width = "0px"; var zdyivt_height = "0px"; var acc_reinvite = "1"; var acc_reauto = "1"; var acc_reauto_time = 40000; var acc_poptime = 10000; // var acc_poptype = -1; var acc_zdfq = "no"; var acc_freeze = "off"; var acc_chattype = 3; var ivt_zdfq = "yes"; var ivt_poptime = 5000;//邀请框延迟弹出 var ivt_reauto = "1"; var ivt_reauto_time = 30000; var ivt_pop_page = "1"; var ivt_pop_pagenum = 2; var ivt_pop_total = "1"; var ivt_pop_totalnum = 4; var acc_from_kf = false; var hz6d_ivt_effect = "1"; var hz6d_cname = "广州凡拓数字创意科技股份有限公司"; var font_color; hz6d_cname = hz6d_cname.replace(/\"/g, '"').replace(/\'/g, ''').replace(//g, '>'); var hz6d_ivt_tpl = ""; var acc_content = "有什么可以帮助您的吗?"; var chatWindow; //弹出新窗口 var deteTime; if(0==0) { acc_content = "客服不在线,点击留言!"; } var ivt_timer = 0; var force_kf = ""; var man_content = ""; $53.creElm({ 'id':'kfiframe', 'src':'', 'style':'display:none;overflow:hidden;', 'frameBorder':0, 'scrolling': 'no' },'iframe'); $53.creElm({ 'id':'kfivteffect', 'style':'display:none;position:absolute;width:0px;height:0px;overflow:hidden;border:1px solid #1B88D0;background:#D6EEFD;z-index:10087;' },'div'); $53.creElm({ 'id':'kfivtwin', 'style': (is_autoyqk == 1) ? 'display:none;overflow:visible;' : 'display:none;overflow:hidden;', 'innerHTML': (is_autoyqk == 1) ? ivt_seturl(ivtstr) : ivtstr },'div'); if(1 == 1){ // 强制对话小窗口HTML if(1==2) { font_color='#4aa1e4'; } else { font_color='#fff'; } var tmp_innerHTML = '
' + hz6d_cname + '
'; if(1 == 1){ tmp_innerHTML = '
' + hz6d_cname + '
'; } $53.creElm({ 'id':'div_company_mini', 'style':'display:none;position:fixed;right:0;bottom:0;width:403px;height:378px;overflow:hidden;z-index:10089;cursor:move;', 'innerHTML': tmp_innerHTML },'div'); } if(1 == 8){ // 定制强制对话小窗口 var tmp_innerHTML = '
' + hz6d_cname + '
'; $53.creElm({ 'id':'div_company_mini', 'style':'display:none;position:fixed;right:0;bottom:0;width:320px;height:393px;overflow:hidden;z-index:10089;cursor:move;', 'innerHTML': tmp_innerHTML },'div'); } if(1 == 9){ // 定制强制对话小窗口 var tmp_innerHTML = '
' + hz6d_cname + '
'; $53.creElm({ 'id':'div_company_mini', 'style':'display:none;position:fixed;right:0;bottom:0;width:370px;height:393px;overflow:hidden;z-index:10089;cursor:move;', 'innerHTML': tmp_innerHTML },'div'); } if(1 == 10) { // 定制强制对话小窗口 var tmp_innerHTML = '
' + hz6d_cname + '
'; $53.creElm({ 'id':'div_company_mini', 'style':'display:none;position:fixed;right:0;bottom:0;width:400px;height:423px;overflow:hidden;z-index:10089;cursor:move;', 'innerHTML': tmp_innerHTML },'div'); } if(1 == 11){ // 定制强制对话小窗口 var tmp_innerHTML = '
'; $53.creElm({ 'id':'div_company_mini', 'style':'display:none;position:fixed;right:0;bottom:0;width:450px;height:375px;z-index:10089;cursor:move;', 'innerHTML': tmp_innerHTML },'div'); } if(1 == 12) { // 定制强制对话小窗口 var tmp_innerHTML = '
' + hz6d_cname + '
'; $53.creElm({ 'id':'div_company_mini', 'style':'display:none;position:fixed;right:0;bottom:0;width:403px;height:378px;overflow:hidden;z-index:10089;cursor:move;', 'innerHTML': tmp_innerHTML },'div'); } if(1 == 13) { // 定制强制对话小窗口 var tmp_innerHTML = '
'; $53.creElm({ 'id':'div_company_mini', 'style':'display:none;position:fixed;right:0;bottom:0;width:280px;height:466px;overflow:hidden;z-index:10089;cursor:move;', 'innerHTML': tmp_innerHTML },'div'); } // mini悬浮对话窗口 转到正常聊天窗口 function max_from_company_mini(t) { var openurl = "http://www15.53kf.com/webCompany.php?arg=10128512&style=2&kflist=off&kf=56cfbcce99326e9d310314c9&zdkf_type=2&language=zh-cn&charset=gbk&username=&userinfo=&introurl=&lyurl=&lytype=0&copartner=&referer=http%3A%2F%2Fwww.frontop.cn%2Fproduct%2Fzuo-pin-list-0.htm&keyword=https%3A%2F%2Fwww.baidu.com%2Flink%3Furl%3DwsvR5CHfV0GCm7BjKbPs88yBSuOmhAXkWKdLi3Y73pW%26wd%3D%26eqid%3De75d6fb200084d070000000657d4f798&brief=&logo=&question=&tfrom=2"+force_kf; try{ chatWindow = window.open(openurl,"_blank","height=470,width=702,top=200,left=200,status=yes,toolbar=no,menubar=no,resizable=yes,scrollbars=no,location=no,titlebar=no"); if(chatWindow==null){ location.href = openurl; }else{ chatWindow.focus(); chatWindow.opener = window; } }catch(e){ location.href = openurl; // 傲游 } close_company_mini(); t.parentNode.parentNode.removeChild(t.parentNode); } // mini悬浮对话窗口 缩小、放大 function max_min_company_mini(t) { if (t.getAttribute('max_min') == 'max') { $53("div_company_mini").style.height = "36px"; $53("hz6d_cname_mini_div").style.width = "130px"; $53("div_company_mini").style.width = "203px"; $53("iframe_company_mini_div").style.display = "none"; t.style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/max.png')"; t.setAttribute('max_min','min'); t.title = t.getAttribute('mini_recover'); $53("div_company_mini").style.right = '0px'; $53("div_company_mini").style.bottom = '0px'; if(1 == 8) { $53("mini_header_bg_div").style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/header_bg_dz82.png')"; $53("hz6d_cname_mini_div").style.width = "140px"; $53("hz6d_cname_mini_div").style.height = "18px"; $53("hz6d_cname_mini_div").style.left="0px"; $53("hz6d_cname_mini_div").style.top="11px"; $53("hz6d_cname_mini_div").style.textIndent = "5px"; t.style.top="13px"; t.nextSibling.style.top="13px"; t.nextSibling.nextSibling.style.top="13px"; return; } if(1 == 9) { $53("mini_header_bg_div").style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/header_bg2_5.png')"; $53("mini_header_bg_div").style.borderTopLeftRadius = "5px"; $53("mini_header_bg_div").style.overflow = "hidden"; return; } if(1 == 10) { $53("hz6d_cname_mini_div").style.left="10px"; $53("mini_header_bg_div").style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/header_bg_dz10.png')"; $53("mini_header_bg_div").previousSibling.previousSibling.previousSibling.style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/max_llt.png')"; $53("mini_header_bg_div").style.borderTopLeftRadius = "10px"; $53("hz6d_cname_mini_div").style.width = "80px"; $53("mini_header_bg_div").style.overflow = "hidden"; return; } if(1 == 11) { $53("div_company_mini").style.width = "233px"; $53("mini_header_bg_div").style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/header_bg_dz11.png')"; t.onmouseover = function() { t.style.background='url(http://www15.53kf.com/style/chat/minichat2/img/maxto_2_3-1.png?2)'; } t.onmouseout = function() { t.style.background='url(http://www15.53kf.com/style/chat/minichat2/img/maxto_2-3.png?2)'; }; t.style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/maxto_2-3.png')"; $53("mini_header_bg_div").style.width = "233px"; $53("mini_header_bg_div").style.overflow = "hidden"; return; } if(1 == 12) { $53("div_company_mini").style.width = "242px"; $53("div_company_mini").style.height = "36px"; $53("hz6d_cname_mini_div").style.width = "130px"; return; } if(1 == 13) { $53("div_company_mini").style.height = "33px"; t.style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/max13.png')"; t.style.top="13px"; return; } $53("mini_header_bg_div").style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/header_bg2_1.png')"; } else { hz6d_re_flashing(HZ6D_CONFIGSNEW.com_id); $53("iframe_company_mini_div").style.display = ""; $53("div_company_mini").style.height = "378px"; $53("div_company_mini").style.width = "403px"; $53("hz6d_cname_mini_div").style.width = "330px"; t.style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/min.png')"; t.setAttribute('max_min','max'); t.title = t.getAttribute('mini_narrow'); if(is_right=='l'){ var wid=document.documentElement.clientWidth; var right=parseInt(0); right=wid-right-403; $53("div_company_mini").style.right = right + 'px'; }else{ $53("div_company_mini").style.right = "0" + 'px';} if(is_top=='t') { var hei=document.documentElement.clientHeight; var bottom=parseInt(0); bottom=hei-bottom-378; $53("div_company_mini").style.bottom = bottom + 'px'; }else{ $53("div_company_mini").style.bottom = "0"+ 'px'; } } if(1 == 8) { $53("div_company_mini").style.height = "393px"; $53("div_company_mini").style.width = "320px"; $53("hz6d_cname_mini_div").style.width = "230px"; $53("hz6d_cname_mini_div").style.height = "18px"; $53("hz6d_cname_mini_div").style.left="30px"; $53("hz6d_cname_mini_div").style.top="18px"; $53("hz6d_cname_mini_div").style.textIndent = "20px"; $53("mini_header_bg_div").style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/header_bg_dz8.png?1111')"; $53("hz6d_cname_mini_div").nextSibling.style.top="20px"; $53("hz6d_cname_mini_div").nextSibling.nextSibling.style.top="20px"; $53("hz6d_cname_mini_div").nextSibling.nextSibling.nextSibling.style.top="20px"; return; } if(1 == 9) { $53("div_company_mini").style.height = "393px"; $53("div_company_mini").style.width = "370px"; $53("hz6d_cname_mini_div").style.left="10px"; $53("hz6d_cname_mini_div").style.top="8px"; $53("hz6d_cname_mini_div").style.textIndent = "2px"; $53("mini_header_bg_div").style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/header_bg_dz9.png')"; return; } if(1 == 10) { $53("div_company_mini").style.height = "423px"; $53("div_company_mini").style.width = "400px"; $53("hz6d_cname_mini_div").style.left="20px"; $53("hz6d_cname_mini_div").style.top="10px"; $53("hz6d_cname_mini_div").style.width = "230px"; $53("hz6d_cname_mini_div").style.textIndent = "2px"; $53("mini_header_bg_div").style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/header_bg_dz10.png')"; $53("mini_header_bg_div").previousSibling.previousSibling.previousSibling.style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/min_llt.png')"; return; } if(1 == 11) { $53("hz6d_cname_mini_div").innerHTML=""; $53("div_company_mini").style.height = "375px"; $53("div_company_mini").style.width = "450px"; $53("mini_header_bg_div").style.width = "450px"; $53("mini_header_bg_div").style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/header_bg_dz11.png?123')"; t.onmouseover = function() { t.style.background='url(http://www15.53kf.com/style/chat/minichat2/img/min_3_3.png?2)'; } t.onmouseout = function() { t.style.background='url(http://www15.53kf.com/style/chat/minichat2/img/min_3.png?2)'; } t.style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/min_3.png?1')"; return; } if(1 == 12) { $53("div_company_mini").style.height = "378px"; $53("div_company_mini").style.width = "403px"; $53("hz6d_cname_mini_div").style.width = "230px"; return; } if(1 == 13) { $53("div_company_mini").style.height = "466px"; $53("div_company_mini").style.width = "280px"; t.style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/min13.png')"; t.style.top="16px"; $53("hz6d_cname_mini_div").innerHTML=""; return; } $53("mini_header_bg_div").style.backgroundImage = "url('http://www15.53kf.com/style/chat/minichat2/img/header_bg_1.png')"; } // 定时调用判断是否显示邀请框 function hz6d_checkIvt() { hz6d_showIvt(); } // 显示冻结层 function hz6d_showFreeze(){ if(acc_freeze=="on"){ var div = $53("hz6d_freeze_div"); if(div==null){ hz6d_createFreezeDiv(); }else{ div.style.display = "block"; } } } // 创建冻结层 function hz6d_createFreezeDiv(){ var div = document.createElement('DIV'); div.id = 'hz6d_freeze_div'; with(div.style){ zIndex=6998; top='0px'; left='0px'; width='100%'; height='100%'; border='none'; margin=padding=0; position='absolute'; backgroundColor='#000'; opacity='0.2'; filter='alpha(opacity=20)'; duration=1000; } document.body.insertBefore(div,document.body.firstChild); setInterval("hz6d_checkFreezeStyle()", 1); } var hz6d_maxPageWidth = 0; var hz6d_maxPageHeight = 0; // 定时调整冻结层大小 function hz6d_checkFreezeStyle(){ try{ var freeze = $53("hz6d_freeze_div"); if(freeze!=null){ var scroll = hz6d_getScrollPosition(); var client = hz6d_getClientWindow(); var w = client.width+scroll.sLeft; var h = client.height+scroll.sTop; if(w > hz6d_maxPageWidth){ hz6d_maxPageWidth = w; freeze.style.width = hz6d_maxPageWidth+"px"; } if(h > hz6d_maxPageHeight){ hz6d_maxPageHeight = h; freeze.style.height = hz6d_maxPageHeight+"px"; } } }catch(e){} } // 删除冻结层 function hz6d_destroyFreezeDiv(){ try{ var div = $53("hz6d_freeze_div"); if(div!=null) { div.style.display = "none"; } }catch(e){} } // 显示邀请框 function hz6d_showIvt(){ if(hz6d_isShowIvt('ivt')) { if($53("kfivtwin").style.display=="none" && onliner_zdfq!=2 || acc_from_kf==true){ acc_from_kf = false; get_ACCWindow(); hz6d_setTotalNum('ivt'); hz6d_setPageNum('ivt'); } } } // 判断是否显示邀请框 强制 function hz6d_isShowIvt(type){ if(acc_reinvite==1 && acc_from_kf==true) { return true; } if(type == 'ivt') { //点击接受或拒绝后不再弹出 if(ivt_autotype==3){ if(onliner_zdfq!=0){ return false; } } } if(type == 'chat') { if(acc_autotype==3){ //点击接受或拒绝后不再弹出 if(onliner_zdfq!=0){ return false; } } } if(!hz6d_overTotalNum(type)) { if(hz6d_overPageNum(type)) { return false; } }else{ return false; } return true; } // 判断是否超过所有页面次数 function hz6d_overTotalNum(type) { if($53("kfivtwin").style.display!="none") return; if(type == 'chat') { if(acc_pop_total==1) { var total_invite = $53.getCookie("invite_53kf_totalnum_2"); if(total_invite=="") { total_invite = 0; } if(total_invite>=acc_pop_totalnum) {return true; } } } if(type == 'ivt') { if(ivt_pop_total==1) { var total_invite = $53.getCookie("invite_53kf_totalnum_2"+'ivt'); if(total_invite=="") { total_invite = 0; } if(total_invite>=ivt_pop_totalnum) {return true; } } } return false; } // 判断是否超过每个页面次数 function hz6d_overPageNum(type){ if($53("kfivtwin").style.display!="none") return; if(type == 'chat') { if(acc_pop_page==1){ var page_invite = kf_getCookie(nowpage); if(page_invite=="") { page_invite = 0; } if(page_invite>=acc_pop_pagenum) { return true; } } } if(type == 'ivt') { if(ivt_pop_page==1){ var page_invite = $53.getCookie(nowpage+'ivt'); if(!page_invite) { page_invite = 0; } if(page_invite>=ivt_pop_pagenum) { return true; } } } return false; } // 设置所有页面弹出次数 function hz6d_setTotalNum(type) { var total_cookie_name = 'invite_53kf_totalnum_2'; if(type == 'ivt'){ total_cookie_name = total_cookie_name + 'ivt'; } var total_invite = kf_getCookie(total_cookie_name); if(total_invite=="") { total_invite = 0; } total_invite++; document.cookie = total_cookie_name+"="+total_invite; } // 设置每个页面弹出次数 function hz6d_setPageNum(type) { var pagenum_cookie_name = nowpage; if(type == 'ivt'){ pagenum_cookie_name = nowpage + 'ivt'; } var page_invite = kf_getCookie(pagenum_cookie_name); if(page_invite=="") { page_invite = 0; } page_invite++; document.cookie = pagenum_cookie_name+"="+page_invite; } function kf_getCookie(objName) { var arrStr = document.cookie.split("; "); for(var i = 0;i < arrStr.length;i ++) { var temp = arrStr[i].split("="); if(temp[0] == objName) return unescape(temp[1]); } return ''; } // 隐藏邀请框 function hidden_ivt() { if(ivt_zdfq == 'yes') { //document.cookie = "onliner_zdfq72128512="+onliner_zdfq; document.cookie = "my_acc_reauto_time=" + new Date().getTime() + ";path=/"; } else { document.cookie = "my_acc_reauto_time=null;path=/"; } try{ $53("kfiframe").style.display = "none"; }catch(e){} try{ hidden_ACCWindow(); }catch(e){} hz6d_destroyFreezeDiv(); try{ force_kf = ""; }catch(e){} } function hz6d_haveMIn(){ if('1' == 0 && $53("hz6d_mnkh_content").style.display=="none" ){//&& onliner_zdfq!=2 acc_from_kf=false; hz6d_showContent(); force_kf = ""; onliner_zdfq = 2; hidden_ivt(); hz6d_setTotalNum('chat'); hz6d_setPageNum('chat'); }else if($53("div_company_mini").style.display=="none" ){//onliner_zdfq!=2 acc_from_kf=false; get_location(acc_chattype); hz6d_setTotalNum('chat'); hz6d_setPageNum('chat'); } } function hz6d_showIvt3() { if(hz6d_isShowIvt('chat')) { var time=setInterval(function () { if('1' == 0 && $53("hz6d_mnkh_content")){ hz6d_haveMIn(); clearInterval(time); }else if($53("div_company_mini")){ hz6d_haveMIn(); clearInterval(time); } },1000); } } function hz6d_deteWindow(){ if(hz6d_isShowIvt('chat')){ if(chatWindow==null || chatWindow.closed==true){ acc_from_kf=false; get_location(acc_chattype); hz6d_setTotalNum('chat'); hz6d_setPageNum('chat'); } }else{ clearInterval(deteTime); } } function hz6d_showIvt2 () { deteTime = setInterval(function () {hz6d_deteWindow();},acc_reauto_time); } function hz6d_startReautoTimer2(acc_chattype) { if(acc_chattype==3) { hz6d_showIvt3(); } if(acc_chattype==2){ hz6d_showIvt2(); } if(acc_chattype==1){ if(hz6d_isShowIvt('chat')){ get_location(acc_chattype); hz6d_setTotalNum('chat'); hz6d_setPageNum('chat'); } } } // 加载后是否显示邀请框 对话框 function hz6d_LoadToShowIvt() { if(ivt_zdfq=='yes' && (0==1 || "off"=="on"))//邀请框 { setTimeout("hz6d_checkIvt()", ivt_poptime); } if(acc_zdfq=='yes' && (0==1 || "off"=="on"))//强制对话 { setTimeout(function () {hz6d_startReautoTimer2(acc_chattype);}, acc_poptime); } } //同一个域下处理cookie 改变延迟时间 var my_acc_reauto_time_cookie = $53.getCookie('my_acc_reauto_time'); if(my_acc_reauto_time_cookie && 1) { acc_poptime = acc_reauto_time - (new Date().getTime() - my_acc_reauto_time_cookie); } //查询link表,判断是否已有客服在线,建立对话 // if(0==1 || "off"=="on" || "off"=="on") { hz6d_LoadToShowIvt(); // } /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// var hz6d_company_mini = null; // 强制对话 function get_location(type){ // type:1 覆盖本窗口 2 新窗口 如果被拦截,则本窗口刷新 3 悬浮对话窗口 try{ var openurl = "http://www15.53kf.com/webCompany.php?arg=10128512&style=2&kflist=off&kf=56cfbcce99326e9d310314c9&zdkf_type=2&language=zh-cn&charset=gbk&username=&userinfo=&introurl=&lyurl=&lytype=0&copartner=&referer=http%3A%2F%2Fwww.frontop.cn%2Fproduct%2Fzuo-pin-list-0.htm&keyword=https%3A%2F%2Fwww.baidu.com%2Flink%3Furl%3DwsvR5CHfV0GCm7BjKbPs88yBSuOmhAXkWKdLi3Y73pW%26wd%3D%26eqid%3De75d6fb200084d070000000657d4f798&brief=&logo=&question=&tfrom=2"+force_kf; if(type==1){ location.href = openurl; }else if(type==2){ try{ chatWindow = window.open(openurl,"","height=470,width=702,top=200,left=200,status=yes,toolbar=no,menubar=no,resizable=yes,scrollbars=no,location=no,titlebar=no"); if(chatWindow==null){ location.href = openurl + '&timeStamp=' + new Date().getTime(); }else{ chatWindow.focus(); chatWindow.opener = window; } }catch(e){ location.href = openurl + '&timeStamp=' + new Date().getTime(); // 傲游 } }else{ if('1' == 0){ acpt_force_kf(force_kf); var timer=setInterval(function () { if($53("hz6d_mnkh_content")){ hz6d_showContent(); clearInterval(timer); } },100); }else{ var openurl_mini = openurl; var tpl = ""; if(openurl_mini.match(/&tpl=[^&]*/gim)!=null){ openurl_mini = openurl_mini.replace(/&tpl=[^&]*/gim, "&tpl=minichat2"); }else{ tpl = "&tpl=minichat2"; } $53("iframe_company_mini").src = openurl_mini + tpl + '&timeStamp=' + new Date().getTime()+'&interface_color=1&interface_theme=1&minchat_style=1'; var div = $53("div_company_mini"); hz6d_company_mini = new hz6d_div_scroll(div); hz6d_company_mini.start(); div.style.display = ""; } } force_kf = ""; onliner_zdfq = 2; hidden_ivt(); }catch(e){} } // 悬浮邀请框滚动 function hz6d_div_scroll(d){ var self = this; this.div = d; this.right = 0; this.bottom = 0; this.timer = 0; this.posX=this.posY=this.posR=this.posB=0; this.scrollX=this.scrollY=false; this.start = function(){ this.goPosition(); this.timer = setInterval(this.scroll, 10); this.move(); } this.stop = function(){ if(this.timer!=0){ clearInterval(this.timer); } } this.goPosition = function(){ this.right = 0; this.bottom = 0; if(is_right=='l') { var wid=document.documentElement.clientWidth; var right=parseInt(this.right); right=wid-right-403; this.div.style.right = right + "px";} else { this.div.style.right = this.right + "px";} if(is_top=='t') { var hei=document.documentElement.clientHeight; var bottom=parseInt(this.bottom); bottom=hei-bottom-378; this.div.style.bottom = bottom + "px";} else { this.div.style.bottom = this.bottom + "px";} } this.scroll = function(){ var scroll = hz6d_getScrollPosition(); var cur_right = -scroll.sLeft; var cur_bottom = -scroll.sTop; } this.move = function(){ this.div.onmousedown = function(e){ if(!e) e = window.event; //如果是IE self.posX = e.clientX; self.posY = e.clientY; self.posR = parseInt(self.div.style.right); self.posB = parseInt(self.div.style.bottom); if(self.div.setCapture){ self.div.setCapture(); }else if(window.captureEvents){ window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP); } var d = document; d.onmousemove = function(ev){ if(!ev) ev = window.event; //如果是IE self.div.style.right = (self.posR - (ev.clientX - self.posX)) + "px"; self.div.style.bottom = (self.posB - (ev.clientY - self.posY)) + "px"; } d.onmouseup = function(){ if(self.div.releaseCapture){ self.div.releaseCapture(); }else if(window.captureEvents){ window.captureEvents(Event.MOUSEMOVE|Event.MOUSEUP); } d.onmousemove = null; d.onmouseup = null; } } } } // 关闭悬浮框 function close_company_mini(){ $53("div_company_mini").style.display = "none"; $53("iframe_company_mini").src = ""; hz6d_company_mini.stop(); if(acc_reauto == 1 && acc_zdfq=='yes'){ setTimeout(function () {hz6d_showIvt3();},acc_reauto_time); onliner_zdfq = 0; } if(acc_autotype == 3) {onliner_zdfq = 3;document.cookie = "onliner_zdfq72128512="+onliner_zdfq;} hz6d_startReautoTimer();//邀请框反复发起 //添加cookie 实现整个域读取 if(acc_reauto == 1) { document.cookie = "my_acc_reauto_time=" + new Date().getTime() + ";path=/"; } else { //没有反复开启弹出窗口 删除cookie document.cookie = "my_acc_reauto_time=null;path=/"; } } var ivt_top = 0; var ivt_left = 0; var ivt_width="400"; var ivt_height="auto"; var hz6d_effect_time = 200; var hz6d_effect_timer = 10; //获取邀请框的宽高 function get_wh(){ var ivt_obj=document.getElementById("acc_title").getElementsByTagName("div"); var ivt_width=0; var ivt_height=0; for(var i=0;iivt_width) ivt_width=width; if(height>ivt_height) ivt_height=height; } return {"width":ivt_width,"height":ivt_height}; } // 显示邀请框 function get_ACCWindow(){ var ivtPosition = hz6d_getIvtPosition(); if(zdyivt==1){ ivt_height_init = zdyivt_height; ivt_width_init = zdyivt_width; }else{ ivt_height_init = "auto"; ivt_width_init = "400px"; } $53("kfivtwin").style.height = ivt_height_init; $53("kfivtwin").style.width = ivt_width_init; try{ $53("kfivtwin").style.zIndex = "10088"; $53("kfivtwin").style.fontSize = "12px"; $53("kfivtwin").style.position = "absolute"; if(how_float==1 && hasdoctype) $53("kfivtwin").style.position = "fixed"; $53("kfiframe").style.width = $53("kfivtwin").clientWidth + 0 + "px"; $53("kfiframe").style.height = $53("kfivtwin").clientHeight + -7 + "px"; $53("kfiframe").style.position = "absolute"; if(how_float==1 && hasdoctype) $53("kfiframe").style.position = "fixed"; $53("kfiframe").style.filter = "alpha(opacity=1)"; $53("kfiframe").style.display = ""; }catch(e){} var openurl = "http://www15.53kf.com/webCompany.php?arg=10128512&style=2&kflist=off&kf=56cfbcce99326e9d310314c9&zdkf_type=2&language=zh-cn&charset=gbk&username=&userinfo=&introurl=&lyurl=&lytype=0&copartner=&referer=http%3A%2F%2Fwww.frontop.cn%2Fproduct%2Fzuo-pin-list-0.htm&keyword=https%3A%2F%2Fwww.baidu.com%2Flink%3Furl%3DwsvR5CHfV0GCm7BjKbPs88yBSuOmhAXkWKdLi3Y73pW%26wd%3D%26eqid%3De75d6fb200084d070000000657d4f798&brief=&logo=&question=&tfrom=2" + force_kf; if(is_autoyqk == 1){ once_autoyqk = Number(once_autoyqk) + 1; if(once_autoyqk == 1){ try{ acc_content = $53("hz6d_acc_content").innerHTML; }catch(e){} } if(man_content!=""){ try{ $53("hz6d_acc_content").innerHTML = man_content.replace(/\"/g, '"').replace(/\'/g, ''').replace(//g, '>'); }catch(e){} man_content = ""; } else{ try{ $53("hz6d_acc_content").innerHTML = acc_content; }catch(e){} } } else{ if(man_content!=""){ try{ $53("hz6d_acc_content").innerHTML = man_content.replace(/\"/g, '"').replace(/\'/g, ''').replace(//g, '>'); }catch(e){} man_content = ""; }else{ try{ $53("hz6d_acc_content").innerHTML = acc_content; }catch(e){} } } try{ var isNew = hz6d_ivt_tpl.indexOf("new2011"); if(zdyivt==1 || isNew>0){ var zdyIds = document.getElementsByTagName("div"); for(var i=0; i0) { topD=-1; } var leftD = 1; if(tb_left-ivtPosition.left>0) { leftD=-1; } function dmove(){ moveHeight += heightStep; moveWidth += widthStep; moveTop += topD*topStep; moveLeft += leftD*leftStep; if(moveWidth>obj_width){ obj.style.display = "none"; clearInterval(iIntervalId); hz6d_showIvtWindow(); }else{ var ivtPosition_t = hz6d_getIvtPosition(); obj.style.height = moveHeight + 'px'; obj.style.width = moveWidth + 'px'; obj.style.top = moveTop + (ivtPosition_t.top-ivtPosition.top) + 'px'; obj.style.left = moveLeft + (ivtPosition_t.left-ivtPosition.left) + 'px'; } } var iIntervalId = setInterval(dmove, hz6d_effect_timer); try{iconDivMain.style.display = "none";}catch(e){} } if(hz6d_ivt_effect==1 && hz6d_kf_type==2 && hz6d_pos_model==1 && hz6d_hidden==0){ hz6d_checkIconDivMain(); }else{ hz6d_showIvtWindow(); } function hz6d_showIvtWindow(){ var ivtPosition_t = hz6d_getIvtPosition(); if(how_float==1) var ivtPosition_t = hz6d_getIvtFixedPosition(); hz6d_setIvtTop(ivtPosition_t.top); hz6d_setIvtLeft(ivtPosition_t.left); $53("kfivtwin").style.display = "block"; hz6d_initScrollPosition(); hz6d_showFreeze(); hz6d_startScrollTimer(); } function hz6d_setIvtTop(top){ $53("kfivtwin").style.top = top + "px"; $53("kfiframe").style.top = top + "px"; } function hz6d_setIvtLeft(left){ $53("kfivtwin").style.left = left + "px"; $53("kfiframe").style.left = left + "px"; } function hz6d_initScrollPosition(){ var scrollPosition = hz6d_getScrollPosition(); ivt_top = scrollPosition.sTop; ivt_left = scrollPosition.sLeft; } function hz6d_checkIconDivMain(){ var iconDivMain = $53("iconDivMain"+kf_icon_id); if(iconDivMain!=null){ if(hz6d_close_icon==0){ hz6d_open_move(iconDivMain); }else{ hz6d_showIvtWindow(); } }else{ setTimeout(hz6d_checkIconDivMain, 100); } } function hz6d_startScrollTimer(){ if(ivt_timer==0 && how_float!=1){ if(browser=="360" || browser=="TheWorld"){ ivt_timer = window.setInterval("ivt_autoScroll()", 500); }else{ ivt_timer = window.setInterval("ivt_autoScroll()", 10); } } } var posX; var posY; fdiv = $53("kfivtwin"); $53("acc_title").onmousedown=function(e){ if(!e) e = window.event; //如果是IE posX = e.clientX - parseInt(fdiv.style.left); posY = e.clientY - parseInt(fdiv.style.top); document.onmousemove = mousemove; } document.onmouseup = function(){ document.onmousemove = null; } function mousemove(ev){ if(ev==null) ev = window.event;//如果是IE fdiv.style.left = (ev.clientX - posX) + "px"; fdiv.style.top = (ev.clientY - posY) + "px"; ivt_top = Math.max(document.body.scrollTop,document.documentElement.scrollTop); ivt_left = Math.max(document.body.scrollLeft,document.documentElement.scrollLeft); // if(ivt_top==0) { ivt_top = document.documentElement.scrollTop; } // if(ivt_left==0) { ivt_left = document.documentElement.scrollLeft; } } } function hidden_ACCWindow(){ function hz6d_close_move(iconDivMain){ var obj = $53("kfivtwin"); var obj_height = obj.offsetHeight; var obj_width = obj.offsetWidth; var ivtPosition = {top:obj.offsetTop,left:obj.offsetLeft}; if(how_float==1) var ivtPosition = hz6d_getIvtPosition(); obj.style.display = "none"; var tb_top = parseInt(iconDivMain.style.top.replace("px","")); var tb_left = parseInt(iconDivMain.style.left.replace("px","")); var tb_width = parseInt(iconDivMain.style.width.replace("px","")); var tb_height = parseInt(iconDivMain.style.height.replace("px","")); obj = $53("kfivteffect"); obj.style.top = ivtPosition.top + "px"; obj.style.left = ivtPosition.left + "px"; obj.style.height = obj_height + "px"; obj.style.width = obj_width + "px"; obj.style.display = "block"; var moveHeight = obj_height; var moveWidth = obj_width; var moveTop = ivtPosition.top; var moveLeft = ivtPosition.left; var offTop = Math.abs(tb_top-ivtPosition.top); var offLeft = Math.abs(tb_left-ivtPosition.left); var topStep = offTop/(hz6d_effect_time/hz6d_effect_timer); var leftStep = offLeft/(hz6d_effect_time/hz6d_effect_timer); var heightStep = (obj_height-tb_height)/(hz6d_effect_time/hz6d_effect_timer); var widthStep = (obj_width-tb_width)/(hz6d_effect_time/hz6d_effect_timer); var topD = 1; if(tb_top-ivtPosition.top>0) { topD=-1; } var leftD = 1; if(tb_left-ivtPosition.left>0) { leftD=-1; } ivtPosition = hz6d_getIvtPosition(); function dmove() { moveHeight -= heightStep; moveWidth -= widthStep; moveTop -= topD*topStep; moveLeft -= leftD*leftStep; if(moveWidth -1) { var qq = valst[1].replace('biz',''); link_str = 'http://www15.53kf.com/bizqq.php?qq=' + qq + '&from=' + window.encodeURIComponent(window.location.href); } else { link_str = 'tencent://message/?uin=' + valst[1]; } if(valst[1] == '97559766') link_str="http://www.53kf.com/?www.53rj.com"; }; break; case 'MSN': if (valst[1]) {link_str = 'msnim:chat?contact=' + valst[1]; if(valst[1].indexOf('fonlue') > -1) link_str='http://www.53kf.com/?www.53rj.com';} break; case 'WW': if (valst[1]) link_str = 'aliim://sendmsg?touid=cntaobao' + valst[1]; if(valst[1] == 'fonlue') link_str='http://www.53kf.com/?www.53rj.com'; break; case 'HYLINK': if (valst[1]) link_str = valst[1]; if(valst[2]) target_str = valst[2]; hrs = 1;break; default: click_str = '';link_str = ''; } var onclick_str = ''; if (link_str == '' && click_str != '') onclick_str = "onclick='" + click_str + ";'"; else if (link_str != ''&& click_str != '') onclick_str = ' onclick="' + click_str + ';window.open(\'' + link_str +'\',\'' + target_str + '\');" '; else if (link_str != ''&& click_str == '' && !hrs) onclick_str = ' onclick="window.open(\'' + link_str +'\');" '; else if (link_str != ''&& click_str == '' && hrs) onclick_str = 'href="'+ link_str+'" target="'+ target_str +'"'; return onclick_str; } }); return divs_str; } // if(0==0 && "off"=="on"){ // if(acc_poptype==1){ // setTimeout("hz6d_checkIvt()", 500); // }else if(acc_poptype==2){ // setTimeout(function () {hz6d_startReautoTimer2(acc_chattype);}, 500); // } // } setTimeout(function(){ var imgdragstart = function(){return false;}; try { var hid_img = $53('kfivtwin').getElementsByTagName('img'); for(i in hid_img)hid_img[i].ondragstart=imgdragstart; $53('acc_title').style.overflow = 'visible'; // 修正bug } catch(e){} },2000);