$(document).ready(function() {
	// About
	$("#hAbout a").toggle(function(){
		$("#about").hide('slow');
	},function(){
		$("#about").show('slow');
	});

	// Feeds
	$("#feed").hide('slow');
	$("#hFeedMore").toggle(function(){
		$("#feed").show('slow');
		$("#hFeedMore").text('Schowaj');
	},function(){
		$("#feed").hide('slow');
		$("#hFeedMore").text('Więcej');
	});
	$("#hFeedMore").click(function(){
		$(this).blur();
	});

	// Search
	$("#hSearch a").toggle(function(){
		$("#search").hide('slow');
	},function(){
		$("#search").show('slow');
	});

	// Categories
	$("#hCategories a").toggle(function(){
		$("#hCategories + ul").hide('slow');
	},function(){
		$("#hCategories + ul").show('slow');
	});

	// Archive
	$("#archive").hide('slow');
	$("#hArchive a").toggle(function(){
		$("#archive").show('slow');
	},function(){
		$("#archive").hide('slow');
	});

	// Blogroll
	$("#linkcat-6 h2 a").toggle(function(){
		$("#linkcat-6 ul").hide('slow');
	},function(){
		$("#linkcat-6 ul").show('slow');
	});

	// Links
	$("#linkcat-2 h2 a").toggle(function(){
		$("#linkcat-2 ul").hide('slow');
	},function(){
		$("#linkcat-2 ul").show('slow');
	});

	// Last photos
	$("#hLastPhotos a").toggle(function(){
		$("#lastPhotos").hide('slow');
	},function(){
		$("#lastPhotos").show('slow');
	});

	// Meta
	$("#meta").hide('slow');
	$("#hMeta a").toggle(function(){
		$("#meta").show('slow');
	},function(){
		$("#meta").hide('slow');
	});

	$("#sidebar h2 a").click(function(){
		$(this).blur();
	});


});
