GxG1 = '<a href="http://www.panavoue.com/" target="_blank"><img src="images/ad_100x300.jpg" width="100" height="300" alt="" border="0" /></a>';
GxG2 = '<a href="http://www.panavoue.com/" target="_blank"><img src="images/ad_100x3002.jpg" width="100" height="300" alt="" border="0" /></a>';

Double();
function Double() {
    document.write('<div id="Gx1" style="left:5px;position:absolute;top:69px;">' + GxG1 +'<br><a href="#" onclick="Close();"><img border="0" src="images/close.gif" /></a></div>');
    document.write('<div id="Gx2" style="right:5px;position:absolute;top:69px;">' + GxG2 +'<br><a href="#" onclick="Close();"><img border="0" src="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);
};
