// JavaScript Document
// Extend column is an unobtrusive method of ensuring that the content div always extends below the topical navigation div
// The function is loaded using addDOMLoadEvent


function extendContentColumn()
{
	var nav_height = document.getElementById("topical_navigation").offsetHeight;
	var content_height = document.getElementById("content").offsetHeight;
	if ( (content_height - 165) < nav_height )
	{
		// document.body.className = "subPage short_page";
		adjusted_nav_height = nav_height + 100;
		document.getElementById("content").style.paddingBottom = adjusted_nav_height+"px";
	} 
	
	
}



addDOMLoadEvent(function () {
	extendContentColumn();
});
