function GetHeight(divid)
{
	itemheight = document.getElementById(divid).offsetHeight;
	return itemheight;
  }
  
function setfoot()
{	
	footposition = GetHeight('navigate') + GetHeight('content') + GetHeight('top');
	leftid = document.getElementById('leftside');
	rightid = document.getElementById('rightside');
	if(footposition<600)
	{
		footposition=600;
		}
	leftid.style.height = footposition + 'px';
	rightid.style.height = footposition + 'px';
	}

function GetTOC()
{
	var toc = document.getElementById('toc');
	if(window.event)
	{
		toc.style.top = window.event.offsetY + 'px';		
	}
	else
	{
		toc.style.position='fixed'
	}
	
  }

function expandThis(container)
{
	container.style.height = 'auto';
  }



function shrinkThis(container)
{	
	
	container.style.height = '1.2em';
	
}
  
function bootup()
{
	setfoot();
	window.onresize = setfoot;
  }