        function addEventHandler(target, type, func) {
            if (target.addEventListener)
                target.addEventListener(type, func, false);
            else if (target.attachEvent)
                target.attachEvent("on" + type, func);
            else target["on" + type] = func;
        }

        var advIniTop = 100;
        function move() {
            var layer1 = document.getElementById("Layer1");
            if (layer1) layer1.style.top = advIniTop + document.body.scrollTop || document.documentElement.scrollTop + "100px";
        }
        addEventHandler(window, "scroll", move);

