// Licensed Materials - Property of IBM // // IBM Cognos Products: pps // // (C) Copyright IBM Corp. 2005, 2017 // // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. function doResize() { var innerNice = document.getElementById("innerNice1-tab0"); var innerFrameHeight = parseInt(document.body.offsetHeight); var title = document.getElementById("titleDiv"); //it's necessary to offset the inner div by the dim bar height as we want the scroll bars //to be attached to it, and not the frame. Why? So the title and dimension bar don't move! if (innerNice && innerFrameHeight > 0) { innerFrameHeight -= innerNice.offsetTop; if (title && !topparent.getGlobal("nn7")) innerFrameHeight -= title.offsetHeight; if (innerFrameHeight >= 0) innerNice.style.height = innerFrameHeight + "px"; if (hasDimensionBar) reflow_dimbar(); } }