var bIsIE = document.all ? true : false;
var bIsFF = !bIsIE && document.getElementById ? true : false;

function resizeFrame(iNumRows)
{
	iNumRows = isNaN(iNumRows) ? 1 : parseInt(iNumRows);
	var iHeight = (32 * iNumRows) + 95 < 400 ? 400 : (32 * iNumRows) + 95;
	var oFrame = bIsIE ? parent.document.all.oLeaderboard : bIsFF ? parent.document.getElementById("oLeaderboard") : null;
	if (oFrame)
	{
		oFrame.style.height = iHeight;
	}
}

