Adjust dhtmlxWindows size after attached URL content height?

Hello, I am trying to set the window height after the content height inside the window:

      function setWinformDimensions() {
           var scrOfX = 0, scrOfY = 0;

           if(typeof(window.pageYOffset) == 'number') {
                //Netscape compliant
                scrOfY = window.pageYOffset;
                scrOfX = window.pageXOffset;
           }
           else if (document.body && (document.body.scrollLeft || document.body.scrollTop)) {
                //DOM compliant
                scrOfY = document.body.scrollTop;
                scrOfX = document.body.scrollLeft;
           }
           else if (document.documentElement && (document.documentElement.scrollLeft || document.documentElement.scrollTop)) {
                //IE6 standards compliant mode
                scrOfY = document.documentElement.scrollTop;
                scrOfX = document.documentElement.scrollLeft;
           }

           scrollHeight = scrOfY;
           scrollWidth = scrOfX;
           formHeight = document.body.clientHeight + scrollHeight;
           formWidth = document.body.clientWidth;

// scrollHeight gives me 0 as value in IE8+9, FF3 and Opera

           parent.winformMain.window('winformMain_fsm_issueadded').setDimension(500, formHeight);
      }

The function is then called on onLoad in my attached URL page. But since I cannot seem to get the vertical scroll height it is not possible to set the actual height.

Do you have any ideas?

Hello,

could you attach a complete demo ?

Netscape Navigator will cease on Saturday How Sad is it? I am very fond of Netscape Navigator but it is ending on 1st March. Anyone Know any other browsers that are any good?

Is Netscape browser still a viable option with all the new browsers out there? Lots of people talk about Chrome and Safari and Firefox. What happened to Netscape? They used to be at or near the top of the list of good browsers, and it just seems like they’ve dropped off the face of the earth.