‘); doc.shut(); } } this.iframeload = perform () { var iframe = doc.getElementById(iframeId); iframe.model.show = ”; setTimeout(perform () { setIframeHeight(initialResizeCallback); }, 20); } perform getDocHeight(doc) { var contentDiv = doc.getElementById(“iframeContent”); var docHeight = 0; if(contentDiv){ docHeight = Math.max( contentDiv.scrollHeight, contentDiv.offsetHeight, contentDiv.clientHeight ); } return docHeight; } perform setIframeHeight(resizeCallback) { var iframeDoc, iframe = doc.getElementById(iframeId); iframeDoc = ((iframe.contentWindow && iframe.contentWindow.doc) || iframe.contentDocument); if (iframeDoc) { var h = getDocHeight(iframeDoc); if (h && h != 0) { iframe.model.top = parseInt(h) + ‘px’; if(typeof resizeCallback == “perform”) { resizeCallback(iframeId); } } else if (nTries