function elGet(id)
{
	return document.getElementById(id);
}

function resizeContentArea()
{
	var textContHeight;
	var colHeight;
	if (window.innerHeight)
	{
		colHeight = window.innerHeight;
	}
	else
	{
		colHeight = document.body.clientHeight;
	}
	textContOffsetY = 294;
	textContHeight = document.getElementById('padder').offsetHeight + textContOffsetY + 20;
	if(textContHeight < colHeight) textContHeight = colHeight;
	document.getElementById('leftcolbg').style.height =  textContHeight;
	document.getElementById('rightcolbg').style.height = textContHeight;
}

function navi_hl(el)
{
	if(el.className.indexOf("_hl")> 0)  el.className = el.className.substr(0, (el.className.length-3));
	else el.className = el.className+'_hl';	
}

function goExtPage(url)
{
	window.open(url);
}

function goPage(ui)
{
	document.location='?go=displayPage&ui='+ui;
}