// JavaScript Document
GxG1 = '<a href="125.htm" target="_blank"><img src="images/shtjn0109.jpg" width="80" height="200" alt="" border="0" /></a>';
//GxG2 = '<a href="hxgc.htm" target="_blank"><img src="images/hxgc.jpg" width="80" height="200" alt="" border="0" /></a>';
Double();
function Double() {
    document.write('<div id="Gx1" style="left:5px;position:absolute;top:30px;"><a href="#" onclick="Close();"><img border="0" width="80" height="20" src=" images/close.gif" /></a><br> ' + GxG1 +'  </div>');
    //document.write('<div id="Gx2" style="right:5px;position:absolute;top:30px;"><a href="#" onclick="Close();"><img border="0" width="80" height="20" src=" images/close.gif" /></a><br>' + GxG2 +'</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);
};
