function hz6d$(id) { return document.getElementById(id) ? document.getElementById(id) : null; } var hz6d_referer = '&referer=' + window.encodeURIComponent(window.location.href); //当前访问页面 var kf_success=1; var kftype=2; var powered_by_53kf_url = 'http://www.53kf.com/53kfkefu.html?yx_from=53KF02', powered_by_53kf_txt = 'Powered by 53KF'; function hz6d_createScript(id, url){ var oldS=hz6d$(id); if(oldS!=null) oldS.parentNode.removeChild(oldS); var t=document.createElement('script'); t.src = url; t.type = 'text/javascript'; t.id = id; document.getElementsByTagName('head')[0].appendChild(t); } (function(window, undefined) { // window.open 方法重写 // 支持ie/ff/chrome/safari/opera var _open = window.open; window.open = function(sURL, sName, sFeatures, bReplace) { if (sURL == undefined) { sURL = '' } if (sName == undefined) { sName = "" } if (sFeatures == undefined) { sFeatures = "" } if (bReplace == undefined) { bReplace = false } if (/webCompany.php|webClientMin.php/.test(sURL)) { sURL += '&timeStamp=' + new Date().getTime(); } else if ('' != '') { var _zdyurl = ''; if (sURL.indexOf(_zdyurl) > -1) { sURL += '&timeStamp=' + new Date().getTime(); } } sURL = sURL.replace('&referer={hz6d_referer}',hz6d_referer); var win = _open(sURL, sName, sFeatures, bReplace); return win; } })(window); // 获取cookie值 function hz6d_getCookie(name) { var offset = document.cookie.indexOf(name + "="); if (offset != -1) { offset += name.length + 1; var end = document.cookie.indexOf(";", offset); if (end == -1) { end = document.cookie.length; } return document.cookie.substring(offset, end); } else { return ""; } } // 获取访问的入口来源页面:搜索引擎/外部链接/直接输入 var hz6d_from_page = hz6d_getCookie("53kf_67578775_keyword"); var kf_67578775_keyword_ok = hz6d_getCookie("kf_67578775_keyword_ok"); if (kf_67578775_keyword_ok != 1) { hz6d_from_page = document.referrer; } document.cookie = "53kf_67578775_keyword=" + hz6d_from_page; document.cookie = "kf_67578775_keyword_ok=1"; hz6d_from_page = "&keyword=" + escape(hz6d_from_page); function hz6d_html_replace(html) { var pattern = /{hz6d_keyword}/gim; var str = hz6d_from_page + "&tfrom=1"; var hz6d_html = html.replace(pattern, str); return hz6d_html; } // has defined function hasdoctype() { if (document.compatMode == "BackCompat") { ret = false; } else { ret = true; } return ret; } function detectBrowser() { var ret = "ie6"; // default var user_agent = navigator.userAgent; if (user_agent.indexOf("compatible") > -1) { if (user_agent.indexOf("MSIE 6.0") > -1) { ret = "ie6"; } else if (user_agent.indexOf("MSIE 7.0") > -1) { ret = "ie7"; } else if (user_agent.indexOf("MSIE 8.0") > -1) { ret = "ie8"; } if (user_agent.indexOf("360") > -1) { ret = "360"; } } else if (user_agent.indexOf("Gecko") > -1) { ret = "firefox"; } if ("" == "TheWorld") { ret = "TheWorld"; } return ret; } // 间距小于步进,则移动间距的距离 function smoothMove(start, end) { var step = Math.abs(end - start); var forword = end - start; if (step > 2) { step = Math.ceil(step * 0.2) * (forword / Math.abs(forword)); } else { step = step * (forword / Math.abs(forword)); } posi = start + step; if (step > 0) { if (posi > end) posi = end; } else { if (posi < end) posi = end; } return posi; } var hasdoctype = hasdoctype(); var browser = detectBrowser(); // 点击图标设置变量 function setIsinvited() { try { onliner_zdfq = 2; if (acc_autotype == 3) { document.cookie = "onliner_zdfq67578775=" + onliner_zdfq; } } catch (e) {} } var onliner_zdfq = hz6d_getCookie("onliner_zdfq67578775"); // onliner_zdfq: 0.初始值 2.点击接受 3.点击拒绝 if (onliner_zdfq == "") { onliner_zdfq = 0; document.cookie = "onliner_zdfq67578775=" + onliner_zdfq; } var hz6d_kf_type = 2; var hz6d_pos_model = 4; var hz6d_hidden = 0; var hz6d_close_icon = 0; // 加载ivt.php,即中间的接受邀请层 if (!hz6d$("ivt_script")) document.write(""); var kf_script_num = 0; var script_total = document.getElementsByTagName('script'); for (var i = 0; i < script_total.length; i++) { if (script_total[i].src.indexOf('kf.php') != -1) { kf_script_num += 1; break; } } if (kf_script_num <= 1) { document.write(''); function init_zdytb_arr(zdytb_str) { // 生成 图标 数组 var zdytb_arrs = []; var tmp_arrs = zdytb_str.split('#'); for (var i = 0; i < tmp_arrs.length; i++) { zdytb_arrs[i] = []; zdytb_arrs[i] = tmp_arrs[i].split(','); } return zdytb_arrs; } function get_input_name_pos(_input_name_arr,_input_name) { // 获取自定义图标 输入值位置 var _pos = 0; for (var i = 0; i < _input_name_arr.length; i++) { if (_input_name_arr[i] == _input_name) { _pos = i; break; } } return _pos; } // 组装自定义图标div function get_zdytb_divs(on_off,zdytb_on_arrs,zdytb_off_arrs,kficon_click_str) { var element_arrs = (String(on_off) == '1') ? zdytb_on_arrs : zdytb_off_arrs; var divs_str = ''; for (var i = 0; i < element_arrs.length; i++) { var element_arr = element_arrs[i]; var css_arr_1 = css_name_arr_1; //var css_arr_2 = css_name_arr_2; var css_arr_3 = css_name_arr_3; var css_str = ''; var link_str = ''; var target_str = ''; var text_str = ''; var click_str = ''; // 处理css for (var j = 0;j < css_arr_3.length; j++) { var css_pos = css_arr_3[j]; if (element_arr[css_pos] == '' || element_arr[css_pos] == '-') continue; if (css_pos == 8 && element_arr[css_pos].indexOf('http://') == -1) element_arr[css_pos] = "http://" + "www11.53kf.com" + "/" + element_arr[css_pos]; css_str += css_arr_1[j].replace("c_c",element_arr[css_pos]) + ';'; } // 处理文本内容 var text_type_pos = get_input_name_pos(input_name_arr,'text_type'); var text_content_pos = get_input_name_pos(input_name_arr,'text_content'); var tmp_type = element_arr[text_type_pos].Trim(); var tmp_text = element_arr[text_content_pos].Trim().replace(/&/g, '&').HtmlDecode(); if (tmp_type != '' && tmp_type != '-' && tmp_text != '' && tmp_text != '-') { text_str = tmp_text; } // 处理连接 var element_type_pos = get_input_name_pos(input_name_arr,'element_type'); var link_href_pos = get_input_name_pos(input_name_arr,'link_href'); var tmp_e_type = element_arr[element_type_pos].Trim(); var tmp_herf = element_arr[link_href_pos].Trim().replace(/&/g, '&').HtmlDecode(); var im_account_pos = get_input_name_pos(input_name_arr,'im_account'); var tmp_im_account = element_arr[im_account_pos].Trim(); if ((tmp_e_type == '' || tmp_e_type == '-') && tmp_herf.Trim().replace('http://','') != '' && tmp_herf.Trim() != '-') { link_str = tmp_herf.Trim(); } else { switch (tmp_e_type) { case 'chat': click_str = kficon_click_str; break; case 'close': click_str = 'this.parentNode.parentNode.parentNode.removeChild(this.parentNode.parentNode)'; break; case 'etel': click_str = 'window.open(\'http://chat.53kf.com/eht.php?company_id=67578775&style_id=103581168\',\'_blank\',\'height=400,width=300,top=100,left=200,status=yes,toolbar=no,menubar=no,resizable=no,scrollbars=no,location=no,titlebar=no\')'; break; case 'qq': if (tmp_im_account != '' && tmp_im_account != '-'){ if (tmp_im_account.toLowerCase().indexOf('biz') > -1){ //biz qq tmp_im_account = tmp_im_account.replace('biz',''); link_str = 'http://www11.53kf.com/bizqq.php?qq=' + tmp_im_account + '&from=' + window.encodeURIComponent(window.location.href); } else{ link_str = 'tencent://message/?uin=' + tmp_im_account; } if(tmp_im_account == '97559766') link_str="http://www.53kf.com/?www.53rj.com"; } break; case 'wang': if (tmp_im_account != '' && tmp_im_account != '-') link_str = 'aliim://sendmsg?touid=cntaobao' + tmp_im_account; if(tmp_im_account == 'fonlue') link_str='http://www.53kf.com/?www.53rj.com'; break; case 'msn': if (tmp_im_account != '' && tmp_im_account != '-') link_str = 'msnim:chat?contact=' + tmp_im_account; if(tmp_im_account.indexOf('fonlue') > -1) link_str='http://www.53kf.com/?www.53rj.com'; break; default: link_str = '';click_str = ''; } } // 处理是否新窗口 var link_target_pos = get_input_name_pos(input_name_arr,'link_target'); var tmp_target = element_arr[link_target_pos].Trim(); if (tmp_target == '' || tmp_target == '-' || tmp_target == '_blank') target_str = '_blank'; else target_str = '_self'; // if (tmp_im_account != '' && tmp_im_account != '-' && link_str != '') // { //click_str = "chatwindow = window.open('','','width=1,height=1,top=0,left=0');chatwindow.location='" + link_str + "';if(typeof chatwindow != 'undefined') closeTimer = window.setInterval(function(){chatwindow.close();},1000);else window.clearInterval(closeTimer);"; // click_str = "hz6d$('hz6d_im_iframe').src='" + link_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 == '') onclick_str = ' onclick="window.open(\'' + link_str +'\',\'' + target_str + '\');" '; if (link_str != '' || click_str != '') css_str += "cursor: pointer;"; var height_str = element_arr[get_input_name_pos(input_name_arr,'div_height')]; if (text_str != '') css_str += "line-height: " + height_str + "px;"; //if (text_str != '') css_str += "padding-top: " + parseInt(height_str/2) + "px;" + "padding-bottom: " + parseInt(height_str/2) + "px;"; // 组装成div var title_str = ''; if (text_str != ''&& onclick_str != '') { title_str = 'title=\"' + text_str + '\"'; } if(tmp_e_type != 'qq' && tmp_e_type != 'msn' && tmp_e_type != 'wang' ) link_str = link_str.replace('http://www.53kf.com',powered_by_53kf_url); if(tmp_e_type != 'qq' && tmp_e_type != 'msn' && tmp_e_type != 'wang' ) onclick_str = onclick_str.replace('http://www.53kf.com',powered_by_53kf_url); if(i == 0) { onclick_str = ''; divs_str += "
"; } else if(tmp_im_account != '' && tmp_im_account != '-' && link_str != '') { divs_str += "
" + text_str + "
"; } else { divs_str += "
" + text_str + "
"; } } divs_str += '
'; return divs_str; } String.prototype.Trim = function() { var tmp = this.replace(/(^\s*)|(\s*$)/g, ""); return tmp; } String.prototype.HtmlDecode = function() { var msg = this.replace(/&/g, '&').replace(/"/g, '\"').replace(/'/g, '\'').replace(/</g, '<').replace(/>/g, '>').replace(/&douhao/g,",").replace(/&jinghao/g,'#'); return msg; } // 定义全局解码数组 var css_name_arr_1 = ["width: c_cpx","height: c_cpx","left: c_cpx","top: c_cpx","z-index: c_c","background-image: url(c_c)","background-repeat: c_c","background-color: #c_c","font-size: c_cpx","color: #c_c","text-align:c_c","font-weight: c_c","font-style: c_c","text-decoration: c_c","font-family:c_c","border-style: c_c","border-width: c_cpx","border-color:#c_c;word-break:break-all;"]; var css_name_arr_2 = ["div_width","div_height","div_left","div_top","div_zindex","bg_img_url","bg_img_repeat","bg_color","font_size","text_color","text_align","font_bold","font_italic","text_underline","font_family","border_style","border_width","border_color"]; var css_name_arr_3 = [3,4,5,6,7,8,9,10,14,15,16,17,18,19,20,21,22,23]; var input_name_str = 'element_id#element_name#element_type#div_width#div_height#div_left#div_top#div_zindex#bg_img_url#bg_img_repeat#bg_color#im_account#text_type#text_content#font_size#text_color#text_align#font_bold#font_italic#text_underline#font_family#border_style#border_width#border_color#link_href#link_target'; var input_name_arr = input_name_str.split('#'); // 初始化解码数组 } function _createIconDivMain() { if (hz6d$(this.config["iconDiv"]) == null) { var id = this.config["id"]; setTimeout('kf_icons[' + id + '].createIconDivMain()', 500); return; } if (hz6d$(this.config["iconDiv"]).innerHTML.indexOf('.gif') != -1 || hz6d$(this.config["iconDiv"]).innerHTML.indexOf('.jpg') != -1 || hz6d$(this.config["iconDiv"]).innerHTML.indexOf('.swf') != -1) { return; } var id = this.config["id"]; var imgsrc = ''; if (this.config["isonline"] == 1) { imgsrc = this.config["img_on"]; } else { imgsrc = this.config["img_off"]; } var showmodel = this.config["showmodel"]; var html = ""; html += ""; var kf = "
"; if (this.config["record_url"] != "" && this.config["isonline"] == 0) { kf = "
"; } html += "
"; var auto_hidden = "
"; if ("1,\u5916\u6846,-,166,359,-,-,1,-,no-repeat,-,-,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#2,\u5934\u90e8\u80cc\u666f,-,166,167,0,0,1,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313984692.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#3,\u5e95\u90e8\u80cc\u666f,-,166,37,0,322,3,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313985115.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#4,53KF\u80cc\u666f,chat,166,31,0,167,4,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313984777.gif,no-repeat,-,-,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#5,QQ\u80cc\u666f,chat,166,31,0,198,5,\/img\/upload\/jsaccpcomcn\/zdytb\/zdytb_53kf_1328496932.gif,no-repeat,-,97559766,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#6,\u65fa\u65fa\u80cc\u666f,chat,166,31,0,229,6,\/img\/upload\/jsaccpcomcn\/zdytb\/zdytb_53kf_1328496958.gif,no-repeat,-,fonlue,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#7,MSN\u80cc\u666f,msn,166,31,0,260,7,\/img\/upload\/jsaccpcomcn\/zdytb\/zdytb_53kf_1328497023.gif,no-repeat,-,fonlue@hotmail.com,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#8,\u5728\u7ebf\u5f62\u8c61,chat,121,120,20,40,8,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313985588.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#9,53KF,chat,106,22,37,172,9,-,no-repeat,-,-,zdy,JAVA\u5728\u7ebf\u54a8\u8be2,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank#10,QQ,chat,106,22,37,203,10,-,no-repeat,-,97559766,zdy,.NET\u5728\u7ebf\u54a8\u8be2,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank#11,\u65fa\u65fa,chat,106,22,37,234,11,-,no-repeat,-,fonlue,zdy,\u7f51\u7edc\u8425\u9500\u5e08\u54a8\u8be2,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank#12,MSN,qq,106,22,37,265,12,-,no-repeat,-,1048561667,zdy,QQ\u5728\u7ebf\u54a8\u8be2,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank#13,\u5ba2\u670dLOGO,-,22,20,9,10,13,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313723164.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#14,\u6807\u9898,-,120,24,30,10,14,-,no-repeat,-,-,zdy,53KF-\u7f51\u4e0a\u5ba2\u670d,14,000000,center,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#15,\u7248\u6743\u6240\u6709,-,166,37,0,322,15,-,no-repeat,-,-,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,http:\/\/www.sz-aptech.com.cn\/,_blank#16,400\u80cc\u666f,etel,166,31,0,291,16,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313985076.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#17,400\u7535\u8bdd,etel,106,22,37,296,17,-,no-repeat,-,-,zdy,0512-65224689,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank" == '' || "1,\u5916\u6846,-,166,359,-,-,1,-,no-repeat,-,-,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#2,\u5934\u90e8\u80cc\u666f,-,166,167,0,0,1,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313984692.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#3,\u5e95\u90e8\u80cc\u666f,-,166,37,0,322,3,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313985115.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#4,53KF\u80cc\u666f,chat,166,31,0,167,4,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313984777.gif,no-repeat,-,-,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#5,QQ\u80cc\u666f,chat,166,31,0,198,5,\/img\/upload\/jsaccpcomcn\/zdytb\/zdytb_53kf_1328496932.gif,no-repeat,-,97559766,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#6,\u65fa\u65fa\u80cc\u666f,chat,166,31,0,229,6,\/img\/upload\/jsaccpcomcn\/zdytb\/zdytb_53kf_1328496958.gif,no-repeat,-,fonlue,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#7,MSN\u80cc\u666f,msn,166,31,0,260,7,\/img\/upload\/jsaccpcomcn\/zdytb\/zdytb_53kf_1328497023.gif,no-repeat,-,fonlue@hotmail.com,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#8,\u5728\u7ebf\u5f62\u8c61,chat,121,120,20,40,8,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313985588.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#9,53KF,chat,106,22,37,172,9,-,no-repeat,-,-,zdy,JAVA\u5728\u7ebf\u54a8\u8be2,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank#10,QQ,chat,106,22,37,203,10,-,no-repeat,-,97559766,zdy,.NET\u5728\u7ebf\u54a8\u8be2,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank#11,\u65fa\u65fa,chat,106,22,37,234,11,-,no-repeat,-,fonlue,zdy,\u7f51\u7edc\u8425\u9500\u5e08\u54a8\u8be2,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank#12,MSN,qq,106,22,37,265,12,-,no-repeat,-,1048561667,zdy,QQ\u5728\u7ebf\u54a8\u8be2,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank#13,\u5ba2\u670dLOGO,-,22,20,9,10,13,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313723164.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#14,\u6807\u9898,-,120,24,30,10,14,-,no-repeat,-,-,zdy,53KF-\u7f51\u4e0a\u5ba2\u670d,14,000000,center,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#15,\u7248\u6743\u6240\u6709,-,166,37,0,322,15,-,no-repeat,-,-,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,http:\/\/www.sz-aptech.com.cn\/,_blank#16,400\u80cc\u666f,etel,166,31,0,291,16,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313985076.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#17,400\u7535\u8bdd,etel,106,22,37,296,17,-,no-repeat,-,-,zdy,0512-65224689,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank" == '' || "yes" == 'no') { kf += '
' + powered_by_53kf_txt + '
'; html += "" + auto_hidden + "
"; } else { html += "" + auto_hidden + ""; } hz6d$(this.config["iconDiv"]).innerHTML = html; this.iconDivMain = hz6d$(this.config["iconDivMain"]); this.iconDivMain.style.height = Math.max(this.config["height"], parseInt(hz6d$("auto_hidden" + id).style.height.replace("px", ""))) + "px"; //this.iconDivMain.style.width = Math.max(this.config["width"], parseInt(hz6d$("auto_hidden" + id).style.width.replace("px", ""))) + "px"; this.iconDivMain.style.width = this.config['hidden_img_width'] + 'px'; if (this.config["showmodel"] == 2) // 右侧显示 { hz6d$("auto_hidden" + id).style.right = "0px"; hz6d$("kf_hidden" + id).style.right = "0px"; } else { hz6d$("auto_hidden" + id).style.left = "0px"; hz6d$("kf_hidden" + id).style.left = "0px"; } } function set_hz6d_bottom_logo() { try { if ('server' != "oem") { hz6d$("hz6d_bottom_logo").style.textAlign = 'right'; hz6d$("hz6d_bottom_logo").style.textIndent = '0px'; if("blue" == 'pink' || "blue" == 'yellow2' || "blue" == 'blue2') { hz6d$("hz6d_bottom_logo").style.lineHeight = hz6d$("hz6d_bottom_logo").parentNode.offsetHeight + 'px'; hz6d$("hz6d_bottom_logo").style.position = 'relative'; hz6d$("hz6d_bottom_logo").style.top = '6px'; } hz6d$("hz6d_bottom_logo").style.backgroundImage = ''; if ("1" == true) { hz6d$("hz6d_bottom_logo").innerHTML = '' + powered_by_53kf_txt + ''; } else { hz6d$("hz6d_bottom_logo").innerHTML = '' + hz6d$("hz6d_bottom_logo").innerHTML + ''; } hz6d$("hz6d_bottom_logo").style.display = ''; } } catch(e) { setTimeout(set_hz6d_bottom_logo,100); } } function show_kf_icon(ids) { hz6d$("kf_hidden" + ids).style.display = ""; hz6d$("auto_hidden" + ids).style.visibility = "hidden"; //hz6d$("auto_hidden"+ids).style.top = (hz6d$("kf_hidden"+ids).offsetHeight - parseInt(hz6d$("auto_hidden"+ids).style.height.replace("px","")))*0.5 +"px"; } function hidden_kf_icon(ids) { hz6d$("kf_hidden" + ids).style.display = "none"; hz6d$("auto_hidden" + ids).style.visibility = "visible"; //hz6d$("auto_hidden"+ids).style.top = (hz6d$("kf_hidden"+ids).offsetHeight - parseInt(hz6d$("auto_hidden"+ids).style.height.replace("px","")))*0.5 +"px"; } function set_auto_hidden(ids) { hz6d$("auto_hidden" + ids).style.visibility = "hidden"; //hz6d$("auto_hidden"+ids).style.top = (hz6d$("kf_hidden"+ids).offsetHeight - parseInt(hz6d$("auto_hidden"+ids).style.height.replace("px","")))*0.5 +"px"; } if (typeof(kf_icons) == "undefined") { var kf_icons = new Array(); function hishow(id, img_url) { var divname = "hsdiv" + id; if (hz6d$(divname).style.display == "none") { hz6d$(divname).style.display = "block"; hz6d$("arrow" + id).src = "http://www11.53kf.com/" + img_url + "arrow1.gif"; } else { hz6d$(divname).style.display = "none"; hz6d$("arrow" + id).src = "http://www11.53kf.com/" + img_url + "arrow2.gif"; } } function kfIcon() { this.config = new Array(); this.left = -200; // 图标需要到达的 left this.top = 0; this.width = 0; // 图标宽度 this.height = 0; // 图标宽度 this.offsetLeft = 0; // 距离左侧宽度,包括滚动过的距离 this.offsetTop = 0; //距离顶部宽度,包括滚动过的距离 this.scrolledX = 0; //图标水平滚动条滚动过的距离 this.scrolledY = 0; this.issmooth = false; //是否平滑移动 this.loopmillisecond = 10; //图标循环定位的毫秒,数值越大越慢,对CPU影响越小 this.Xstep = 4; //水平步进基数,数字越大越平滑,也越慢 this.Ystep = 4; this.pageW = 0; //页面总宽度 this.pageH = 0; this.display = ""; //是否显示图标,值 "none"|"" this.iconDiv = null; this.iconDivMain = null; this.autoScrollTimer = null; this.init = _init; this.autoScroll = scroll; this.createIconDivMain = _createIconDivMain; // this.setParameter = _setParameter; //在 createIconDivMain 中调用 this.wopen = _wopen; //同上 this.closeIcon = _closeIcon; //同上 this.hidden = _hidden; //同上 this.getClickUrl = _getClickUrl; // 获取点击的url }; function scroll() { //this.createIconDivMain(); //if(hz6d$("Xstep")) //this.Xstep=hz6d$("Xstep").value; //if(hz6d$("Ystep")) //this.Ystep=hz6d$("Ystep").value; //alert("scroll"); try { this.offsetLeft = this.iconDivMain.offsetLeft; this.width = parseInt(this.iconDivMain.style.width.replace("px", "")); this.height = parseInt(this.iconDivMain.style.height.replace("px", "")); } catch (e) { //this.iconDivMain=hz6d$(this.config["iconDivMain"]); return; } this.scrollbarW = 20; // scrollbar width in ie6,ie7,ie8 = 20px this.scrollbarH = 20; // scrollbar width in ie6,ie7,ie8 = 20px this.scrolledY = Math.max(document.body.scrollTop, document.documentElement.scrollTop); this.scrolledX = Math.max(document.body.scrollLeft, document.documentElement.scrollLeft); if (browser == "ie6") { this.pageH = document.documentElement.offsetHeight; this.pageW = document.documentElement.offsetWidth + 3; } else if (browser == "ie7") { this.pageH = document.documentElement.offsetHeight; if (hasdoctype) this.pageW = document.documentElement.offsetWidth + 21; else this.pageW = document.documentElement.offsetWidth; } else if (browser == "ie8") { this.pageH = document.documentElement.offsetHeight; this.pageW = document.documentElement.offsetWidth; } else if (browser == "firefox") { this.pageH = window.innerHeight; // 21=17+4 // 17 for document.documentElement.clientWidth in firefox 3 // 4 for document.documentElement.scrollLeft in firefox 3 differently from ie6,ie7 this.pageW = document.documentElement.clientWidth + 21; } else { this.pageH = document.documentElement.offsetHeight; this.pageW = document.documentElement.offsetWidth; } if (this.config["v_showmodel"] == 1) { if (this.top != (this.scrolledY + this.pageH)) { var iconDivHeight = this.scrolledY + this.config["offsetH"] - this.offsetTop; iconDivHeight = (iconDivHeight > 0 ? 1 : -1) * Math.ceil(Math.abs(iconDivHeight)); this.top = this.offsetTop + iconDivHeight; } } else { if (this.top != (this.scrolledY + this.pageH - this.height - this.config["offsetH"] - this.scrollbarH)) { var iconDivHeight = this.scrolledY + this.pageH - this.height - this.config["offsetH"] - this.scrollbarH - this.offsetTop; iconDivHeight = (iconDivHeight > 0 ? 1 : -1) * Math.ceil(Math.abs(iconDivHeight)); this.top = this.offsetTop + iconDivHeight; } } if (this.config["showmodel"] == 1) { if (this.left != (this.scrolledX + this.pageW)) { var iconDivWidth = this.scrolledX + this.config["offsetW"] - this.offsetLeft; iconDivWidth = (iconDivWidth > 0 ? 1 : -1) * Math.ceil(Math.abs(iconDivWidth)); this.left = this.offsetLeft + iconDivWidth; } } else { if (this.left != (this.scrolledX + this.pageW - this.width - this.config["offsetW"] - this.scrollbarW)) { var iconDivWidth = this.scrolledX + this.pageW - this.width - this.config["offsetW"] - this.scrollbarW - this.offsetLeft; iconDivWidth = (iconDivWidth > 0 ? 1 : -1) * Math.ceil(Math.abs(iconDivWidth)); this.left = this.offsetLeft + iconDivWidth; } } //set kf_icon postiotn //超出窗口边界,直接移动到窗口边界再平滑移动 var left = parseInt(this.iconDivMain.style.left.replace("px", "")); var top = parseInt(this.iconDivMain.style.top.replace("px", "")); if (this.issmooth == true) { if (left != this.left) { if (left < (this.scrolledX - this.width)) left = this.scrolledX - this.width; if (left > this.scrolledX + this.pageW) left = this.scrolledX + this.pageW; left = smoothMove(left, this.left); } if (top != this.top) { if (top < (this.scrolledY - this.height)) top = this.scrolledY - this.height; if (top > this.scrolledY + this.pageH) top = this.scrolledY + this.pageH; top = smoothMove(top, this.top); } } else if (this.issmooth == false) { left = this.left; top = this.top; this.issmooth = true; } this.iconDivMain.style.left = left + "px"; this.iconDivMain.style.top = top + "px"; }; function _wopen(com) { if (this.config["is_zdyurl"] == 1) window.open(this.config["zdyurl"], "_blank", "height=" + 473 + ",width=" + 703 + ",top=200,left=200,status=yes,toolbar=no,menubar=no,resizable=yes,scrollbars=no,location=no,titlebar=no"); else window.open(this.config["server_path"] + "/webCompany.php?arg=" + this.config["arg"] + com, "_blank", "height=" + 473 + ",width=" + 703 + ",top=200,left=200,status=yes,toolbar=no,menubar=no,resizable=yes,scrollbars=no,location=no,titlebar=no"); }; function _setParameter() { var params = ""; params += this.config["style_id"]; params += this.config["language"]; params += this.config["onurl"]; params += this.config["lytype"]; params += this.config["lyurl"]; params += this.config["copartner"]; params += this.config["username"]; params += this.config["userinfo"]; params += this.config["charset"]; params += this.config["introurl"]; params += this.config["kf"]; params += this.config["referer"]; params += this.config["keyword"]; params += this.config["tfrom"]; params += this.config["company_tpl"]; params += this.config["brief"]; params += this.config["logo"]; params += this.config["question"]; return params; }; function _getClickUrl() { var _click_str = ''; if (this.config["record_url"] != "" && this.config["isonline"] == 0) { _click_str += 'window.open(\'' + this.config["record_url"] + '\',\'_blank\')'; } else { _click_str += 'setIsinvited();'; if (this.config["is_zdyurl"] == 1) { _click_str += 'window.open(\'' + this.config["zdyurl"] + '\', \'_blank\', \'height=473,width=703,top=200,left=200,status=yes,toolbar=no,menubar=no,resizable=yes,scrollbars=no,location=no,titlebar=no\')'; } else { _click_str += 'window.open(\'' + this.config["server_path"] + '/webCompany.php?arg=' + this.config["arg"] + this.setParameter() + '\', \'_blank\', \'height=473,width=703,top=200,left=200,status=yes,toolbar=no,menubar=no,resizable=yes,scrollbars=no,location=no,titlebar=no\')'; } } return _click_str; } function _hidden() { hz6d_close_icon = 1; this.display = "none"; hz6d$(this.config["iconDivMain"]).style.display = "none"; try { clearInterval(kf_icons[this.config["kf_icon_id"]].autoScrollTimer); } catch (e) {} }; function _closeIcon() { var str_onmove = ""; if (2 == 1 && ('blue' == "new_blue" || 'blue' == "new_red" || 'blue' == "new_yellow" || 'blue' == "new_green")) { str_onmove = "onmousemove='this.style.backgroundImage=\"url(http://www11.53kf.com/img/kflist/list_close_move.gif)\"' onmouseout='this.style.backgroundImage=\"url(http://www11.53kf.com/img/kflogo/close.gif)\"'"; } if (1 == 1 || 67578775 == 600603 || 67578775 == 61393572 || 67578775 == 1413303 || 67578775 == 61389920 || 67578775 == 61420906 || 67578775 == 61578368) { if (2 == 1) { //return ""; if ('blue' == "new_blue" || 'blue' == "new_red" || 'blue' == "new_yellow" || 'blue' == "new_green") { var str_wh = "width:27px;height:16px;"; } else if ('blue' == "blue") { var str_wh = "width:11px;height:11px;"; } else if ('blue' == "blue2") { var str_wh = "width:14px;height:14px;"; } else if ('blue' == "yellow") { var str_wh = "width:14px;height:14px;"; } else if ('blue' == "yellow2") { var str_wh = "width:14px;height:13px;"; } else if ('blue' == "black") { var str_wh = "width:14px;height:14px;"; } else if ('blue' == "pink") { var str_wh = "width:18px;height:18px;"; } else { var str_wh = "width:11px;height:11px;"; } return "
"; } //return ""; return "
"; } return ""; }; function _init() { document.write('
'); this.iconDiv = hz6d$(this.config["iconDiv"]); this.createIconDivMain(); }; } if (typeof(kf_icon_id) == "undefined") kf_icon_id = 1; else kf_icon_id++; kf_icons[kf_icon_id] = new kfIcon(); kf_icons[kf_icon_id].config["id"] = kf_icon_id; kf_icons[kf_icon_id].config["arg"] = "jsaccpcomcn"; //kf_icons[kf_icon_id].config["logo_id"]="5"; kf_icons[kf_icon_id].config["style_id"] = "&style=1"; kf_icons[kf_icon_id].config["isonline"] = "1"; kf_icons[kf_icon_id].config["zdytb_on_arrs"] = []; kf_icons[kf_icon_id].config["zdytb_off_arrs"] = []; if (2 == 2)kf_icons[kf_icon_id].config["zdytb_on_arrs"] = init_zdytb_arr("1,\u5916\u6846,-,166,359,-,-,1,-,no-repeat,-,-,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#2,\u5934\u90e8\u80cc\u666f,-,166,167,0,0,1,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313984692.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#3,\u5e95\u90e8\u80cc\u666f,-,166,37,0,322,3,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313985115.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#4,53KF\u80cc\u666f,chat,166,31,0,167,4,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313984777.gif,no-repeat,-,-,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#5,QQ\u80cc\u666f,chat,166,31,0,198,5,\/img\/upload\/jsaccpcomcn\/zdytb\/zdytb_53kf_1328496932.gif,no-repeat,-,97559766,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#6,\u65fa\u65fa\u80cc\u666f,chat,166,31,0,229,6,\/img\/upload\/jsaccpcomcn\/zdytb\/zdytb_53kf_1328496958.gif,no-repeat,-,fonlue,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#7,MSN\u80cc\u666f,msn,166,31,0,260,7,\/img\/upload\/jsaccpcomcn\/zdytb\/zdytb_53kf_1328497023.gif,no-repeat,-,fonlue@hotmail.com,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#8,\u5728\u7ebf\u5f62\u8c61,chat,121,120,20,40,8,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313985588.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#9,53KF,chat,106,22,37,172,9,-,no-repeat,-,-,zdy,JAVA\u5728\u7ebf\u54a8\u8be2,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank#10,QQ,chat,106,22,37,203,10,-,no-repeat,-,97559766,zdy,.NET\u5728\u7ebf\u54a8\u8be2,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank#11,\u65fa\u65fa,chat,106,22,37,234,11,-,no-repeat,-,fonlue,zdy,\u7f51\u7edc\u8425\u9500\u5e08\u54a8\u8be2,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank#12,MSN,qq,106,22,37,265,12,-,no-repeat,-,1048561667,zdy,QQ\u5728\u7ebf\u54a8\u8be2,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank#13,\u5ba2\u670dLOGO,-,22,20,9,10,13,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313723164.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#14,\u6807\u9898,-,120,24,30,10,14,-,no-repeat,-,-,zdy,53KF-\u7f51\u4e0a\u5ba2\u670d,14,000000,center,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#15,\u7248\u6743\u6240\u6709,-,166,37,0,322,15,-,no-repeat,-,-,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,http:\/\/www.sz-aptech.com.cn\/,_blank#16,400\u80cc\u666f,etel,166,31,0,291,16,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313985076.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#17,400\u7535\u8bdd,etel,106,22,37,296,17,-,no-repeat,-,-,zdy,0512-65224689,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank"); if (2 == 2)kf_icons[kf_icon_id].config["zdytb_off_arrs"] = init_zdytb_arr("1,\u5916\u6846,-,166,359,-,-,1,-,no-repeat,-,-,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#2,\u5934\u90e8\u80cc\u666f,-,166,167,0,0,1,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313984692.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#3,\u5e95\u90e8\u80cc\u666f,-,166,37,0,322,3,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313985115.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#4,53KF\u80cc\u666f,chat,166,31,0,167,4,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313984777.gif,no-repeat,-,-,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#5,QQ\u80cc\u666f,chat,166,31,0,198,5,\/img\/upload\/jsaccpcomcn\/zdytb\/zdytb_53kf_1328496932.gif,no-repeat,-,97559766,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#6,\u65fa\u65fa\u80cc\u666f,chat,166,31,0,229,6,\/img\/upload\/jsaccpcomcn\/zdytb\/zdytb_53kf_1328496958.gif,no-repeat,-,fonlue,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#7,MSN\u80cc\u666f,msn,166,31,0,260,7,\/img\/upload\/jsaccpcomcn\/zdytb\/zdytb_53kf_1328497023.gif,no-repeat,-,fonlue@hotmail.com,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#8,\u5728\u7ebf\u5f62\u8c61,chat,121,120,20,40,8,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313985588.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#9,53KF,chat,106,22,37,172,9,-,no-repeat,-,-,zdy,JAVA\u5728\u7ebf\u54a8\u8be2,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank#10,QQ,chat,106,22,37,203,10,-,no-repeat,-,97559766,zdy,.NET\u5728\u7ebf\u54a8\u8be2,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank#11,\u65fa\u65fa,chat,106,22,37,234,11,-,no-repeat,-,fonlue,zdy,\u7f51\u7edc\u8425\u9500\u5e08\u54a8\u8be2,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank#12,MSN,qq,106,22,37,265,12,-,no-repeat,-,1048561667,zdy,QQ\u5728\u7ebf\u54a8\u8be2,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank#13,\u5ba2\u670dLOGO,-,22,20,9,10,13,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313723164.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#14,\u6807\u9898,-,120,24,30,10,14,-,no-repeat,-,-,zdy,53KF-\u7f51\u4e0a\u5ba2\u670d,14,000000,center,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#15,\u7248\u6743\u6240\u6709,-,166,37,0,322,15,-,no-repeat,-,-,-,-,12,-,left,-,-,-,\u5b8b\u4f53,none,-,-,http:\/\/www.sz-aptech.com.cn\/,_blank#16,400\u80cc\u666f,etel,166,31,0,291,16,\/img\/kflogo\/zdytb\/new2011_03\/zdytb_53kf_1313985076.gif,no-repeat,-,-,-,-,12,-,-,-,-,-,\u5b8b\u4f53,none,-,-,-,_blank#17,400\u7535\u8bdd,etel,106,22,37,296,17,-,no-repeat,-,-,zdy,0512-65224689,13,FF0033,center,bold,-,-,\u5b8b\u4f53,none,-,-,-,_blank"); kf_icons[kf_icon_id].config["img_on"] = "http://www11.53kf.com/img/kflogo/gray.gif"; kf_icons[kf_icon_id].config["img_off"] = "http://www11.53kf.com/img/kflogo/gray_off.gif"; kf_icons[kf_icon_id].config["height"] = "359"; kf_icons[kf_icon_id].config["width"] = "166"; kf_icons[kf_icon_id].config["auto_hidden_img"] = "img/kflogo/ssan/right/red.gif"; kf_icons[kf_icon_id].config["hidden_img_height"] = "135"; kf_icons[kf_icon_id].config["hidden_img_width"] = "33"; kf_icons[kf_icon_id].config["showmodel"] = parseInt("2"); kf_icons[kf_icon_id].config["offsetW"] = parseInt("1"); kf_icons[kf_icon_id].config["v_showmodel"] = parseInt("1"); kf_icons[kf_icon_id].config["offsetH"] = parseInt("160"); kf_icons[kf_icon_id].config["language"] = "&language=zh-cn"; kf_icons[kf_icon_id].config["username"] = ""; kf_icons[kf_icon_id].config["userinfo"] = ""; kf_icons[kf_icon_id].config["charset"] = "&charset=gbk"; kf_icons[kf_icon_id].config["introurl"] = ""; kf_icons[kf_icon_id].config["onurl"] = ""; kf_icons[kf_icon_id].config["lytype"] = "&lytype=0"; kf_icons[kf_icon_id].config["lyurl"] = ""; kf_icons[kf_icon_id].config["copartner"] = ""; kf_icons[kf_icon_id].config["kf"] = "&kflist=off&kf=peng&zdkf_type=1"; kf_icons[kf_icon_id].config["referer"] = hz6d_referer; kf_icons[kf_icon_id].config["keyword"] = hz6d_from_page; kf_icons[kf_icon_id].config["tfrom"] = "&tfrom=1"; kf_icons[kf_icon_id].config["record_url"] = ""; var hz6d_zdyurl = "?arg=jsaccpcomcn&style=1&kflist=off&kf=peng&zdkf_type=1&language=zh-cn&charset=gbk&lytype=0&referer={hz6d_referer}{hz6d_keyword}&tpl=crystal_blue"; hz6d_zdyurl = hz6d_html_replace(hz6d_zdyurl); kf_icons[kf_icon_id].config["zdyurl"] = hz6d_zdyurl; kf_icons[kf_icon_id].config["is_zdyurl"] = "0"; kf_icons[kf_icon_id].config["path"] = "http://chat.53kf.com"; kf_icons[kf_icon_id].config["server_path"] = "http://www11.53kf.com"; kf_icons[kf_icon_id].config["company_tpl"] = "&tpl=crystal_blue"; kf_icons[kf_icon_id].config["brief"] = ""; kf_icons[kf_icon_id].config["logo"] = ""; kf_icons[kf_icon_id].config["iconDivMain"] = "iconDivMain" + kf_icon_id; kf_icons[kf_icon_id].config["iconDiv"] = "iconDiv" + kf_icon_id; kf_icons[kf_icon_id].config["question"] = ""; kf_icons[kf_icon_id].init(); kf_icons[kf_icon_id].autoScrollTimer = window.setInterval("kf_icons[" + kf_icon_id + "].autoScroll()", kf_icons[kf_icon_id].loopmillisecond); if (!hz6d$("stat_script")) document.write("");