rem: if (window.innerWidth) { var innerWidth = window.innerWidth; var innerHeight = window.innerHeight; } else { var innerWidth = document.body.clientWidth; var innerHeight = document.body.clientHeight; }  
add: var innerWidth = document.body.clientWidth; var innerHeight = tw_getVisibleHeight();  
context:     _getFrameBounds: function() {                if (window.innerWidth) {            var innerWidth = window.innerWidth;            var innerHeight = window.innerHeight;        } else {            var innerWidth = document.body.clientWidth;            var innerHeight = document.body.clientHeight;        }        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/1b391b43a4e6de6fed98a7791ea7f33930cdc56e/Frame.js/clean/src/thinwire/render/web/resources/Frame.js