File size: 1,041 Bytes
07c3cdd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<body onresize="autoResizeScreen()" onload="autoResizeScreen()">
<style type="text/css">
    *html body {
        overflow-y: hidden;
    }
</style>
<iframe name="adminFrame" id="adminFrame" src ="clientSetup" width="99%" height="768" frameborder="0">
    <p>Your browser does not support iframes.</p>
</iframe>
</body>
<script>
    oClientWinSize = getClientWindowSize();
    if ( document.getElementById('pm_submenu') )
        document.getElementById('pm_submenu').style.display = 'none';
    document.documentElement.style.overflowY = 'hidden';

    function autoResizeScreen() {
        oCasesFrame    = document.getElementById('adminFrame');
        oClientWinSize = getClientWindowSize();
        height = oClientWinSize.height-90;
        oCasesFrame.style.height = height;
        oCasesSubFrame = oCasesFrame.contentWindow.document.getElementById('setup-frame');

        if(oCasesSubFrame)
            oCasesSubFrame.style.height = height-5;
        else
            setTimeout('autoResizeScreen()', 2000);
    }
</script>
</html>