$(document).ready(function() {
 
	//Default Action
	$(".tab_content").hide(); //Hide all content
	
	var now;
	var day;
	now = new Date(); 
	day = now.getDay();	

	if (day == 1)
  {
	$("ul.tabs .nav-mon").addClass("active").show();
	$("#mon").show();
  }
  
else if (day == 2)
  {
	$("ul.tabs .nav-tue").addClass("active").show();
	$("#tue").show();
  }
  
else if (day == 3)
  {
	$("ul.tabs .nav-wed").addClass("active").show();
	$("#wed").show();
  }
  
else if (day == 4)
  {
	$("ul.tabs .nav-thu").addClass("active").show();
	$("#thu").show();
  }
  
else if (day == 5)
  {
	$("ul.tabs .nav-fri").addClass("active").show();
	$("#fri").show();
  }
  
else if (day == 6)
  {
	$("ul.tabs .nav-sat").addClass("active").show();
	$("#sat").show();
  }
  
else if (day == 0)
  {
	$("ul.tabs .nav-sun").addClass("active").show();
	$("#sun").show();
  }
	
	//On Click Event
	$("ul.tabs li").click(function() {
		$("ul.tabs li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$(".tab_content").hide(); //Hide all tab content
		var activeTab = $(this).find("a").attr("href"); //Find the rel attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active content
		return false;
	});
 
});
