var sections = new Array('series','teams');

function hideAll() {
	for (i=0;i<sections.length; i++) {
		$(sections[i]+'_linx').style.display = "none";
		Element.classNames(sections[i]+'_bn').remove('active');
	}
}

function initLinks() { 
	var h = document.location.href.split('#');
	hideAll();
	if (h.length==1 || h[1]=="")
		showSection(sections[0]);
	else showSection(h[1]);
}

function showSection(s) {
	hideAll();
	$(s+'_linx').style.display = "block";
	Element.classNames(s+'_bn').set('active');
}
