// JavaScript Document

$(document).ready(function(){

	$(".obrazek-clanek a").append("<em></em>");
	
	$(".obrazek-clanek a").hover(function() {
		$(this).find("em").animate({opacity: "show", bottom: "20"}, "slow");
		var hoverText = $(this).attr("title");
	    $(this).find("em").text(hoverText);
	}, function() {
		$(this).find("em").animate({opacity: "hide", bottom: "10"}, "fast");
	});


});
