	  $(document).ready(function(){
			$("#nav-one li").hover(
				function(){ $("ul", this).fadeIn("fast"); }, 
				function() { } 
			);
	  	if (document.all) {
				$("#nav-one li").hoverClass ("sfHover");
			}
	  });
	  
		$.fn.hoverClass = function(c) {
			return this.each(function(){
				$(this).hover( 
					function() { $(this).addClass(c);  },
					function() { $(this).removeClass(c); }
				);
			});
		};	  

$(document).ready(function() {
			
      $('#ss').slideshow({
				timeout: 4000,
				type: 'sequence',
				pauselink: 'pause1',
				pausecallback: function(self){
					self.html('pokračovat')
				},
				playcallback: function(self){
					self.html('pozastavit');
				}
			});	
 
});

$(document).ready(function(){	
$('#slider').cycle({ 
    fx:     'fade', 
    speed:   300, 
    timeout: 1500, 
    next:   '#s3', 
    pause:   1 
});
});
