function mnfShow(did){
	var theDivs = document.getElementsByTagName("div");
	for(i=0;i<theDivs.length;i++) {
		var toHide = theDivs[i];
		var toHideCid = theDivs[i].id;
		if(toHideCid!=null
			&& toHideCid.indexOf("idiv")==-1
			&& toHideCid.indexOf("fdiv")==-1
			&& toHide.style.display=="block")
		{
			toHide.style.display = "none";
		}
		if(toHideCid!=null
			&& toHideCid.indexOf("insider")==-1
			&& toHideCid.indexOf("fantasy")==-1)
		{
			toHideC = document.getElementById(toHideCid+"_control");
			if(toHideC!=null)
			toHideC.style.display = "block";
		}
	}
	var toShow = document.getElementById(did);
	if(toShow!=null) {
		toShow.className="open";
		toShow.style.display = "block";
		var toShowC = document.getElementById(did+"_control");
		if(toShowC!=null)
			toShowC.style.display = "none";
	}
}
// SHOW / HIDE LEADERBOARD
function showLeaderboard(element) {
	if (element == "fanPts") {
		document.getElementById('fanPts').style.display = "block";
		document.getElementById('teamPts').style.display = "none";
	}
	else if (element == "teamPts") {
		document.getElementById('fanPts').style.display = "none";
		document.getElementById('teamPts').style.display = "block";
	}
}
