rem: oTop.fire(E.MOVED_FROM_TOP); this.fire(E.MOVED_TO_TOP); 
add: oTop.fireEvent(E.MOVED_FROM_TOP); this.fireEvent(E.MOVED_TO_TOP); 
context:         bringToTop : function() {            function zIndexComparator(o1, o2) {                var z1 = o1.get('zindex'),                    z2 = o2.get('zindex');                if (z1 > z2) {                    return -1;                } else if (z1 < z2) {                    return 1;                } else {                    return 0;                }            }            // TODO: optimize - sort during insertion? Always keep sorted array?            var sorted = [];            for (var oid in _instances) {                if (YAHOO.lang.hasOwnProperty(_instances, oid)) {                    sorted.push(_instances[oid]);                }            }            if (sorted.length > 1) {                sorted.sort(zIndexComparator);                var oTop = sorted[0],                    oNext = sorted[1],                    bBump = false;                if (oTop !== this) {                    bBump = true;                } else if (oNext.get('zindex') === this.get('zindex')) {                    bBump = true;                }                if (bBump) {                    var E = Overlay.EVENTS;                    // TODO: Should "from", be able to stop "to"?                    if (oTop.fireEvent(E.BEFORE_MOVED_FROM_TOP) !== false && this.fireEvent(E.BEFORE_MOVED_TO_TOP) !== false) {                        this.set('zindex', oTop.get('zindex') + 1);                        oTop.fire(E.MOVED_FROM_TOP);                        this.fire(E.MOVED_TO_TOP);                    }                }            }        },
meta: 4829	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4829/c84d662a08b93458e7de13f2119624eb4d9a3463/Overlay.js/clean/widget/container/src/js/Overlay.js