	function iFrameHeight() {
		var h = 0;
		
		// Opera
		if (window.opera)
		{
			h = document.getElementById('blockrandom').contentDocument.getElementById('inHeight').offsetHeight + 20;
			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';
		}

		// FireFox
		else if (navigator.userAgent.indexOf("Firefox") != -1)
		{
			h = document.getElementById('blockrandom').contentDocument.getElementById('inHeight').offsetHeight + 20;
			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 + 20 + 'px';
		}
		
		// Misc
		else
		{
			h = document.getElementById('blockrandom').contentDocument.height; alert(h);
			document.getElementById('blockrandom').style.height = h + 60 + 'px';
		}
	}

