
var W3CDOM = (document.createElement && document.getElementsByTagName);

window.onload = init;

function init()
{
	if (!W3CDOM) return;

	if (document.getElementById && window.innerHeight)
	{
		var x = window.innerHeight;
		x *= .8;
		document.getElementById('special').style.minHeight = x;
		window.onresize = init;
	}
	if (self.retrieveCookie) retrieveCookie();
	if (self.init2) init2();
	
	
	var x = document.getElementById('navi').getElementsByTagName('a');
	for (var i=0;i<x.length;i++)
	{
		if (x[i] == location.href)
			x[i].className = 'hierbenik';
	}
	if (self.initForm) initForm();
	
}

