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