$(document).ready(function(){				   
$('#tabs2 div').hide(); // Hide all divs
$('#tabs2 div:first').show(); // Show the first div
$('#tabs2 ul li:first').addClass('active'); // Set the class of the first link to active
$('#tabs2 ul li a').click(function(){ //When any link is clicked

$('#tabs2 ul 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
$('#tabs2 div').hide(); // Hide all divs

$(currentTab).show(); // Show div with id equal to variable currentTab
return false;
});
});


