$(document).ready(function(){
$('#tabs div.foo').hide();
$('#tabs div.foo:first').show();
$('#tabs ul li:first').addClass('active');
//$('#tabs ul li a').click(function(){ 
//$('#tabs ul li').removeClass('active');
//$(this).parent().addClass('active'); 
//var currentTab = $(this).attr('href'); 
//$('#tabs div.foo').hide();
//$(currentTab).show();
//return false;
//});
//});
$("div.right[name~=Select an issue to track]").css('color','red');


$("#tabs ul li").click(function() {

		$("#tabs ul li").removeClass('active'); //Remove any "active" class
		$(this).addClass('active'); //Add "active" class to selected tab
		$('#tabs div.foo').hide(); //Hide all tab content

		var activeTab = $(this).find('a').attr('href'); //Find the href attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active ID content
		return false;
	});
});
