(function($) {
	$(document).ready(function() {
		$('#papagay')
			.sprite({fps: 9, no_of_frames: 3})
			.spRandom({top: 50, bottom: 200, left: 850, right: 50})
			.active();
		$('#airship')
			.sprite({fps: 0, no_of_frames: 1})
			// pro povolení pohybu vzducholodě odkomentujte řádek níže
      .spRandom({top: 100, bottom: 200, left: 650, right: 651})
			.active();
		$('#clouds').pan({fps: 30, speed: 0.7, dir: 'left', depth: 10});
		$('#clouds').spRelSpeed(8);
		$('#airship').hover(function(){
			$('#airship span').fadeIn('slow');
		}, function(){
			$('#airship span').fadeOut('slow');
		});
		
		$('#topPanel #slider ul').cycle({ 
			fx:     'fade', 
			speed:  'fast', 
			timeout: 5000, 
			next:   '.next', 
			prev:   '.prev' 
		});
		
	});
})(jQuery);