$(document).ready(function(){
						   
	$('#tabs div.tab-content').hide();
	$('#tabs div.tab-content:first').show();
	$('#tabs ul.tab-strip li:first').addClass('active');
	
	$('#tabs ul.tab-strip li a').click(function(){ 
												
	  $('#tabs ul.tab-strip li').removeClass('active');
	  $(this).parent().addClass('active'); 
	  
	  var currentTab = $(this).attr('href'); 
	  
	  $('#tabs div.tab-content').hide();
	  $(currentTab).show();
	  
	  return false;
	  
	});
	

	var url = document.location.toString();
	if (url.match('#')) {
		var tab = '#' + url.split('#')[1];
		$('ul.tab-strip li a[href="' + tab + '"]').click();
	} 
	
});

