// Add a control to the bottom of the page so that the page can figure out its size
function resizeFrame()
{
	// Determine if the control is already there
	var ele = document.getElementById("bottom");

	// if not, then add it
	if (ele == null)
	{
		var ctrlLast = document.createElement("div");
		ctrlLast.id="bottom";
		document.body.appendChild(ctrlLast);
		ele = ctrlLast;
	}
	
	// Adjust the height of the Frame for this page based on the location of the last control
	var bodyHeight = ele.getAttribute("offsetTop");
	var CFrame = window.parent.window.document.getElementById("ContentFrame");
	if (CFrame != null)
	{
	   CFrame.setAttribute("height",bodyHeight);
	}
}	