var getFFVersion = navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]
var FFextraHeight = getFFVersion>=0.1? 16 : 0  // extra height in px to add to iframe in FireFox 1.0+ browsers

function dynIFrameSize(f)
{

	var docHeight;
	if (f && !window.opera)
	{
		f.style.display = "block"; // begin resizing iframe
		if (f.document && f.document.body.scrollHeight)
			docHeight = f.contentWindow.document.body.scrollHeight;
		else if (f.contentDocument && f.contentDocument.body.offsetHeight)
			docHeight = f.contentDocument.body.offsetHeight;
		docHeight = Math.max(docHeight, document.getElementById('sidebar').clientHeight);
		f.height = docHeight + 80;
		document.getElementById('content').style.height = f.height + 'px';
    }
}

function initHeight()
{
	//document.getElementById('content').style.height = document.getElementById('sidebar').clientHeight + 'px';
	//dynIFrameSize(document.getElementById('help_frame'));
}

function initHeight2()
{
	document.getElementById('sidebar').style.height = document.getElementById('content').clientHeight + 'px';
}
