$(".theorie-details").hide();
$("#termine-weil-im-schoenbuch").show();

$(document).ready(function() {
	$("#sidebar-filale").change(function() {
		$(".theorie-details").hide();
		
		var $filiale = $(this).val();
		
		switch($filiale)
		{
			case "boeblingen":
			{
				// Böblingen
				$("#termine-" + $filiale).fadeIn();
				break;
			}
			case "schoenaich":
			{
				// Schönaich
				$("#termine-" + $filiale).fadeIn();
				break;
			}
			default:
			{
				// Weil im Schönbuch
				$("#termine-" + $filiale).fadeIn();
			}
		}
	});
});

$(document).ready(function() {
	$("#header2").delay(7000).fadeIn(2000);
});

$(".teammember").hide();
$("#axel-details").show();

$(document).ready(function() {
	$(".rundgang-1-team-select-href").click(function() {
		var $teammember = $(this).attr("id");
		
		$(".rundgang-1-team-select-href").removeClass("active");
		$(this).addClass("active");
	});
});
