function onInit()
{
	checkDimensions();

	var highlight = _GET("highlight");
	if (highlight)
	{
		x = document.getElementById("content");
		highlightText(highlight, "highlighted", x);
	}
}

function checkDimensions()
{
	if (!window.a && document.getElementById("leftCol") != null)
	{
		var dim = getScreenDimensions();
		if (dim.availHeight < 800)
		{
			document.getElementById("leftCol").style.position = "absolute";
			document.getElementById("rups").style.position = "absolute";
			document.getElementById("rightCol").style.position = "absolute";
			document.getElementById("header").style.position = "absolute";
		}
		else if (document.getElementById("leftCol").style.position == "absolute")
		{
			document.getElementById("leftCol").style.position = "fixed";
			document.getElementById("rups").style.position = "fixed";
			document.getElementById("rightCol").style.position = "fixed";
			document.getElementById("header").style.position = "fixed";
		}
	}
}
