jQuery(document).ready(function() {
                jQuery('#carousel-kabiny').jcarousel({
                    scroll: 1,
                    wrap: 'circular',
                    initCallback: function(carousel){

                        //sets color or gray picture on mouseover
                        jQuery('#mycarousel li a').bind('mouseover', function() {
                            $(this).find('img.gray').hide();
                            $(this).find('img.color').show();


                        }).mouseout(function(){
                            $(this).find('img.gray').show();
                            $(this).find('img.color').hide();
                            /*jQuery('#logo_carousel li a#'+this.id+' img.gray').show();
                            jQuery('#logo_carousel li a#'+this.id+' img.color').hide();*/
                        });

                        // Pause autoscrolling if the user moves with the cursor over the clip.
                        carousel.clip.hover(function() {
                            carousel.stopAuto();
                        }, function() {
                            carousel.startAuto();
                        });
        }
     });
	jQuery('#carousel-brodziki').jcarousel({
                    scroll: 1,
                    wrap: 'circular',
                    initCallback: function(carousel){

                        //sets color or gray picture on mouseover
                        jQuery('#mycarousel li a').bind('mouseover', function() {
                            $(this).find('img.gray').hide();
                            $(this).find('img.color').show();


                        }).mouseout(function(){
                            $(this).find('img.gray').show();
                            $(this).find('img.color').hide();
                            /*jQuery('#logo_carousel li a#'+this.id+' img.gray').show();
                            jQuery('#logo_carousel li a#'+this.id+' img.color').hide();*/
                        });

                        // Pause autoscrolling if the user moves with the cursor over the clip.
                        carousel.clip.hover(function() {
                            carousel.stopAuto();
                        }, function() {
                            carousel.startAuto();
                        });
        }
     });
	jQuery('#carousel-inne').jcarousel({
                    scroll: 1,
                    wrap: 'circular',
                    initCallback: function(carousel){

                        //sets color or gray picture on mouseover
                        jQuery('#mycarousel li a').bind('mouseover', function() {
                            $(this).find('img.gray').hide();
                            $(this).find('img.color').show();


                        }).mouseout(function(){
                            $(this).find('img.gray').show();
                            $(this).find('img.color').hide();
                            /*jQuery('#logo_carousel li a#'+this.id+' img.gray').show();
                            jQuery('#logo_carousel li a#'+this.id+' img.color').hide();*/
                        });

                        // Pause autoscrolling if the user moves with the cursor over the clip.
                        carousel.clip.hover(function() {
                            carousel.stopAuto();
                        }, function() {
                            carousel.startAuto();
                        });
        }
     });	 
});
