function iFrameHeight() {
var h = 0;
var mark = '';
if ( !document.all ) {
h = document.getElementById('blockrandom').contentDocument.height;
document.getElementById('blockrandom').style.height = h + 60 + 'px';
mark = document.getElementById('blockrandom').contentDocument.location.hash;
if (mark) {
document.getElementById('blockrandom').contentDocument.location.hash = mark;
}
} else if( document.all ) {
h = document.frames('blockrandom').document.body.scrollHeight;
document.all.blockrandom.style.height = h + 20 + 'px';
mark = document.frames('blockrandom').window.location.hash;
if (mark) {
document.frames('blockrandom').window.location.hash = mark;
}
}
}