    function iFrameHeight() {  
        var h = 0;  
      
        // Opera  
        if (window.opera)  
        {  
            h = document.getElementById('blockrandom').contentDocument.getElementById('inHeight').offsetHeight + 10;  
            document.getElementById('blockrandom').setAttribute("height",h);  
        }  
      
        // Safari ~ Chrome  
        else if (/WebKit/i.test(navigator.userAgent))  
        {  
            var posVersion = navigator.userAgent.indexOf("WebKit/");  
            var version = navigator.userAgent.substring(posVersion + 7, posVersion + 10);  
            if (parseInt(version) >= 523) // Safari 3+  
            {  
                document.getElementById('blockrandom').style.height = '0px';  
            }  
            else // Safari 1+ or 2+  
            {  
                return document.getElementById('blockrandom').style.height = '152px';  
            }  
            h = document.getElementById('blockrandom').contentDocument.height;  
            document.getElementById('blockrandom').style.height = h + 'px';  
        }  
      
        // IE  
        else if( document.all )  
        {  
            h = document.frames('blockrandom').document.body.scrollHeight;  
            document.all.blockrandom.style.height = h + 10 + 'px';  
        }  
      
        // Misc  
        else  
        {  
            h = document.getElementById('blockrandom').contentDocument.height;  
            document.getElementById('blockrandom').style.height = h + 20 + 'px';  
        }  
    }  



    function iFrameHeight02() {  
        var h2 = 0;  
      
        // Opera  
        if (window.opera)  
        {  
            h2 = document.getElementById('blockrandom02').contentDocument.getElementById('inHeight').offsetHeight + 10;  
            document.getElementById('blockrandom02').setAttribute("height",h2);  
        }  
      
        // Safari ~ Chrome  
        else if (/WebKit/i.test(navigator.userAgent))  
        {  
            var posVersion = navigator.userAgent.indexOf("WebKit/");  
            var version = navigator.userAgent.substring(posVersion + 7, posVersion + 10);  
            if (parseInt(version) >= 523) // Safari 3+  
            {  
                document.getElementById('blockrandom02').style.height = '0px';  
            }  
            else // Safari 1+ or 2+  
            {  
                return document.getElementById('blockrandom02').style.height = '152px';  
            }  
            h2 = document.getElementById('blockrandom02').contentDocument.height;  
            document.getElementById('blockrandom02').style.height = h2 + 'px';  
        }  
      
        // IE  
        else if( document.all )  
        {  
            h2 = document.frames('blockrandom02').document.body.scrollHeight;  
            document.all.blockrandom02.style.height = h2 + 20 + 'px';  
        }  
      
        // Misc  
        else  
        {  
            h2 = document.getElementById('blockrandom02').contentDocument.height;  
            document.getElementById('blockrandom02').style.height = h2 + 20 + 'px';  
        }  
    }  

