





document.writeln('<link href="http://emanage.koocall.com/thcl/btn5.css" rel="stylesheet" type="text/css" />');
document.writeln('<div id="float_div_1283453863950_1915221752" style="position: absolute;z-index:auto;">');
document.writeln('<div class="koocall_btn_5_01">\
    <div class="koocall_btn_5_02">\
        <div class="koocall_btn_5_03" onclick="javascript:DivHid(\'float_div_1283453863950_1915221752\')"><span></span></div></div>\
    <div class="koocall_btn_5_04">\
        <div class="koocall_btn_5_05"></div>\
        <div class="koocall_btn_5_06">\
            <div class="koocall_btn_5_07" title="福天下祈福用品专营 邀请与您免费电话沟通">\
            <span class="koocall_btn_5_08">福天下祈福用品专营</span> <br/>邀请与您免费电话沟通</div>\
            <div class="koocall_btn_5_09">\
                <a href="http://www.koocall.com/qyxx/thcl.jsp?id=1497969" target="_blank"><span class="koocall_btn_5_10"></span></a>\
                <div class="koocall_btn_5_11" onclick="javascript:DivHid(\'float_div_1283453863950_1915221752\')"></div></div>\
            <div class="koocall_btn_5_12">\
                <a href="http://www.koocall.com" target="_blank"><span class="koocall_btn_5_13"></span></a></div>\
        </div></div>\
    <div class="koocall_btn_5_14"></div>\
</div>');
document.writeln('</div>');

if(typeof(DivHid) == 'undefined'){
    window.DivHid = function(id){
        if(document.getElementById(id))
            document.getElementById(id).style.display = 'none';
    }
}

(function(){
    var dom = (document.compatMode == 'CSS1Compat' ? document.documentElement : document.body);
    var div = document.getElementById('float_div_1283453863950_1915221752');
    div.style.left = Math.floor(dom.clientWidth-div.offsetWidth)/2 + 'px';
    div.style.top = dom.scrollTop+Math.floor((dom.clientHeight-div.offsetHeight)/2) + 'px';
    div.style.display = 'none';
    setTimeout(function(){document.getElementById("float_div_1283453863950_1915221752").style.display="";}, 300000);
})();
if(typeof DivDrag == 'undefined'){
window.DivDrag = {
    obj : null,
    init : function(o, oRoot){
        o.onmousedown    = DivDrag.start;
        o.root = oRoot && oRoot != null ? oRoot : o ;
        if (isNaN(parseInt(o.root.style.left))) o.root.style.left   = "0px";
        if (isNaN(parseInt(o.root.style.top))) o.root.style.top    = "0px";
    },
    start : function(e){
        var o = DivDrag.obj = this;
        e = DivDrag.fixE(e);
        var y = parseInt(o.root.style.top);
        var x = parseInt(o.root.style.left);
        o.lastMouseX    = e.clientX;
        o.lastMouseY    = e.clientY;
        document.onmousemove    = DivDrag.drag;
        document.onmouseup      = DivDrag.end;
        if(o.id)DivFloat.remove(o.id);
        return false;
    },
    drag : function(e){
        e = DivDrag.fixE(e);
        var o = DivDrag.obj;
        var ey    = e.clientY;
        var ex    = e.clientX;
        var y = parseInt(o.root.style.top);
        var x = parseInt(o.root.style.left);
        var nx, ny;
        nx = x + ((ex - o.lastMouseX)) ;
        ny = y + ((ey - o.lastMouseY)) ;
        o.root.style["left"] = nx + "px";
        o.root.style["top"] = ny + "px";
        o.lastMouseX    = ex;
        o.lastMouseY    = ey;
        return false;
    },
    end : function(){
        document.onmousemove = null;
        document.onmouseup   = null;
        DivDrag.obj = null;
        return false;
    },
    fixE : function(e){
        if (typeof e == 'undefined') e = window.event;
        if (typeof e.layerX == 'undefined') e.layerX = e.offsetX;
        if (typeof e.layerY == 'undefined') e.layerY = e.offsetY;
        return e;
    }
};
}
DivDrag.init(document.getElementById('float_div_1283453863950_1915221752'));


if(typeof(DivFloat) == 'undefined'){
window.DivFloat = {
    interval: 0,
    divs: {},
    dom: (document.compatMode == 'CSS1Compat' ? document.documentElement : document.body),
    render : function(){
        for(var id in DivFloat.divs){
            var div = document.getElementById(id);
            if(div.style.display == 'none') continue;
            var top = (DivFloat.divs[id] == undefined)? -1 : DivFloat.divs[id]
            y = top;
            if(top == -2){
                y = Math.floor((DivFloat.dom.clientHeight-div.offsetHeight)/2);
            }else if(top < 0){
                y = DivFloat.dom.clientHeight-div.offsetHeight;
            }
            div.style.top = DivFloat.dom.scrollTop + y + 'px';
        }
    },
    add: function(id, top){
        DivFloat.divs[id] = top;
        return this;
    },
    remove:function(id){
        delete DivFloat.divs[id];
    },
    startFloat:function(){
        DivFloat.interval = setInterval(DivFloat.render, 10);
        return this;
    },
    stopFloat:function(){
         clearInterval(DivFloat.interval);
         return this;
    }
};
DivFloat.startFloat();
DivFloat.add('float_div_1283453863950_1915221752', -2);
}else{
DivFloat.add('float_div_1283453863950_1915221752', -2);
}
