function iFrameHeight() {
	var userAgent = window.navigator.userAgent.toLowerCase();	// add 2011/12/07
	var h = 0;

	// Opera
	if (window.opera)
	{
		h = document.getElementById('blockrandom').contentDocument.getElementById('inHeight').offsetHeight;
		document.getElementById('blockrandom').setAttribute("height",h);
	}
	// Chrome 2011/12/07 add
	else if (userAgent.indexOf('chrome') != -1)
	{
		document.getElementById('blockrandom').style.height = '0px';
		h = document.getElementById('blockrandom').contentWindow.document.body.scrollHeight;
		document.getElementById('blockrandom').style.height = h + 'px';
	}
	// 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 = '0';
		}
		h = document.getElementById('blockrandom').contentDocument.height;
		document.getElementById('blockrandom').style.height = h + 'px';
	}

	// IE
	else if( document.all )
	{
		h = document.getElementById('blockrandom').contentWindow.document.body.scrollHeight;
		document.all.blockrandom.style.height = h + 0 + 'px';
	}

	// Misc
	else
	{
		h = document.getElementById('blockrandom').contentWindow.document.body.scrollHeight;
		document.getElementById('blockrandom').style.height = h + 0 + 'px';
	}
}
function SideHeight() {
	var userAgent = window.navigator.userAgent.toLowerCase();	// add 2011/12/07
	var h = 0;

	// Opera
	if (window.opera)
	{
		h = document.getElementById('group_link').contentDocument.getElementById('inHeight').offsetHeight;
		document.getElementById('group_link').setAttribute("height",h);
	}
	// Chrome 2011/12/07 add
	else if (userAgent.indexOf('chrome') != -1)
	{
		document.getElementById('group_link').style.height = '0px';
		h = document.getElementById('group_link').contentWindow.document.body.scrollHeight;
		document.getElementById('group_link').style.height = h + 0 + 'px';
	}
	// 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('group_link').style.height = '0px';
		}
		else // Safari 1+ or 2+
		{
			return document.getElementById('group_link').style.height = '0';
		}
		h = document.getElementById('group_link').contentDocument.height;
		document.getElementById('group_link').style.height = h + 'px';
	}

	// IE
	else if( document.all )
	{
		h = document.getElementById('group_link').contentWindow.document.body.scrollHeight;
		document.all.group_link.style.height = h + 0 + 'px';
	}

	// Misc
	else
	{
		h = document.getElementById('group_link').contentWindow.document.body.scrollHeight;
		document.getElementById('group_link').style.height = h + 0 + 'px';
	}
}


