﻿document.writeln("<link href=\"kefu\/kefu.css\" rel=\"stylesheet\" type=\"text\/css\" \/>");
document.writeln("<div class=\"QQbox\" id=\"divQQbox\" >");
document.writeln("<div class=\"Qlist\" id=\"divOnline\" onMouseOut=\"hideMsgBox(event);\" style=\"display : none;\">");
document.writeln("<DIV  id=\"browsinghistory\" style=\"HEIGHT: 240px; WIDTH: 100px;\">");
document.writeln("<div id=\"onlineqq\">");
document.writeln("<table width=\"100\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("  <tr>");
document.writeln("    <td><img src=kefu\/images\/kf005_1.gif width=\"100\" height=\"36\" border=0><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("    <td background=kefu\/images\/kf005_1_bj.gif><table width=\"100\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">");
document.writeln("  <tr> ");
document.writeln("    <td align=\"center\" valign=middle  background=kefu\/images\/kf005_1_bj.gif >");
document.writeln("---QQ客服---<br \/>");
document.writeln("	<a target=\"blank\" href=\"http:\/\/wpa.qq.com\/msgrd?V=1&amp;Uin=61344195&amp;Site=龍/db壞尐孩&amp;Menu=yes\"><img");
document.writeln("border=\"0\" src=\"http:\/\/wpa.qq.com\/pa?p=1:61344195:4\" alt=\"\" \/><\/a><font class=\"word001_qq\"><a href=\"http:\/\/wpa.qq.com\/msgrd?V=1&amp;Uin=61344195&amp;Site=龍/db壞尐孩&amp;Menu=yes\" target=\"_blank\">");
document.writeln("<font class=\"word001_qq\">咨询-小黄<\/font><\/a><br \/>");
document.writeln("");
document.writeln("	<a target=\"blank\" href=\"http:\/\/wpa.qq.com\/msgrd?V=1&amp;Uin=526084381&amp;Site=美雅茶叶&amp;Menu=yes\"><img ");
document.writeln("border=\"0\" src=\"http:\/\/wpa.qq.com\/pa?p=1:526084381:4\" alt=\"\" \/><\/a><font class=\"word001_qq\"><a href=\"http:\/\/wpa.qq.com\/msgrd?V=1&amp;Uin=526084381&amp;Site=美雅茶叶&amp;Menu=yes\" target=\"_blank\">");
document.writeln("<font class=\"word001_qq\">咨询-小余<\/font><\/a><br \/>");
document.writeln("");
document.writeln("<a target=\"blank\" href=\"http:\/\/wpa.qq.com\/msgrd?V=1&amp;Uin=694868254&amp;Site=美雅茶叶&amp;Menu=yes\"><img ");
document.writeln("border=\"0\" src=\"http:\/\/wpa.qq.com\/pa?p=1:694868254:4\" alt=\"\" \/><\/a>");
document.writeln("<font class=\"word001_qq\"><a href=\"http:\/\/wpa.qq.com\/msgrd?V=1&amp;Uin=694868254&amp;Site=美雅茶叶&amp;Menu=yes\" target=\"_blank\"><font class=\"word001_qq\">咨询-小黄<\/font><\/a><br \/>");
document.writeln("");
document.writeln("<font color=\"#FF0000\">---旺旺客服---<\/font><br \/>");
document.writeln("	<a target=\"blank\" href=\"http:\/\/amos.im.alisoft.com\/msg.aw?v=2&uid=h16610&site=cnalichn&s=4\"><img src=\"http:\/\/amos.im.alisoft.com\/online.aw?v=1&uid=h16610&site=cnalichn&s=utf-8\" align=\"absmiddle\" border=\"0\" height=20\/><\/a><br \/>");
document.writeln("	");
document.writeln("---实体加盟---<br \/>");
document.writeln("<a target=\"blank\" href=\"http:\/\/wpa.qq.com\/msgrd?V=1&amp;Uin=61344195&amp;Site=美雅茶叶&amp;Menu=yes\"><img ");
document.writeln("border=\"0\" src=\"http:\/\/wpa.qq.com\/pa?p=1:61344195:4\" alt=\"\" \/><\/a>");
document.writeln("<font class=\"word001_qq\"><a href=\"http:\/\/wpa.qq.com\/msgrd?V=1&amp;Uin=61344195&amp;Site=美雅茶叶&amp;Menu=yes\" target=\"_blank\"><font class=\"word001_qq\">业务经理<\/font><\/a><br \/>	");
document.writeln("");
document.writeln("---售后服务---<br \/>");
document.writeln("<a target=\"blank\" href=\"http:\/\/wpa.qq.com\/msgrd?V=1&amp;Uin=252988166&amp;Site=美雅茶叶&amp;Menu=yes\"><img ");
document.writeln("border=\"0\" src=\"http:\/\/wpa.qq.com\/pa?p=1:252988166:4\" alt=\"\" \/><\/a>");
document.writeln("<font class=\"word001_qq\"><a href=\"http:\/\/wpa.qq.com\/msgrd?V=1&amp;Uin=252988166&amp;Site=美雅茶叶&amp;Menu=yes\" target=\"_blank\"><font class=\"word001_qq\">投诉建议<\/font><\/a><br \/>");
document.writeln("<\/td> ");
document.writeln("  <\/tr>");
document.writeln("<\/table><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("    <td><img src=\"kefu\/images\/kf005_2.gif\" width=\"100\" height=\"52\"><\/td>");
document.writeln("  <\/tr>");
document.writeln("  <tr>");
document.writeln("    <td><img src=\"kefu\/images\/kf005_3.gif\" width=\"100\" height=\"28\" border=\"0\"><\/td>");
document.writeln("  <\/tr>");
document.writeln("<\/table>");
document.writeln(" <\/div>   ");
document.writeln("	  <\/DIV>");
document.writeln("<\/div>");
document.writeln("<div id=\"divMenu\" onMouseOver=\"OnlineOver();\"><img src=\"kefu\/images\/kefu1.gif\" class=\"press\" alt=\"客服热线\"><\/div>");
document.writeln("<\/div>")

//<![CDATA[
var tips; var theTop = 180/*这是默认高度,越大越往下*/; 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;
  }
  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();


function OnlineOver(){
		document.getElementById("divMenu").style.display = "none";
		document.getElementById("divOnline").style.display = "block";
		document.getElementById("divQQbox").style.width = "116px";
	}
	
	function OnlineOut(){
		document.getElementById("divMenu").style.display = "block";
		document.getElementById("divOnline").style.display = "none";

	}

 function hideMsgBox(theEvent){  //theEvent用来传入事件，Firefox的方式
 　       if (theEvent){
   　           var browser=navigator.userAgent;   //取得浏览器属性
   　           if (browser.indexOf("Firefox")>0){  //如果是Firefox
    　　             if (document.getElementById('divOnline').contains(theEvent.relatedTarget)) {  //如果是子元素
     　　                  return;   //结束函式
                        } 
                  } 
                  if (browser.indexOf("MSIE")>0){  //如果是IE
                         if (document.getElementById('divOnline').contains(event.toElement)) {  //如果是子元素
                                return;  //结束函式
                          }
                   }
             }
            /*要执行的操作*/
		document.getElementById("divMenu").style.display = "block";
		document.getElementById("divOnline").style.display = "none";
 }