GxG1 = '<a href="http://chat.53kf.com/company.php?arg=dezhitang2010&style=1" target="_blank"><img src="http://www.dezhitang.com/images/s_666_on.gif" border="0" /></a>';
GxG2 = '<a href="http://chat.53kf.com/company.php?arg=dezhitang2010&style=1" target="_blank"><img src="http://www.dezhitang.com/images/s_666_on.gif" border="0" /></a>';

Double();
function Double() {
    document.write('<div id="Gx1" style="left:-25px;position:absolute;top:300px;">' + GxG1 +'<br><a href="#" onclick="Close();"><img border="0" src="http://www.dezhitang.com/images/close.gif" /></a></div>');
    document.write('<div id="Gx2" style="right:-25px;position:absolute;top:300px;">' + GxG2 +'<br><a href="#" onclick="Close();"><img border="0" src="http://www.dezhitang.com/images/close.gif" /></a></div>');
    var obj1 = document.getElementById('Gx1');
    var obj2 = document.getElementById('Gx2');
    this.Close = function() {
        obj1.style.display = 'none';
        obj2.style.display = 'none';
    };
    var lastScrollY = 0;
    this.Show = function() {
        var diffY;
        if (document.documentElement && document.documentElement.scrollTop) {
            diffY = document.documentElement.scrollTop;
        } else if (document.body) {
            diffY = document.body.scrollTop;
        };
        var percent = .1 * (diffY - lastScrollY);
        if (percent > 0) percent = Math.ceil(percent);
        else percent = Math.floor(percent);
        obj1.style.top = parseInt(obj1.style.top) + percent + "px";
        obj2.style.top = parseInt(obj2.style.top) + percent + "px";
        lastScrollY = lastScrollY + percent;
    };
    window.setInterval("this.Show()", 1);
};
