function initFixedEl(fixElement) {
	if (document.all) {
		var top = 0;
		for (i = 0; i < fixElement.length; i++) {
			fixed[i] = new Array(document.all[fixElement[i]], document.all[fixElement[i]].style.pixelTop + top);
			top += 130; //vyska horniho menu;			
			document.write("<style><!-- #" + document.all[fixElement[i]].id + " { position: absolute; } --></style>\n");
		}
	}
}

function fixedEl(){
	if (document.all) {
		for (var i = 0; i < fixed.length; i++) {
			var obj = fixed[i][0];
			var top = fixed[i][1];
			if (document.documentElement && document.documentElement.scrollTop) {
				top = document.documentElement.scrollTop + top; 
			}
			else {
				top = document.body.scrollTop + top;
			} 
//			if (top > document.body.clientHeight) top = document.body.clientHeight;
			obj.style.pixelTop = top;
		}
	}
}
