$(document).ready(function(){
		$('#features div').hide(); // Hide all divs
		$('#features div:first').show(); // Show the first div
		$('#features div:first div').show();
		$('#features-tabs li:first').addClass('active'); // Set the class of the first link to active
		$('#features-tabs li a').click(function(){ //When any link is clicked
		$('#features-tabs li').removeClass('active'); // Remove active class from all links
		$(this).parent().addClass('active'); //Set clicked link class to active
		var currentTab = $(this).attr('href'); // Set variable currentTab to value of href attribute of clicked link
		$('#features div').hide(); // Hide all divs
		$('#features div div').show();
		$(currentTab).show(); // Show div with id equal to variable currentTab
		return false;
		});
		});