/*$(document).ready(function () {
    $('div.container_slider').click(function () {
	$('ul.the_menu_slider').slideToggle('medium');
    });
});


$(document).ready(function () {
    $('div.container_slider2').click(function () {
	$('ul.the_menu_slider2').slideToggle('medium');
	
    });
});*/
/*$('#fadeOutAndIn').click( function() { $('#myText').fadeOut('fast').delay(2000).fadeIn('slow'); } );
}*/ 

/*$(document).ready(function() {
  $('div.container_slider').delay({
   delay: 500,
   event: 'keyup',
   fn: function(){
    alert(this.value);
   })
  });
 }*/
/*$(document).ready(function () {
$('div.container_slider').click( function() { $('ul.the_menu_slider').fadeOut('fast').delay(2000).fadeIn('slow'); } );
							}	*/	
/*$(document).ready(function () {	
    $('div.container_slider').stop(true, true).click(function () {
	$('ul.the_menu_slider').stop(true, true).slideToggle('medium');
    });
});


$(document).ready(function () {
    $('div.container_slider2').stop(true, true).click(function () {
	$('ul.the_menu_slider2').stop(true, true).slideToggle('medium');
    });
});*/
// What is $(document).ready ? See: http://flowplayer.org/tools/documentation/basics.html#document_ready
/*$(document).ready(function() {

// heeeeeeeeeeere we go.
$("#chained").scrollable({circular: true, mousewheel: true}).navigator().autoscroll({
	interval: 800		
});	
});*/


/*$(function() {         
    // initialize scrollable  
    var api = $("#teaser").scrollable({api:true,items:'#teaserItems',next:'#forward',prev:'#backward',size:1,loop:true}).autoscroll({autoplay:true,interval:3000,autopause:true,steps:1,api:false});
});*/









$(document).ready(function () {
$("div.container_slider2").click(       
function() {         
$("ul.the_menu_slider2").stop(true, true).show("fast");
        }
 );
});

$(document).ready(function () {
$("div.container_slider2").mouseleave(       
function() {         
$("ul.the_menu_slider2").stop(true, true).hide("medium");
        }
 );
});

$(document).ready(function () {
$("div.container_slider").click(       
function() {         
$("ul.the_menu_slider").stop(true, true).show("fast");
        }
 );
});

$(document).ready(function () {
$("div.container_slider").mouseleave(       
function() {         
$("ul.the_menu_slider").stop(true, true).hide("medium");
        }
 );
});


$(document).ready(function () {
$("div.container_slider3").click(       
function() {         
$("ul.the_menu_slider3").stop(true, true).show("fast");
        }
 );
});

$(document).ready(function () {
$("div.container_slider3").mouseleave(       
function() {         
$("ul.the_menu_slider3").stop(true, true).hide("medium");
        }
 );
});



/*
$("#parent-element").mouseenter(
        
function() {
            
$("#child-element").show("slow");
        }
   
 );


$("#child-element").mouseleave(
        
function() {
            
$(this).hide("slow");
        }
   
 );

*/

/*stopka*/
$(document).ready(function(){
	
//Set default open/close settings
$('.content_slider_footer').hide(); //Hide/close all containers
$('.head_slider_footer:first').addClass('active').next().show(); //Add "active" class to first trigger, then show/open the immediate next container

//On Click
$('.head_slider_footer').click(function(){
	if( $(this).next().is(':hidden') ) { //If immediate next container is closed...
		$('.head_slider_footer').removeClass('active').next().slideUp(); //Remove all .head_slider_footer classes and slide up the immediate next container
		$(this).toggleClass('active').next().slideDown(); //Add .head_slider_footer class to clicked trigger and slide down the immediate next container
	}
	return false; //Prevent the browser jump to the link anchor
});

});
/*jQuery.fn.fadeToggle = function(speed, easing, callback) {
  return this.animate({opacity: 'toggle'}, speed, easing, callback);
};

$(document).ready(function() {
  $('div.container_slider2').click(function() {
 $(this).next().fadeToggle('slow');
  });
});*/

/*$(".ribbon").not(":animated").slideToggle("slow");*/

/*$("body").delegate('a','mouseover mouseleave', function(e){
    if (e.type == 'mouseover') {
        $(this).css('zoom','2');
    } else {
        $(this).css('zoom','1');
    }
});*/

/*
$(document).ready(function () {
    $('img.menu_class_slider').click(function () {
	$('ul.the_menu_slider').slideToggle('medium');
    });
});
$('div.container_slider').hover(
function(){
	$(this).stop().fadeTo('slow',0.4);
},
function(){
	$(this).stop().fadeTo('slow',1);
});*/

function blink() {
$(".blink_text")
.fadeTo(1000, 0.1)
.fadeTo(1000, 10, function(){blink()});
}
$(function(){
blink();
});

/*chmurka nad buttonami slidera*/
$(document).ready(function() {
$(".navi a[title]").tooltip({
offset: [10, 0], opacity: 0.9
});
});
