$(window).load(function(){
	if($('.content .right').height() < $('.content .left').height()){
		$('.content .right').height($('.content .left').height());
	}
});

$(document).ready(function(){
	$('.main_tabs .tabs a').click(function(){
		var nr = $(this).attr('rel');
		$('.main_tabs .tabs_cont').hide();
		$('.main_tabs #cont'+nr).fadeIn();
		$('.main_tabs .tabs li').removeClass('selected');
		$(this).parents('li').addClass('selected');
		return false;
	});
	$('.link').hide();
});

$(window).load(function(){
	$('.zdjecia_last_gallery').cycle({
		fx: 'scrollLeft'
	});
});
