/*
* Author:      Marco Kuiper (http://www.marcofolio.net/)
*/
$(document).ready(function() {
	// Just for demonstration purposes, change the contents/active state using jQuery
	
	var tabContainers = $('div.content > div');
	tabContainers.hide().filter("#login").show();	
	
	$("#menu ul li a").click(function(e) {
		
		tabContainers.hide();
		tabContainers.filter(this.hash).show();
		
		$("#menu ul li a").each(function() {
			$(this).removeClass("active");
		});
		
		
		$(this).addClass("active");
		
		return false;
	}).filter(":first").click();
});
