
function showtab(name)
{
	// hide ALL tabs
	$$('div.tab').each(Element.hide);

	// show the requested tab
	$$('div.tab.'+name).each(function (node) { node.setStyle({'display':'block'}) });

	//special case if calendar on team page
	if (name == 'cal')
		$$('div.newsContent').each(Element.hide);
	else
		$$('div.newsContent').each(Element.show);
}
