 /*------------------------Novinky---------------------------------------------*/

    $(document).ready(function() 
    {

      $("#new_obsah").show();
      $("#ozn_obsah").hide();
          
      $("#ozn").click(function () {
        $(this).css("top","20px");
        $(this).css("font","bold 17px Time New Roman");
        $(this).css("color","#4D5763");
        $(this).css("z-index","1001");
        $("#new_obsah").hide();
        $("#ozn_obsah").show(); 
        $("#new").css("top","30px");
        $("#new").css("font","bold 12px Time New Roman");
        $("#new").css("color","#A4A2A5");
        $("#new").css("z-index","1000");  
      });
      
      $("#new").click(function () {
        $(this).css("top","20px");
        $(this).css("font","bold 17px Time New Roman");
        $(this).css("color","#4D5763");
        $(this).css("z-index","1001");
        $("#new_obsah").show();
        $("#ozn_obsah").hide();
        $("#ozn").css("top","30px");
        $("#ozn").css("font","bold 12px Time New Roman");
        $("#ozn").css("color","#A4A2A5");
        $("#ozn").css("z-index","1000");   
      });
        			
		});
		
/*----------------------------------GALERIE-----------------------------------*/
		
  hs.graphicsDir = '/styl/graphics/';
	hs.align = 'center';
	hs.transitions = ['expand', 'crossfade'];
	hs.wrapperClassName = 'dark borderless floating-caption';
	hs.fadeInOut = true;
	hs.dimmingOpacity = .75;

	// Add the controlbar
	if (hs.addSlideshow) hs.addSlideshow({
		//slideshowGroup: 'group1',
		interval: 5000,
		repeat: false,
		useControls: true,
		fixedControls: 'fit',
		overlayOptions: {
			opacity: .6,
			position: 'bottom center',
			hideOnMouseOut: true
		}
	});
