document.write("<div class='QQbox' id='divQQbox' >");

document.write("<div class='Qlist' id='divOnline' onmouseout='hideMsgBox(event);' style='display : none;'>");

document.write("<div class='t'></div>");

document.write("<div class='con'>");

document.write("<h2>在线客服</h2>");

document.write("<ul>");

document.write("<li class=\"odd\"><a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=908c3aa6a36d4887e3b96b0c1b9b7f04c7ad9ca7179c4275f65b0bd138ee85b4\"; target=_blank; onclick=\"var tempSrc=\'http://sighttp.qq.com/wpa.js?rantime=\'+Math.random()+\'&sigkey=908c3aa6a36d4887e3b96b0c1b9b7f04c7ad9ca7179c4275f65b0bd138ee85b4\';var oldscript=document.getElementById(\'testJs\');var newscript=document.createElement(\'script\');newscript.setAttribute(\'type\',\'text/javascript\'); newscript.setAttribute(\'id\', \'testJs\');newscript.setAttribute(\'src\',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;\"><img border=\"0\" SRC=\'http://wpa.qq.com/pa?p=1:1181626490:41\' alt=\"\"></a></li>");

document.write("<li class=\"odd\"><a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=d53b605736b2933435750f947709b606cf453f77cd4fc3061f35558c1050254d\"; target=_blank; onclick=\"var tempSrc=\'http://sighttp.qq.com/wpa.js?rantime=\'+Math.random()+\'&sigkey=d53b605736b2933435750f947709b606cf453f77cd4fc3061f35558c1050254d\';var oldscript=document.getElementById(\'testJs\');var newscript=document.createElement(\'script\');newscript.setAttribute(\'type\',\'text/javascript\'); newscript.setAttribute(\'id\', \'testJs\');newscript.setAttribute(\'src\',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;\"><img border=\"0\" SRC=\'http://wpa.qq.com/pa?p=1:1060911308:41\' alt=\"\"></a></li>");

document.write("<li class=\"odd\"><a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=8397054ee87379ed4ca56a66b0f52d83c025f89384c3b12d37f566623849f3c9\"; target=_blank; onclick=\"var tempSrc='http://sighttp.qq.com/wpa.js?rantime=\'+Math.random()+\'&sigkey=8397054ee87379ed4ca56a66b0f52d83c025f89384c3b12d37f566623849f3c9\';var oldscript=document.getElementById(\'testJs\');var newscript=document.createElement(\'script\');newscript.setAttribute(\'type\',\'text/javascript\'); newscript.setAttribute(\'id\', \'testJs\');newscript.setAttribute(\'src\',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;\"><img border=\"0\" SRC=\'http://wpa.qq.com/pa?p=1:1176244390:41\' alt=\"\"></a></li>");

document.write("<li class=\"odd\"><a href=\"http://sighttp.qq.com/cgi-bin/check?sigkey=e78c52e75d54953a43ccb88eb207bc8f18bfb27b40e11d81ba2e006bc3a3e266\"; target=_blank; onclick=\"var tempSrc='http://sighttp.qq.com/wpa.js?rantime=\'+Math.random()+\'&sigkey=e78c52e75d54953a43ccb88eb207bc8f18bfb27b40e11d81ba2e006bc3a3e266\';var oldscript=document.getElementById(\'testJs\');var newscript=document.createElement(\'script\');newscript.setAttribute(\'type\',\'text/javascript\'); newscript.setAttribute(\'id\', \'testJs\');newscript.setAttribute(\'src\',tempSrc);if(oldscript == null){document.body.appendChild(newscript);}else{oldscript.parentNode.replaceChild(newscript, oldscript);}return false;\"><img border=\"0\" SRC=\'http://wpa.qq.com/pa?p=1:1518802570:41\' alt=\"\"></a></li>");

document.write("</ul>");document.write("</div>");

document.write("<div class='b'></div>");

document.write("</div>");

document.write("<div id='divMenu' onmouseover='OnlineOver();'><img src='qq/qq_1.png' class='press' alt='QQ客服热线'></div>");

document.write("</div>");



//<![CDATA[

var tips; var theTop = 40; var old = theTop;

if(!!window.find){
HTMLElement.prototype.contains = function(B){
return !!(this.compareDocumentPosition(B) & 16)
}
}

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 = "145px";

}



function OnlineOut(){

document.getElementById("divMenu").style.display = "block";

document.getElementById("divOnline").style.display = "none";



}



function hideMsgBox(theEvent){

　 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";

}
