var kf_success=1; var kftype=2; function 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 showinvite=1; //1 显示邀请框,2 不显示 3 不显示(包括手动邀请) function setIsinvited() { if("1"==3) { document.cookie="53kf_kf_isinvited=2"; showinvite=2; } else if("1"==4) { showinvite=2; } else { document.cookie="53kf_kf_isinvited=1"; showinvite=2; } } var kf_isinvited=getCookie("53kf_kf_isinvited"); if(kf_isinvited==1) showinvite=2; else if (kf_isinvited==2) showinvite=3; //to avoid the no if (typeof(onliner_id)=="undefined"){ var onliner_id=1; function hishow(id) { var divname="hsdiv"+id; if(document.getElementById(divname).style.display=="") { document.getElementById(divname).style.display="none"; document.getElementById("arrow"+id).src="http://www.53kf.com/img/ver5/site/list/arrow2.gif"; }else { document.getElementById(divname).style.display=""; document.getElementById("arrow"+id).src="http://www.53kf.com/img/ver5/site/list/arrow.gif"; } } // document.body.OffsetWidth | document.documentElement.scrollLeft ... // 在 ie6 和ie7 中表现不一样,还不清楚 ie7 如何解释 document.body // document.body 与 document.documentElement // 分别在ie6 和 firefox 中解释不同, // ie 和 firefox 的滚动条是否宽度相同? eval("function OnlinerIcon_6D(){ this.preferences=new Array(); this.left=0; this.top=0; this.last_left=0;this.last_top=0; this.diffY=0; this.diffX=0; this.diffW=0;this.diffH=0; this.show=\"\"; this.WCC_scrollTimer=null; this.floatHtml=null; this.dreamsim=null; this.autoScroll=WCC_autoScroll;this.imageTimer=onliner_imageTimer; this.get_com=onliner_get_com;this.get_tip_str=onliner_get_tip_str; this.wopen=onliner_wopen; this.start=onliner_start; this.get_clost_str=onliner_get_close_str; this.hidden=hidden_div;}"); eval("var isNS6 = (document.getElementById&&!document.all) ? 1: 0;var isIE = (document.all) ? 1: 0;var isNS = (navigator.appName==\"Netscape\" && navigator.appVersion.charAt(0)==\"4\") ? 1: 0;"); eval("function WCC_autoScroll(){ this.imageTimer(); this.diffY = document.body.scrollTop; this.diffX = document.body.scrollLeft; if(this.diffY==0){ this.diffY = document.documentElement.scrollTop; } if(this.diffX==0){ this.diffX = document.documentElement.scrollLeft; } if(isIE){ this.diffH = document.documentElement.offsetHeight; this.diffW = document.documentElement.offsetWidth; }else{ this.diffH = document.body.offsetHeight; this.diffW = document.body.offsetWidth; } if(this.dreamsim.style.top!=(this.diffY+this.preferences[\"alignH\"])){ var dreamsheight=this.diffY+this.preferences[\"alignH\"]-this.dreamsim.offsetTop; this.top=this.dreamsim.offsetTop+dreamsheight; } if(this.preferences[\"alignx\"]==1){ if(parseInt(this.dreamsim.style.left)!=(this.diffX+this.diffW)){ var dreamswidth=this.diffX+this.preferences[\"alignW\"]-this.dreamsim.offsetLeft; dreamswidth=(dreamswidth>0?1:-1)*Math.ceil(Math.abs(dreamswidth)); this.left=this.dreamsim.offsetLeft+dreamswidth; } }else{ if(parseInt(this.dreamsim.style.left)!=(this.diffX+this.diffW-parseInt(this.dreamsim.style.width)-this.preferences[\"alignW\"]-20)){ var dreamswidth=this.diffX+this.diffW-parseInt(this.dreamsim.style.width)-this.preferences[\"alignW\"]-20-this.dreamsim.offsetLeft; dreamswidth=(dreamswidth>0?1:-1)*Math.ceil(Math.abs(dreamswidth)); this.left=this.dreamsim.offsetLeft+dreamswidth; } } this.dreamsim=document.getElementById(this.preferences[\"wccfloater\"]); if(this.last_top!=this.top || this.last_left!=this.left){ this.last_top=this.top; this.last_left=this.left; this.get_tip_str(); document.getElementById(this.preferences[\"dreamsdiv\"]).innerHTML=this.floatHtml; dreamsim=document.getElementById(this.preferences[\"wccfloater\"]); } this.imageTimer();}"); if(kftype==1) { eval("function onliner_get_tip_str(){ var d=new Date(); var tt=\"\"; if (this.preferences[\"iframe_flag\"]==1){ tt += \"\"; } var con_img=\"\"; tt += \"
\"; this.floatHtml=tt;}"); }else { eval("function onliner_get_tip_str(){ var d=new Date(); var img=\"\"; if (this.preferences[\"isonline\"]==1) img=this.preferences[\"img_on\"]; else img=this.preferences[\"img_off\"]; var tt=\"\"; if (this.preferences[\"iframe_flag\"]==1){ tt += \"\"; } var con_img=\"
\"; return \"\";}");
eval("function hidden_div(){ this.show=\"none\";document.getElementById(this.preferences[\"wccfloater\"]).style.display=\"none\";try{eval( \"clearInterval(onlinerIcon_6d\\\"+this.preferences[\\\"onliner_id\\\"]+\\\".WCC_scrollTimer);\")}catch(e){}}");
eval("function onliner_get_com(){ var tt=\"\"; tt+=this.preferences[\"style_id\"]; tt+=this.preferences[\"language\"]; tt+=this.preferences[\"onurl\"]; tt+=this.preferences[\"lytype\"]; tt+=this.preferences[\"lyurl\"]; tt+=this.preferences[\"copartner\"]; tt+=this.preferences[\"username\"]; tt+=this.preferences[\"userinfo\"]; tt+=this.preferences[\"charset\"]; tt+=this.preferences[\"introurl\"]; tt+=this.preferences[\"kf\"]; tt+=this.preferences[\"referer\"]; tt+=this.preferences[\"keyword\"]; tt+=this.preferences[\"company_tpl\"]; return tt;}");
eval("function onliner_wopen(com) { onliner_zdfq=1; document.cookie=\"onliner_zdfq61461264=1\"; has_show=1; if (this.preferences[\"is_zdyurl\"]==1) window.open(this.preferences[\"zdyurl\"],\"_blank\",\"height="+4109+",width="+703+",top=200,left=200,status=yes,toolbar=no,menubar=no,resizable=no,scrollbars=no,location=no,titlebar=no\"); else window.open(this.preferences[\"server_path\"]+\"/company.php?arg=\"+this.preferences[\"arg\"]+com,\"_blank\",\"height="+4109+",width="+703+",top=200,left=200,status=yes,toolbar=no,menubar=no,resizable=no,scrollbars=no,location=no,titlebar=no\");}");
eval("function onliner_imageTimer(){ if (true) { if(document.getElementById(this.preferences[\"dreamsdiv\"]).innerHTML.indexOf('.gif')==-1 && document.getElementById(this.preferences[\"dreamsdiv\"]).innerHTML.indexOf('.jpg')==-1 && document.getElementById(this.preferences[\"dreamsdiv\"]).innerHTML.indexOf('.swf')==-1) { this.get_tip_str(); document.getElementById(this.preferences[\"dreamsdiv\"]).innerHTML=this.floatHtml; this.dreamsim=document.getElementById(this.preferences[\"wccfloater\"]); } }}");
eval("function onliner_start(){ document.write(''); this.dreamsim=document.getElementById(this.preferences[\"wccfloater\"]);}");
}
else{
onliner_id++;
}
eval("var onlinerIcon_6d"+onliner_id+"=new OnlinerIcon_6D();");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"onliner_id\"]=onliner_id;");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"arg\"]=\"kebeke\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"logo_id\"]=1086;");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"iframe_flag\"]=1;");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"style_id\"]=\"&style=1\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"isonline\"]=1;");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"img_on\"]=\"http://www.kebeke.com/images/kf_1.gif\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"img_off\"]=\"http://www.kebeke.com/images/kf_0.gif\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"height\"]=109;");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"width\"]=100");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"alignx\"]=2;");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"alignW\"]=1;");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"alignH\"]=330;");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"language\"]=\"&language=cn\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"username\"]=\"\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"userinfo\"]=\"\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"charset\"]=\"&charset=GBK\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"introurl\"]=\"\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"onurl\"]=\"\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"lytype\"]=\"&lytype=0\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"lyurl\"]=\"\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"copartner\"]=\"\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"kf\"]=\"&kflist=off&kf=&zdkf_type=1\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"referer\"]=\"&referer=\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"keyword\"]=\"&keyword=\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"record_url\"]=\"\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"zdyurl\"]=\"http://www.kebeke.com/dialog.html?arg=kebeke&style=1&charset=GBK&lytype=0&referer=&keyword=&tpl=crystal_blue\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"is_zdyurl\"]=\"1\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"path\"]=\"http://www.53kf.com\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"server_path\"]=\"http://www12.53kf.com\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"company_tpl\"]=\"&tpl=crystal_blue\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"wccfloater\"]=\"wccfloater"+onliner_id+"\";");
eval("onlinerIcon_6d"+onliner_id+".preferences[\"dreamsdiv\"]=\"dreamsdiv"+onliner_id+"\";");
eval("onlinerIcon_6d"+onliner_id+".start();");
eval("onlinerIcon_6d"+onliner_id+".WCC_scrollTimer = window.setInterval(\"onlinerIcon_6d"+onliner_id+".autoScroll()\", 300); ");