﻿document.writeln("<div class=\"qqbox\" id=\"divQQbox\">");
document.writeln("<div class=\"qqlv\" id=\"meumid\" style=\"display:none;\" onClick=\"show()\"><img src=\"\/images\/kf-1.png\"><\/div>");
document.writeln("<div class=\"qqkf\" id=\"contentid\" >");
document.writeln("<table width=\"154\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("  <tr>");
document.writeln("    <td colspan=\"3\"><img src=\"\/images\/kf-top.png\" width=\"154\" height=\"14\" \/><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("    <td background=\"\/images\/kf-left1.png\" onClick=\"hideMsgBox(event)\"><img src=\"\/images\/kf-left.png\" width=\"18\" height=\"36\" \/><\/td>");
document.writeln("    <td width=\"122\" bgcolor=\"#FFFFFF\"><a href=\"http:\/\/chat.53kf.com/company.php?arg=gyslks&style=1\" target=\"_blank\"><img src=\"\/images\/4.gif\" border=\"0\" \/><\/a><div class=\"qqkfbt\" onClick=\"showandhide(\'qq-\',\'qqkfbt\',\'qqkfbt\',\'K\',3,1);\" id=\"qq-1\" onfocus=\"this.blur();\"><img src=\"\/images\/kf-3.jpg\" \/><\/div>");
document.writeln("<div id=\"K1\">");
document.writeln("<div class=\"qqkfhm bgdh\">电话037164373366<br\/><\/div>");
document.writeln("<div class=\"qqkfhm bgdh\">手机：13803857310<br\/><\/div>");
document.writeln("<div class=\"qqkfhm bgdh\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;18239939952<br\/><\/div>");  
document.writeln("<\/div>");
document.writeln("<div class=\"qqkfbt\" onClick=\"showandhide(\'qq-\',\'qqkfbt\',\'qqkfbt\',\'K\',3,2);\" id=\"qq-2\" onfocus=\"this.blur();\"><img src=\"\/images\/kf-2.jpg\" \/><\/div>");
document.writeln("<div id=\"K2\" style=\"display:none;\" >");
document.writeln("<div class=\"qqkfhm bgdh\"> <a href=\"msnim:chat?contact=gyslks2009@hotmail.com\" title=\"产品咨询\"><img src=\"http:\/\/messenger.services.live.com\/users\/gyslks2009@hotmail.com\/presenceimage?mkt=zh-cn\" align=\"absmiddle\" width=16 height=16 border=\"0\"> 产品咨询<\/a><\/div>");
document.writeln("<div class=\"qqkfhm bgdh\"> <a href=\"msnim:chat?contact=gyslks2009@hotmail.com\" title=\"售后服务\"><img src=\"http:\/\/messenger.services.live.com\/users\/gyslks2009@hotmail.com\/presenceimage?mkt=zh-cn\" align=\"absmiddle\" width=16 height=16 border=\"0\"> 售后服务<\/a><\/div>");
document.writeln("<\/div>");
document.writeln("<div class=\"qqkfbt\" onClick=\"showandhide(\'qq-\',\'qqkfbt\',\'qqkfbt\',\'K\',3,3);\" id=\"qq-3\" onfocus=\"this.blur();\"><img src=\"\/images\/kf-1.jpg\" \/><\/div>");
document.writeln("<div id=\"K3\" style=\"display:none;\" >");
document.writeln("<div class=\"qqkfhm bgdh\"> <a href=\"tencent:\/\/message\/?uin=1007738694&Site=80fans&Service=300&sigT=45a1e5847943b64c6ff3990f8a9e644d2b31356cb0b4ac6b24663a3c8dd0f8aa12a595b1714f9d45\" title=\"产品咨询\">");
document.writeln("<span style=\" float:left; width:24px;\"><img src=\"http:\/\/wpa.qq.com\/pa?p=1:1007738694:4\" height=16 border=0><\/span>");
document.writeln("<span style=\" float:left; margin:0 2px; font-size:12px; line-height:24px;\">产品咨询<\/span><\/a><\/div>");
document.writeln("<div class=\"qqkfhm bgdh\"> <a href=\"tencent:\/\/message\/?uin=1007738694&Site=80fans&Service=300&sigT=45a1e5847943b64c6ff3990f8a9e644d2b31356cb0b4ac6b24663a3c8dd0f8aa12a595b1714f9d45\" title=\"售后服务\">");
document.writeln("<span style=\" float:left; width:24px;\"><img src=\"http:\/\/wpa.qq.com\/pa?p=1:1007738694:4\" height=16 border=0><\/span>");
document.writeln("<span style=\" float:left; margin:0 2px; font-size:12px; line-height:24px;\">售后服务<\/span><\/a><\/div>");
document.writeln("    <td background=\"\/images\/kf-right.png\" width=\"14\" ><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("    <td colspan=\"3\"><img src=\"\/images\/kf-bottom.png\" width=\"154\" height=\"13\" \/><\/td>");
document.writeln("  <\/tr>");
document.writeln("<\/table>");
document.writeln("<\/div>");
document.writeln("<\/div>");

//QQ客服

function showandhide(h_id,hon_class,hout_class,c_id,totalnumber,activeno) {
var h_id,hon_id,hout_id,c_id,totalnumber,activeno;
for (var i=1;i<=totalnumber;i++) {
document.getElementById(c_id+i).style.display='none';
document.getElementById(h_id+i).className=hout_class;
}
document.getElementById(c_id+activeno).style.display='block';
document.getElementById(h_id+activeno).className=hon_class;
}
var tips;
var theTop = 100;
var old = theTop;
function initFloatTips()
{
tips = document.getElementById('divQQbox');
moveTips();
}
function moveTips()
{
var tt=50;
if (window.innerHeight)
{
pos = window.pageYOffset
}else if (document.documentElement && document.documentElement.scrollTop) {
pos = document.documentElement.scrollTop
}else if (document.body) {
pos = document.body.scrollTop;
}
//http:
pos=pos-tips.offsetTop+theTop;
pos=tips.offsetTop+pos/10;
if (pos < theTop){
pos = theTop;
}
if (pos != old) {
tips.style.top = pos+"px";
tt=10;//alert(tips.style.top);
}
old = pos;
setTimeout(moveTips,tt);
}
initFloatTips();
if(typeof(HTMLElement)!="undefined")//给firefox定义contains()方法，ie下不起作用
{
HTMLElement.prototype.contains=function (obj)
{
while(obj!=null&&typeof(obj.tagName)!="undefind"){//
　　 　if(obj==this) return true;
　　　	　obj=obj.parentNode;
　　	  }
return false;
}
}
function show()
{
document.getElementById("meumid").style.display="none"
document.getElementById("contentid").style.display="block"
}
function hideMsgBox(theEvent){
if (theEvent){
var browser=navigator.userAgent;
if (browser.indexOf("Firefox")>0){//Firefox
if (document.getElementById("contentid").contains(theEvent.relatedTarget)) {
return
}
}
if (browser.indexOf("MSIE")>0 || browser.indexOf("Presto")>=0){
if (document.getElementById('contentid').contains(event.toElement)) {
return;//结束函式
}
}
}
document.getElementById("meumid").style.display = "block";
document.getElementById("contentid").style.display = "none";
}

