document.write("<div class='QQbox' id='divQQbox' >");



document.write("<div class='Qlist' id='divOnline' onmouseout='hideMsgBox(event);' style='display : none;'>");



document.write("<div class='con'>");







document.write("<ul>");







document.write("<li><a href=' http://wpa.qq.com/msgrd?V=1&Uin=1341296050&Site=̫&Menu=yes' target='_blank'>网络客服：<img style='float:left' src=' http://wpa.qq.com/pa?p=1:1341296050:1'  border='0' alt='' /></a></li>");



document.write("<li style='border:0px'><a href=' http://wpa.qq.com/msgrd?V=1&Uin=614664767&Site=̫&Menu=yes' target='_blank'>招商加盟：<img style='float:left' src=' http://wpa.qq.com/pa?p=1:614664767:1'  border='0' alt='' /></a></li>");



document.write("<li style='border:0px'><a href=' http://wpa.qq.com/msgrd?V=1&Uin=2451475088&Site=̫&Menu=yes' target='_blank'>招商加盟：<img style='float:left' src=' http://wpa.qq.com/pa?p=1:2451475088:1'  border='0' alt='' /></a></li>");



document.write("</ul>");







document.write("</div>");











document.write("</div>");







document.write("<div id='divMenu' onmouseover='OnlineOver();'><img src='/images/qq_10.gif' class='press' alt=''></div>");





document.write("<div id='divMenuuu'></div>");



document.write("</div>");













//<![CDATA[







var tips; var theTop = 105; var old = theTop; var tipss;







function initFloatTips() {







tips = document.getElementById('divQQbox');



tipss = document.getElementById('divMenuuu');



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";



tipss.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 = "170px";

}

function OnlineOut(){

document.getElementById("divMenu").style.display = "block";

document.getElementById("divOnline").style.display = "none";

}

if(typeof(HTMLElement)!="undefined")    //firefoxcontains()ie²

{   

     HTMLElement.prototype.contains=function(obj)   

      {   

          while(obj!=null&&typeof(obj.tagName)!="undefind"){ //ͨѭԱжǲobjĸԪ



   if(obj==this) return true;   

   obj=obj.parentNode;

   }   

          return false;   

      };   

}  

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";





}


