//---------------------------------------------------------//
//SET ADDTHIS INFORMATION//
//---------------------------------------------------------//
addthis_pub = 'foxSports';

var pathArray = document.location.pathname.split("/");
var sport = pathArray[1].toUpperCase();//the current page sport

if(document.location.port){ // check if there's a location port
  var locPort = ":"+document.location.port; // set the location port
}
//add this url holder
var fsAddthis_url = document.location.protocol+"//"+document.location.hostname+locPort+document.location.pathname;//+"?contentId="+urlContentId; // create the "Add This" url

//add this title holder
var fsAddthis_title  = "FoxSports.com: "+sport+" Standings"; // set the title for the add this


function expandTeamView(teamID) {
	var imgSrc = document.getElementById('arrow_' + teamID).src;
	var imgLen = imgSrc.length;

	imgType = imgSrc.substring(imgLen - 6, imgLen - 4);

	if (imgType == 'Up') {
		document.getElementById('arrow_' + teamID).src = '/fe/images/Standings/expandGames_Dn.jpg';
		if (document.all) {
			document.getElementById('expanded_' + teamID).style.display = 'block';
			//document.getElementById('expanded_border_' + teamID).style.display = 'block';
		} else {
			document.getElementById('expanded_' + teamID).style.display = 'table-row';
			//document.getElementById('expanded_border_' + teamID).style.display = 'table-row';
		}
	} else {
		document.getElementById('arrow_' + teamID).src = '/fe/images/Standings/expandGames_Up.jpg';
		document.getElementById('expanded_' + teamID).style.display = 'none';
		//document.getElementById('expanded_border_' + teamID).style.display = 'none';
	}
}
