$(document).ready(function() {
//------------------------------------------------------
function close_toplayer()
{
	$("#toplayer").hide();
}

$("a[rel^='fancybox']").fancybox({ 'zoomSpeedIn': 300, 'zoomSpeedOut': 300 }); 

$("a[rel^='fancybox']").css("cursor","url(/img/zoom-in.cur), auto"); 


/*
var biezaca_kategoria="";
var loading_img="<img src=\"/img/loading.gif\" alt=\"Wczytywanie...\">";

$("#menu a.menu_head").click(function()
{
   $(this).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");	 
	var filename=$(this).html().toLowerCase().replace(' ','-');
	
	if (filename!=biezaca_kategoria)
	{
		biezaca_kategoria=filename;
		$("div#content").html(loading_img);
		$("div#content").load("inc/"+filename+".inc.php");		
	}
	//alert($(this).html());
	//$(this).siblings().css({backgroundImage:"url(left.png)"});
	return false; 
});
*/

//$('#xxxxxxxxxxxx img').tooltip({showURL:false});
//$('#xxxxxxxxxxxx img').css("cursor","help");

//slides the element with class "menu_body" when paragraph with class "menu_head" is clicked
/*
$("#firstpane p.menu_head").click(function()
{
    $(this).next("div.menu_body").slideToggle(300).siblings("div.menu_body").slideUp("slow");
    $(this).siblings().css({backgroundImage:"url(left.png)"});
});
*/

//------------------------------------------------------
});

