$(document).ready(function(){
	
	// Configure Dynamic Filofax
	
	// Hide all tab files (Datafiles, Datatools, Datasources)
	$(".file").hide();
	
	// Make the first tab file active and show it
	$(".filofax-tabs li:first").addClass("active");
	$("#datafiles").show();
	
	// Make tabs clickable to show or hide them
	$(".filofax-tabs li").click(function() {
		
		$(".filofax-tabs li").removeClass("active");
		$(".file").hide();
			
		$(this).addClass("active");
		temp = $(this).find("a").attr("href");
		$(temp).show();
	});
	
	// Make tabs respond to key presses for keyboarders, etc
	$(".filofax-tabs li").click(function(e) {
		
		$(".filofax-tabs li").removeClass("active");
		$(".file").hide();
		
		$(this).addClass("active");
		temp = $(this).find("a").attr("href");
		$(temp).show();
		
		
	});
	
});