	var filter_prints = function($tab) {
		var tabs = new Array("tabAllList", "tabSportList", "tabTeamList");
		var divs = new Array("AllList", "SportList", "TeamList");
		//hide all tabs		
		tabs.each(function(node) { if($(node)) { $(node).removeClassName("selected"); }});
		//show current tab as selected
		if($('tab' + $tab)) {$('tab' + $tab).addClassName("selected");}				
		//hide all the divs
		divs.each(function(node) { if($(node)) { $(node).hide(); }});
		//show the selected div
		if($($tab)) { $($tab).show(); }
	}