	$(function() {
		// set opacity to nill on page load
		$("ul#menu span").css("opacity","0");
		// on mouse over
		$("ul#menu span").hover(function () {
			// animate opacity to full
			$(this).stop().animate({opacity: 1}, "medium");
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
	});
	
// Animacja logotypów klientów
	$(function() {
		// set opacity to nill on page load
		$("ul#klienci1 span").css("opacity","0");
		// on mouse over
		$("ul#klienci1 span").hover(function () {
			// animate opacity to full
			$(this).stop().animate({opacity: 1}, "medium");
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
	});
	$(function() {
		// set opacity to nill on page load
		$("ul#klienci2 span").css("opacity","0");
		// on mouse over
		$("ul#klienci2 span").hover(function () {
			// animate opacity to full
			$(this).stop().animate({opacity: 1}, "medium");
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
	});
	$(function() {
		// set opacity to nill on page load
		$("ul#klienci3 span").css("opacity","0");
		// on mouse over
		$("ul#klienci3 span").hover(function () {
			// animate opacity to full
			$(this).stop().animate({opacity: 1}, "medium");
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
	});
	$(function() {
		// set opacity to nill on page load
		$("ul#klienci4 span").css("opacity","0");
		// on mouse over
		$("ul#klienci4 span").hover(function () {
			// animate opacity to full
			$(this).stop().animate({opacity: 1}, "medium");
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
	});
	$(function() {
		// set opacity to nill on page load
		$("ul#klienci5 span").css("opacity","0");
		// on mouse over
		$("ul#klienci5 span").hover(function () {
			// animate opacity to full
			$(this).stop().animate({opacity: 1}, "medium");
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
	});
	$(function() {
		// set opacity to nill on page load
		$("ul#klienci6 span").css("opacity","0");
		// on mouse over
		$("ul#klienci6 span").hover(function () {
			// animate opacity to full
			$(this).stop().animate({opacity: 1}, "medium");
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
	});
	$(function() {
		// set opacity to nill on page load
		$("ul#klienci7 span").css("opacity","0");
		// on mouse over
		$("ul#klienci7 span").hover(function () {
			// animate opacity to full
			$(this).stop().animate({opacity: 1}, "medium");
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
	});
	$(function() {
		// set opacity to nill on page load
		$("ul#nagrody1 span").css("opacity","0");
		// on mouse over
		$("ul#nagrody1 span").hover(function () {
			// animate opacity to full
			$(this).stop().animate({opacity: 1}, "medium");
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
	});
	$(function() {
		// set opacity to nill on page load
		$("ul#nagrody2 span").css("opacity","0");
		// on mouse over
		$("ul#nagrody2 span").hover(function () {
			// animate opacity to full
			$(this).stop().animate({opacity: 1}, "medium");
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
	});
	$(function() {
		// set opacity to nill on page load
		$("ul#nagrody3 span").css("opacity","0");
		// on mouse over
		$("ul#nagrody3 span").hover(function () {
			// animate opacity to full
			$(this).stop().animate({opacity: 1}, "medium");
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
	});
	$(function() {
		// set opacity to nill on page load
		$("ul#nagrody4 span").css("opacity","0");
		// on mouse over
		$("ul#nagrody4 span").hover(function () {
			// animate opacity to full
			$(this).stop().animate({opacity: 1}, "medium");
		},
		// on mouse out
		function () {
			// animate opacity to nill
			$(this).stop().animate({
				opacity: 0
			}, "slow");
		});
	});

// Animacja logotypów klientów na str. glównej
	$(document).ready(
				function(){
					$('ul#klienci_glowna').innerfade({
						speed: 1000,
						timeout: 5000,
						type: 'sequence',
						containerheight: '75px'
					});
			});  
	
// Plywajace menu

var name = "#floatMenu";  
var menuYloc = null;  
   
 $(document).ready(function(){
    menuYloc = parseInt($(name).css("top").substring(0,$(name).css("top").indexOf("px"))) 
	//menuYloc = parseInt($(name).offset().top);
     $(window).scroll(function () {   
         var offset = (menuYloc+$(document).scrollTop()+"px");  
         $(name).animate({top:offset},{duration:500,queue:false});  
     });  
 }); 
 