/*
--------------------------------------------------------------------------------
            SLOUŽÍ K NASTAVENÍ NEBO AUTOMATICKÉMU AKTIVOVÁNÍ SKRIPTŮ
--------------------------------------------------------------------------------
*/

/*
	With the following code, Slimbox will activate itself automatically on all links pointing to images,
	or more specifically all links having URLs ending with: ".jpg" or ".png" or ".gif".
	As a result, you will not need to set the rel="lightbox" attribute on any link to activate Slimbox.
	Furthermore, all image links contained in the same block or paragraph (having the same parent element)
	will automatically be grouped together in a gallery, so you will not need to specify groups either.
	Images that are alone in their block or paragraph will be displayed individually.

	Replace the default autoload code block with this one.
*/

jQuery(function($) {
	$("a[href]").filter(function() {
		return /\.(jpg|png|gif)$/i.test(this.href);
	}).slimbox({}, null, function(el) {
		return (this == el) || (this.parentNode && (this.parentNode == el.parentNode));
	});
});
$(document).ready(function() {
	//$("#zima").show();
	//$("#leto").show();
	/*
	for(var i = 0.0000001; i < 1; i + 0.0000123) {
		//$("#zima")
	}
	*/
	if($("#zima").css("display") == "none") {
		//setTimeout("showSwitches()",1000);
	}
	
});

function showSwitches() {
	var speed = 3000;
	var callback = function() { };
	var options = {};
	$("#zima").fadeIn(2000);
	$("#leto").fadeIn(2000);
	///if()
	//$("#zima").effect('slide',options,speed);
	//$("#leto").effect('slide',{ direction : 'left' },speed);
}

