rem: var outerHeight = innerHeight + (innerHeight - document.body.clientHeight); 
add: var outerHeight = innerHeight + (innerHeight - tw_getVisibleHeight()); 
context:     _getFrameBounds: function() {                var innerWidth = document.body.clientWidth;        var innerHeight = tw_getVisibleHeight();                if (window.outerWidth) {                    var outerWidth = window.outerWidth;            var outerHeight = window.outerHeight;        } else {                            try {                                            this._resizeTimerId = null;                    this._resizeInProgress = true;                window.resizeTo(innerWidth, innerHeight);                var outerWidth = innerWidth + (innerWidth - document.body.clientWidth);                var outerHeight = innerHeight + (innerHeight - document.body.clientHeight);                window.resizeTo(outerWidth, outerHeight);                setTimeout(function() { this._resizeInProgress = false; }.bind(this), 250);            } catch (e) {                this._resizeInProgress = false;                this._resizeTimerId = setTimeout(this._getFrameBounds, 100);                return;            }        }                  this._container.style.height = innerHeight - (this._menu != null ? tw_Dialog.menuBarHeight : 0) + "px";        tw_em.sendViewStateChanged(this._id, "frameSize", innerWidth + "," + innerHeight + "," + outerWidth + "," + outerHeight);    },
meta: 5515	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5515/1ec88d58cca5304294178e329c8348617834fbd3/Frame.js/buggy/src/thinwire/render/web/resources/Frame.js