$(document).ready(function() {
	$("#filter .video_thumbnail").hide(); //Hide all content
	$("ul.tabz li:first").addClass("active").show(); //Activate first tab
	$("#filter .video_thumbnail:first").show(); //Show first tab content

	$("ul.tabz li").click(function() {
		$("ul.tabz li").removeClass("active"); //Remove any "active" class
		$(this).addClass("active"); //Add "active" class to selected tab
		$("#filter .video_thumbnail").hide(); //Hide all tab content

		var activeTab = $(this).find("a").attr("href"); //Find the href attribute value to identify the active tab + content
		$(activeTab).fadeIn(); //Fade in the active ID content
		return false;
	});

});


