$(function(){
	$('.info .section').hide(); 
	
	$('.info #section-elevi').show(); 
	$('a[href=#section-elevi]').parent().addClass('active'); 
	
	$('.info h3 a').click(function(){ 
		$('.info h3').removeClass('active'); 
		$(this).parent().addClass('active'); 
		var currentTab = $(this).attr('href'); 
		$('.info .section').addClass('hidden'); 
		$(currentTab).removeClass('hidden').fadeIn(); 
		return false;
	});


	$('#signup-button').click(function() {
		$('#signup .content').toggle('slow',function(){
			if ($('#signup .content:visible').size()) {
				$('#signup-button').css("background-position", "0px -30px");
			} else {
				$('#signup-button').css("background-position", "50% 0px");
			}			
		});
	});
});