
$(document).ready(function(){
	$('.antdependantdiv').slideUp();
	$('#finance').slideDown();
});

function displayTab(tab){

/* This hides all tab content */

$('.tabs').fadeOut('fast');
$('.tabs').css('display', 'none');


/* This displays the context of the selected tab and prevents the opacity being 1*/

$('#'+tab).fadeIn('slow', function() { 	
	$('#'+tab).css('display','inline');
 });
}

function selectTab(tabS, formS){

	
	$('.link').css('backgroundColor', '#015CAE');
	$('.link').css('color', 'white');
	$('#' + tabS).css('backgroundColor', 'white');
	$('#' + tabS).css('color', 'black');
	$('.antdependantdiv').slideUp();
	$('#' + formS).slideDown();
	
	
}


