$(document).ready(function(){

	$('#navbar-left').addClass('active');
	$('.hero-01').show();
	$('.hero-02').hide();
	$('.hero-03').hide();
	$('#infopage-header').hide();
	$('#navbar').hide();
					
	function nl(){
	$('.active').removeClass('active');
	$('#navbar-left').addClass('active');
	$('.hero-01').fadeIn(200);
	$('.hero-02').fadeOut(200);
	$('.hero-03').fadeOut(200);
	}
			
	function nm(){
	$('.active').removeClass('active');
	$('#navbar-middle').addClass('active');
	$('.hero-01').fadeOut(200);
	$('.hero-02').fadeIn(200);
	$('.hero-03').fadeOut(200);
	}
	
	function nr(){
	$('.active').removeClass('active');
	$('#navbar-right').addClass('active');
	$('.hero-01').fadeOut(200);
	$('.hero-02').fadeOut(200);
	$('.hero-03').fadeIn(200);
	}
	
					
	$('#navbar-left').click(function(){nl();});
	$('#navbar-middle').click(function(){nm();});
	$('#navbar-right').click(function(){nr();});
	$('#infopage-header').fadeIn(300);
	$('#navbar').fadeIn(300);

	
	
});
