﻿document.writeln("<style>\/* QQ 客服*\/");
document.writeln(".qqbox a:link {color: #000;text-decoration: none;}");
document.writeln(".qqbox a:visited {color: #000;text-decoration: none;}");
document.writeln(".qqbox a:hover {color: #f80000;text-decoration: underline;}");
document.writeln(".qqbox a:active {color: #f80000;text-decoration: underline;}");
document.writeln(".qqbox{width:154px;height:auto;overflow:hidden;position:absolute;right:0;top:100px;color:#000000;font-size:12px;letter-spacing:0px;}");
document.writeln(".qqlv{width:54px;height:263px;overflow:hidden;position:relative;float:right;z-index:50px;cursor:pointer;}");
document.writeln(".qqkf{width:154px;height:auto;overflow:hidden;right:0;top:0;z-index:99px;}");
document.writeln(".qqkfbt{width:122px;height:33px;overflow:hidden;line-height:20px;font-weight:bold;color:#fff;position:relative;cursor:pointer;text-align:center;}");
document.writeln(".qqkfhm{height:22px;overflow:hidden;line-height:22px; margin:4px 0;}");
document.writeln(".bgdh{width:114px; padding-left:8px;}");
document.writeln(".bgdh span{color:#000000; font-size:10px; font-family: 微软雅黑;}");
document.writeln("#K1,#K2,#K3,#K4,#K5,#K6{ margin:15px 0; }");
document.writeln("<\/style>")
document.writeln("<div class=\"qqbox\" id=\"divQQbox\">");
document.writeln("<div class=\"qqlv\" id=\"meumid\" style=\"display:none;\" onClick=\"show()\"><img src=\"\/QQ\/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=\"\/QQ\/images\/kf-top.png\" width=\"154\" height=\"14\" \/><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("    <td background=\"\/QQ\/images\/kf-left1.png\" onClick=\"hideMsgBox(event)\"><img src=\"\/QQ\/images\/kf-left.png\" width=\"18\" height=\"36\" \/><\/td>");
document.writeln("    <td width=\"122\" bgcolor=\"#FFFFFF\"><div class=\"qqkfbt\" onClick=\"showandhide(\'qq-\',\'qqkfbt\',\'qqkfbt\',\'K\',3,1);\" id=\"qq-1\" onfocus=\"this.blur();\"><img src=\"\/QQ\/images\/kf-1.jpg\" \/><\/div>");
document.writeln("<div id=\"K1\">");
document.writeln("<div class=\"qqkfhm bgdh\"><a href=\"tencent:\/\/message\/?uin=757098289&Site=80fans&Service=300&sigT=45a1e5847943b64c6ff3990f8a9e644d2b31356cb0b4ac6b24663a3c8dd0f8aa12a595b1714f9d45\" title=\"区外客户\">");
document.writeln("<span style=\" float:left; width:24px;\"><img src=\"http:\/\/wpa.qq.com\/pa?p=1:757098289: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=553996875&Site=80fans&Service=300&sigT=45a1e5847943b64c6ff3990f8a9e644d2b31356cb0b4ac6b24663a3c8dd0f8aa12a595b1714f9d45\" title=\"大连吉林\">");
document.writeln("<span style=\" float:left; width:24px;\"><img src=\"http:\/\/wpa.qq.com\/pa?p=1:553996875: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=1042227044&Site=80fans&Service=300&sigT=45a1e5847943b64c6ff3990f8a9e644d2b31356cb0b4ac6b24663a3c8dd0f8aa12a595b1714f9d45\" title=\"辽宁客户\">");
document.writeln("<span style=\" float:left; width:24px;\"><img src=\"http:\/\/wpa.qq.com\/pa?p=1:1042227044: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=552336106&Site=80fans&Service=300&sigT=45a1e5847943b64c6ff3990f8a9e644d2b31356cb0b4ac6b24663a3c8dd0f8aa12a595b1714f9d45\" title=\"沈阳市场\">");
document.writeln("<span style=\" float:left; width:24px;\"><img src=\"http:\/\/wpa.qq.com\/pa?p=1:552336106: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("<br>");
document.writeln("<\/div>");
document.writeln("<div class=\"qqkfbt\" onClick=\"showandhide(\'qq-\',\'qqkfbt\',\'qqkfbt\',\'K\',3,2);\" id=\"qq-2\" onfocus=\"this.blur();\"><img src=\"\/QQ\/images\/kf-2.jpg\" \/><\/div>");
document.writeln("<div id=\"K2\" style=\"display:none;\" >");
document.writeln("<div class=\"qqkfhm bgdh\"> <a href=\"msnim:chat?contact=wwww@hotmail.com\" title=\"外贸部门\"><img src=\"http:\/\/messenger.services.live.com\/users\/www@hotmail.com\/presenceimage?mkt=zh-cn\" align=\"absmiddle\" width=16 height=16 border=\"0\">English<\/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=\"\/QQ\/images\/kf-3.jpg\" \/><\/div>");
document.writeln("<div id=\"K3\" style=\"display:none;\" >");
document.writeln("<div class=\"qqkfhm bgdh\">Tel：4006-111-316<br\/><\/div>");
document.writeln("<\/div><\/td>");
document.writeln("    <td background=\"\/QQ\/images\/kf-right.png\" width=\"14\" ><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("    <td colspan=\"3\"><img src=\"\/QQ\/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";
}

