function iFrameHeight() {
    var h = 0;
    var Opera = window.opera ? true : false;
    if (Opera) {
        h = document.getElementById('blockrandom').contentDocument.getElementById('inHeight').offsetHeight + 20;
        document.getElementById('blockrandom').setAttribute("height",h);
    } else if ( !document.all ) {
        h = document.getElementById('blockrandom').contentDocument.height;
        document.getElementById('blockrandom').style.height = h + 60 + 'px';
    } else if( document.all ) {
        h = document.frames('blockrandom').document.body.scrollHeight;
        document.all.blockrandom.style.height = h + 20 + 'px';
    }
 }

