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