


    $(function() {
        $('#gallery a').lightBox();
    });



     $(document).ready(function(){

    $("div.baner").click(function () {
      $("div.baner").toggle("slow");

    });

  });


$(document).ready(function()
{



	$("#content .news ul li p.menu_head").click(function()
    {
		$(this).prev("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
       	
	}).toggle(function() { $(this).text('<<< schowaj'); }, function() { $(this).text("więcej >>>"); });









	$("#myController").jFlow({
		slides: "#mySlides",
		controller: ".jFlowControl", // must be class, use . sign
		slideWrapper : "#jFlowSlide", // must be id, use # sign
		selectedWrapper: "jFlowSelected",  // just pure text, no sign
		width: "660px",
		height: "350px",
		duration: 400,
		prev: ".jFlowPrev", // must be class, use . sign
		next: ".jFlowNext" // must be class, use . sign  
	});



$(".google_lista ul li span img:empty").css({ margin:"0 -18px 0 0", padding:"0" });




});

//$(document).ready(function() {
//	if($.cookie('TEXT_SIZE')) {
//		$('body').addClass($.cookie('TEXT_SIZE'));
//	}
//	$('.resizer a').click(function() {
//		var textSize = $(this).parent().attr('class');
//		$('body').removeClass('small medium large').addClass(textSize);
//		$.cookie('TEXT_SIZE',textSize, { path: '/', expires: 10000 });
//		return false;
//	});
//});

 //jQuery(document).ready(function(){
//		debugging = true;
//
//		$.fn.ceebox.videos.base.param.allowScriptAccess = "sameDomain" //added to kill the permissions problem


//		$(".ceebox").ceebox({boxColor:'#fff',borderColor:'#525252',textColor:'#333',videoJSON:"js/humor.json"});
//		$("map").ceebox({fadeOut:"slow",fadeIn:"slow",onload:function(){$("#cee_box").animate({backgroundColor:"#F00"},function(){$(this).animate({backgroundColor:"#fff"})});}});
//		$(".ceebox2").ceebox({unload:function(){$("body").css({background:"#ddf"})}});
		//window.console.log($.fn.ceebox.videos.colbertFull)
		//$("body").ceebox(); //uncomment and every link on the page is in one gallery
//		var testhtml = "<a href='http://balsaman.org' title='Balsa Man'>Balsa Man</a>"
//		var testhtml2 = "<div style='padding:20px;text-align:center'><h2>Hi I am some content built as a javascript variable!</h2><p><a href='#' class='cee_close'>Close Me</a></p></div>"
//		$("#testlink").click(function(){
//			$.fn.ceebox.overlay();
//			$.fn.ceebox.popup(testhtml,{htmlWidth:800});
//			return false;
//		});
//		$("#testlink2").click(function(){
//			$.fn.ceebox.overlay();
//			$.fn.ceebox.popup(testhtml2,{width:600,height:400});
//			return false;
//		});
//	});


