$(document).ready(function() {	

	/**
	 * Przełączanie zakładek na startowej
	 */
	$("#zakladkaCP").click(function() {
		$("#k3_centrum").removeClass("displayNone");
		$("#k3_relacje").addClass("displayNone");
		
		return false;
	});
	
	
	$("#zakladkaRI").click(function() {
		$("#k3_relacje").removeClass("displayNone");
		$("#k3_centrum").addClass("displayNone");
		
		return false;
	});
	
	
	/**
	 * Banner na startowej
	 */
	$("#k2").easySlider({
		auto: true,
		continuous: true,
		controlsShow: true, 
		numeric: true,
		speed: 500,
		pause: 4500,
		nextId: 'k2_next_doc',
		nextText: '',
		prevId: 'k2_prev_doc', 
		prevText: '', 
		numericId: 'k2_control'
	});
	
	
	/**
	 * Notowania
	 */
	$("a.notowania_wykres").fancybox({
		'width'				: 600,
		'height'			: 500,
		'autoScale'			: false,
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'type'				: 'iframe'
	});

});
	
	
