/**
 * @author Alexander Farkas
 * v. 1.1
 */

$(document).ready(function(){ 
	$("ul.sf-menu").superfish({ 
		pathClass:  'current',
		hoverClass: 'sfHover',
		autoArrows: false 
	}); 

	$(".distri-icons img").hoverIntent(function() {
		$(this).next("span").animate({opacity: "show", top: "-75"}, "slow");
	}, function() {
		$(this).next("span").animate({opacity: "hide", top: "-85"}, "fast");
	});
	
	$(".bt img").hover(function() {
		
		var h = $(this).attr("src").replace(".gif",'hover.gif');
		$(this).attr({ src:h });
	}, function (oldH) {
		var d = $(this).attr("src").replace("hover.gif",'.gif');
		$(this).attr({ src:d });
	});


});
