document.writeln("<div class='QQbox' id='divQQbox' >");
document.writeln("<div class='Qlist' id='divOnline' onmouseout='hideMsgBox(event);' style='display : none;'>");

document.writeln("<table width=\"70\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");
document.writeln("<tr>");
document.writeln("<td width=\"32%\" height=\"25\" align=\"center\"><a href=\"tencent:\/\/message\/?uin=49320519&Site=客户服务&Menu=yes\"><img src=\"images\/qq1.gif\" width=\"19\" height=\"19\" border=\"0\"><\/a><\/td>");
document.writeln("<td width=\"68%\" align=\"left\"><a href=\"tencent:\/\/message\/?uin=49320519&Site=客户服务&Menu=yes\">客户服务<\/a><\/td>");
document.writeln("<\/tr>");
document.writeln("<tr>");
document.writeln("<td width=\"32%\" height=\"25\" align=\"center\"><a href=\"tencent:\/\/message\/?uin=86484627&Site=销售咨询&Menu=yes\"><img src=\"images\/qq1.gif\" width=\"19\" height=\"19\" border=\"0\"><\/a><\/td>");
document.writeln("<td width=\"68%\" align=\"left\"><a href=\"tencent:\/\/message\/?uin=86484627&Site=销售咨询&Menu=yes\">销售咨询<\/a><\/td>");
document.writeln("<\/tr>");
document.writeln("<tr>");
document.writeln("<td height=\"25\" align=\"center\"><a href=\"tencent:\/\/message\/?uin=764190236&Site=技术服务&Menu=yes\"><img src=\"images\/qq1.gif\" width=\"19\" height=\"19\" border=\"0\"><\/a><\/td>");
document.writeln("<td align=\"left\"><a href=\"tencent:\/\/message\/?uin=764190236&Site=业务咨询&Menu=yes\">技术服务<\/a><\/td>");
document.writeln("<\/tr>");
document.writeln("<tr>");
document.writeln("<td height=\"25\" align=\"center\"><a href=\"tencent:\/\/message\/?uin=598423554&Site=客户投诉&Menu=yes\"><img src=\"images\/qq1.gif\" width=\"19\" height=\"19\" border=\"0\"><\/a><\/td>");
document.writeln("<td align=\"left\"><a href=\"tencent:\/\/message\/?uin=598423554&Site=客户投诉&Menu=yes\">客户投诉<\/a><\/td>");
document.writeln("<\/tr>");
document.writeln("<\/table>")


document.writeln("</div>");

document.writeln("<div id='divMenu' onmouseover='OnlineOver();'><img src='images/qq_pink.gif' class='press'></div>");

document.writeln("</div>");

var tips; var theTop = 20; var old = theTop;
function initFloatTips() {
tips = document.getElementById('divQQbox');
moveTips();
};
function moveTips() {
var tt=10;
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+16;
if (pos < theTop) pos = theTop;
if (pos != old) {
tips.style.top = pos+"px";
tt=10;
}
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 = "130px";
}

function OnlineOut(){
document.getElementById("divMenu").style.display = "block";
document.getElementById("divOnline").style.display = "none";
}

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 hideMsgBox(theEvent){
if (theEvent){
var browser=navigator.userAgent;
if (browser.indexOf("Firefox")>0){		
  if (document.getElementById("divOnline").contains(theEvent.relatedTarget)) {
	return
  }
} 
if (browser.indexOf("MSIE")>0){
if (document.getElementById('divOnline').contains(event.toElement)) {
return;
}
}
}
document.getElementById("divMenu").style.display = "block";
document.getElementById("divOnline").style.display = "none";
}
