$.fn.toggleDiv = function() {
	var liList = $(this);
	return liList.each(function(i) {
		var li = $(this);
		var t = $('#toggle'+(i+1));
		
		var id = i;
		li.click(function(){
			var li_ = $(this);
			// vsechno schovat
			$('.toggle').each(function(j) {				
				if (j != id) {	// zakomentovat, pokud by se nemelo i schovavat
					$(this).hide();					
				}				
			});
			t.toggle('slow'); //'fast'
			liList.removeClass('highlight');
			li.addClass('highlight');
		});

		// inicializace na prvni zalozku
		if (i != 0) {
			t.hide();
		} else {
			li.addClass('highlight');
		}
	});
};