$(document).ready(function(){						   
	$('.prace-nahled img').hover(
	function(){
		$(this).stop().fadeTo('slow',0.6);
	},
	function(){
		$(this).stop().fadeTo('slow',1);
	});
});
			$(document).ready(function(){
				$('.prace-thumb.popis').hover(function(){
					$(".cover", this).stop().animate({top:'165px'},{queue:false,duration:160});
				}, function() {
					$(".cover", this).stop().animate({top:'220px'},{queue:false,duration:200});
				});
			});


$(function(){
  $('.email').each(function(i){
    var protectedEmail = $(this).html();
    protectedEmail = protectedEmail.replace(" [at] ","@");
    protectedEmail = protectedEmail.replace(" [dot] ",".");
    $(this)
      .html(protectedEmail)
      .replaceWith("<a href=\"mailto:"+$(this).text()+"\">"+$(this).text()+"</a>");
  }); 
});

