$(document).ready(function(){	

									

	$('#primary-nav li ul').parent().addClass('sec');

	$('#news').hide();

	$('.button-2').corner();

	$('.button-4').corner();

	$('#primary-nav li').corner();

	

	 $('#news-link').click(function() {

	 $('a#news-link').addClass("active");

	 $('a#media-link').removeClass("active");

	 $('#news').show('fast');

	 $('#press').hide('fast');

 return false;

  });

 

	 $('#media-link').click(function() {

	 $('a#media-link').addClass("active");

	 $('a#news-link').removeClass("active");

	 $('#press').show('fast');

	 $('#news').hide('fast');

	 return false;

  });



	$('#primary-nav .page-item-558').before('<li class="page_item page-item-584" <h2>Inne</h2></li>');



	$(function() {

			$("#showcase").tabs( { spinner:'Loading', fx: { opacity: 'toggle', duration:'500' } }).tabs('rotate', 3000);;

		});});



$(window).load(function () {

 $(".staff").equalHeights(); });

$('#container-1 > ul').tabs();





$(document).ready(function(){	



	$("#primary-nav li a").hover(function() {

													  

		$(this).stop().parent().find("ul").fadeIn('fast').show();	

		$(this).addClass("subhover");

		$(this).parent().hover(function() {

		}, function(){

			$(this).stop().parent().find("ul").fadeOut('fast');

			$(this).removeClass("subhover");

		});

		});



});





$(document).ready(function(){										

									

  // Reset Font Size

  var originalFontSize = $('html').css('font-size');

    $(".resetFont").click(function(){

    $('html').css('font-size', originalFontSize);

  });

  // Increase Font Size

  $(".increaseFont").click(function(){

    var currentFontSize = $('html').css('font-size');

    var currentFontSizeNum = parseFloat(currentFontSize, 10);

    var newFontSize = currentFontSizeNum*1.2;

    $('html').css('font-size', newFontSize);

    return false;

  });

  // Decrease Font Size

  $(".decreaseFont").click(function(){

    var currentFontSize = $('html').css('font-size');

    var currentFontSizeNum = parseFloat(currentFontSize, 10);

    var newFontSize = currentFontSizeNum*0.8;

    $('html').css('font-size', newFontSize);

    return false;

  });

});


