jQuery('document').ready(function() {
	jQuery("#section2").hide();
	jQuery("#section3").hide();
	jQuery(".sectionLink").click(function () {
		showSection(this.id);
		return false;
	});
	jQuery("#section1Link").addClass('active');
});


function showSection(id)
{	
	jQuery('.section').fadeOut('slow');
	var theSection = id.split('Link');
	var theTarget = jQuery("#" + theSection[0]);
	var theLink = jQuery("#" + id);
	theTarget.fadeIn('slow');
	jQuery(".sectionLink").removeClass('active');
	theLink.addClass('active');
	
}