// zebra tabulka
function zebra_ini () {
	var tables = document.getElementsByTagName("table");
	for (var i = 0; i < tables.length; i++) {
		if (tables[i].className.match(/zebra/)) {
			zebra(tables[i]);
		}
	}
}
function zebra (table) {
	var current = "lichy";
	var trs = table.getElementsByTagName("tr");
	for (var i = 0; i < trs.length; i++) {
		trs[i].className += " " + current;
		current = current == "sudy" ? "lichy" : "sudy";
	}
}


window.addEvent('domready', function() {
	var mySlide = new Fx.Slide('obsah', {mode: 'horizontal', duration: 1000});
	mySlide.hide();
	mySlide.slideIn();
});


var box = {};
	window.addEvent('domready', function(){
	box = new MultiBox('mb', {descClassName: 'multiBoxDesc'});
});

