	var standings_rs_alc =
[{
	w: '80',
	elim: '-',
	rs: '666',
	div: 'alc',
	gameid: '2010_09_06_kcamlb_minmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_kcamlb_minmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14312280&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '8-2',
	onerun: '27-21',
	xtr: '8-4',
	nextg: '9/6 vs KC,  2:10P',
	vsW: '23-10',
	ra: '554',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_texmlb_minmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14314298&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '45-23',
	code: 'min',
	pct: '.584',
	league_sensitive_team_name: 'Minnesota',
	vsC: '35-19',
	vsE: '14-18',
	clinch: '',
	vsL: '29-20',
	vsR: '51-37',
	xwl: '80-57',
	l: '57',
	strk: 'W3',
	lastg: '9/5 vs TEX, W 6-5',
	interleague: '8-10',
	road: '35-34',
	games_back_wildcard: null,
	team: 'Minnesota'
}, {
	w: '76',
	elim: '23',
	rs: '649',
	div: 'alc',
	gameid: '2010_09_06_chamlb_detmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_chamlb_detmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14312118&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '8-2',
	onerun: '21-21',
	xtr: '5-9',
	nextg: '9/6 @ DET,  1:05P',
	vsW: '20-11',
	ra: '566',
	gb: '3.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_chamlb_bosmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14312892&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '20',
	home: '38-27',
	code: 'cws',
	pct: '.559',
	league_sensitive_team_name: 'Chi White Sox',
	vsC: '27-29',
	vsE: '14-17',
	clinch: '',
	vsL: '16-17',
	vsR: '60-43',
	xwl: '76-60',
	l: '60',
	strk: 'W6',
	lastg: '9/5 @ BOS, W 7-5',
	interleague: '15-3',
	road: '38-33',
	games_back_wildcard: '7.0',
	team: 'Chicago'
}, {
	w: '68',
	elim: '14',
	rs: '619',
	div: 'alc',
	gameid: '2010_09_06_chamlb_detmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_chamlb_detmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14312118&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '15-22',
	xtr: '5-7',
	nextg: '9/6 vs CWS,  1:05P',
	vsW: '15-16',
	ra: '628',
	gb: '12.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_detmlb_kcamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14312244&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '11',
	home: '43-25',
	code: 'det',
	pct: '.496',
	league_sensitive_team_name: 'Detroit',
	vsC: '27-29',
	vsE: '15-17',
	clinch: '',
	vsL: '22-18',
	vsR: '46-51',
	xwl: '68-69',
	l: '69',
	strk: 'L1',
	lastg: '9/5 @ KC, L 1-2',
	interleague: '11-7',
	road: '25-44',
	games_back_wildcard: '15.5',
	team: 'Detroit'
}, {
	w: '57',
	elim: '4',
	rs: '556',
	div: 'alc',
	gameid: '2010_09_06_kcamlb_minmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_kcamlb_minmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14312280&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '26-26',
	xtr: '10-7',
	nextg: '9/6 @ MIN,  2:10P',
	vsW: '11-23',
	ra: '718',
	gb: '22.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_detmlb_kcamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14312244&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '1',
	home: '31-37',
	code: 'kc',
	pct: '.419',
	league_sensitive_team_name: 'Kansas City',
	vsC: '23-30',
	vsE: '15-16',
	clinch: '',
	vsL: '11-20',
	vsR: '46-59',
	xwl: '52-84',
	l: '79',
	strk: 'W1',
	lastg: '9/5 vs DET, W 2-1',
	interleague: '8-10',
	road: '26-42',
	games_back_wildcard: '26.0',
	team: 'Kansas City'
}, {
	w: '55',
	elim: '1',
	rs: '545',
	div: 'alc',
	gameid: '2010_09_06_clemlb_anamlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_clemlb_anamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14317670&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '19-18',
	xtr: '5-4',
	nextg: '9/6 @ LAA,  9:05P',
	vsW: '9-16',
	ra: '660',
	gb: '25.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_clemlb_seamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14338612&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '29-39',
	code: 'cle',
	pct: '.401',
	league_sensitive_team_name: 'Cleveland',
	vsC: '24-29',
	vsE: '17-24',
	clinch: '',
	vsL: '16-25',
	vsR: '39-57',
	xwl: '57-80',
	l: '82',
	strk: 'L1',
	lastg: '9/5 @ SEA, L 0-3',
	interleague: '5-13',
	road: '26-43',
	games_back_wildcard: '28.5',
	team: 'Cleveland'
}]
	var standings_rs_ale =
[{
	w: '86',
	elim: '-',
	rs: '743',
	div: 'ale',
	gameid: '2010_09_06_balmlb_nyamlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_balmlb_nyamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14311944&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '8-2',
	onerun: '15-12',
	xtr: '4-3',
	nextg: '9/6 vs BAL,  1:05P',
	vsW: '23-10',
	ra: '560',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_tormlb_nyamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100904&content_id=14297690&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '48-23',
	code: 'nyy',
	pct: '.628',
	league_sensitive_team_name: 'NY Yankees',
	vsC: '23-13',
	vsE: '29-21',
	clinch: '',
	vsL: '31-19',
	vsR: '55-32',
	xwl: '86-51',
	l: '51',
	strk: 'L1',
	lastg: '9/5 vs TOR, L 3-7',
	interleague: '11-7',
	road: '38-28',
	games_back_wildcard: null,
	team: 'New York'
}, {
	w: '83',
	elim: '24',
	rs: '674',
	div: 'ale',
	gameid: '2010_09_06_tbamlb_bosmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_tbamlb_bosmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14312262&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '24-23',
	xtr: '7-4',
	nextg: '9/6 @ BOS,  7:10P',
	vsW: '18-9',
	ra: '534',
	gb: '2.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_tbamlb_balmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14324188&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '-',
	home: '43-26',
	code: 'tb',
	pct: '.610',
	league_sensitive_team_name: 'Tampa Bay',
	vsC: '24-11',
	vsE: '34-22',
	clinch: '',
	vsL: '31-15',
	vsR: '52-38',
	xwl: '82-54',
	l: '53',
	strk: 'L2',
	lastg: '9/5 @ BAL, L 7-8',
	interleague: '7-11',
	road: '40-27',
	games_back_wildcard: '-',
	team: 'Tampa Bay'
}, {
	w: '76',
	elim: '16',
	rs: '682',
	div: 'ale',
	gameid: '2010_09_06_tbamlb_bosmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_tbamlb_bosmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14312262&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '21-21',
	xtr: '5-10',
	nextg: '9/6 vs TB,  7:10P',
	vsW: '20-13',
	ra: '621',
	gb: '10.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_chamlb_bosmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14312892&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '19',
	home: '40-29',
	code: 'bos',
	pct: '.555',
	league_sensitive_team_name: 'Boston',
	vsC: '14-15',
	vsE: '29-28',
	clinch: '',
	vsL: '24-22',
	vsR: '52-39',
	xwl: '74-63',
	l: '61',
	strk: 'L3',
	lastg: '9/5 vs CWS, L 5-7',
	interleague: '13-5',
	road: '36-32',
	games_back_wildcard: '7.5',
	team: 'Boston'
}, {
	w: '70',
	elim: '11',
	rs: '635',
	div: 'ale',
	gameid: '2010_09_06_texmlb_tormlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_texmlb_tormlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14311934&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '19-25',
	xtr: '4-5',
	nextg: '9/6 vs TEX,  1:07P',
	vsW: '13-11',
	ra: '602',
	gb: '15.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_tormlb_nyamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100904&content_id=14297690&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '14',
	home: '35-27',
	code: 'tor',
	pct: '.515',
	league_sensitive_team_name: 'Toronto',
	vsC: '19-18',
	vsE: '31-26',
	clinch: '',
	vsL: '11-18',
	vsR: '59-48',
	xwl: '71-65',
	l: '66',
	strk: 'W1',
	lastg: '9/5 @ NYY, W 7-3',
	interleague: '7-11',
	road: '35-39',
	games_back_wildcard: '13.0',
	team: 'Toronto'
}, {
	w: '51',
	elim: 'E',
	rs: '514',
	div: 'ale',
	gameid: '2010_09_06_balmlb_nyamlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_balmlb_nyamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14311944&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '24-18',
	xtr: '11-3',
	nextg: '9/6 @ NYY,  1:05P',
	vsW: '18-17',
	ra: '698',
	gb: '35.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_tbamlb_balmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14324188&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '30-41',
	code: 'bal',
	pct: '.372',
	league_sensitive_team_name: 'Baltimore',
	vsC: '12-18',
	vsE: '14-40',
	clinch: '',
	vsL: '15-28',
	vsR: '36-58',
	xwl: '50-87',
	l: '86',
	strk: 'W2',
	lastg: '9/5 vs TB, W 8-7',
	interleague: '7-11',
	road: '21-45',
	games_back_wildcard: '32.5',
	team: 'Baltimore'
}]
	var standings_rs_alw =
[{
	w: '75',
	elim: '-',
	rs: '658',
	div: 'alw',
	gameid: '2010_09_06_texmlb_tormlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_texmlb_tormlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14311934&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '24-20',
	xtr: '9-5',
	nextg: '9/6 @ TOR,  1:07P',
	vsW: '24-16',
	ra: '581',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_texmlb_minmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14314298&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '43-26',
	code: 'tex',
	pct: '.551',
	league_sensitive_team_name: 'Texas',
	vsC: '23-18',
	vsE: '14-23',
	clinch: '',
	vsL: '22-21',
	vsR: '53-40',
	xwl: '76-60',
	l: '61',
	strk: 'L3',
	lastg: '9/5 @ MIN, L 5-6',
	interleague: '14-4',
	road: '32-35',
	games_back_wildcard: null,
	team: 'Texas'
}, {
	w: '67',
	elim: '19',
	rs: '549',
	div: 'alw',
	gameid: '2010_09_06_seamlb_oakmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_seamlb_oakmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14346846&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '20-16',
	xtr: '4-6',
	nextg: '9/6 vs SEA,  4:05P',
	vsW: '23-20',
	ra: '526',
	gb: '8.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_anamlb_oakmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14335548&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '11',
	home: '40-28',
	code: 'oak',
	pct: '.493',
	league_sensitive_team_name: 'Oakland',
	vsC: '18-15',
	vsE: '18-24',
	clinch: '',
	vsL: '17-19',
	vsR: '50-50',
	xwl: '71-65',
	l: '69',
	strk: 'L1',
	lastg: '9/5 vs LAA, L 4-7',
	interleague: '8-10',
	road: '27-41',
	games_back_wildcard: '16.0',
	team: 'Oakland'
}, {
	w: '66',
	elim: '17',
	rs: '592',
	div: 'alw',
	gameid: '2010_09_06_clemlb_anamlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_clemlb_anamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14317670&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '18-17',
	xtr: '5-4',
	nextg: '9/6 vs CLE,  9:05P',
	vsW: '25-19',
	ra: '625',
	gb: '9.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_anamlb_oakmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14335548&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '9',
	home: '34-32',
	code: 'ana',
	pct: '.482',
	league_sensitive_team_name: 'LA Angels',
	vsC: '17-19',
	vsE: '13-26',
	clinch: '',
	vsL: '18-23',
	vsR: '48-48',
	xwl: '65-72',
	l: '71',
	strk: 'W1',
	lastg: '9/5 @ OAK, W 7-4',
	interleague: '11-7',
	road: '32-39',
	games_back_wildcard: '17.5',
	team: 'Los Angeles'
}, {
	w: '54',
	elim: '5',
	rs: '440',
	div: 'alw',
	gameid: '2010_09_06_seamlb_oakmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_seamlb_oakmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14346846&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '19-23',
	xtr: '3-10',
	nextg: '9/6 @ OAK,  4:05P',
	vsW: '12-29',
	ra: '579',
	gb: '21.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_clemlb_seamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14338612&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '33-38',
	code: 'sea',
	pct: '.394',
	league_sensitive_team_name: 'Seattle',
	vsC: '18-26',
	vsE: '15-19',
	clinch: '',
	vsL: '11-28',
	vsR: '43-55',
	xwl: '52-85',
	l: '83',
	strk: 'W1',
	lastg: '9/5 vs CLE, W 3-0',
	interleague: '9-9',
	road: '21-45',
	games_back_wildcard: '29.5',
	team: 'Seattle'
}]
	var standings_rs_nlc =
[{
	w: '79',
	elim: '-',
	rs: '679',
	div: 'nlc',
	gameid: '2010_09_06_cinmlb_colmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_cinmlb_colmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14313934&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '22-21',
	xtr: '9-7',
	nextg: '9/6 @ COL,  3:10P',
	vsW: '14-11',
	ra: '580',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_cinmlb_slnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14313108&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '41-27',
	code: 'cin',
	pct: '.581',
	league_sensitive_team_name: 'Cincinnati',
	vsC: '40-24',
	vsE: '17-15',
	clinch: '',
	vsL: '26-19',
	vsR: '53-38',
	xwl: '78-58',
	l: '57',
	strk: 'L1',
	lastg: '9/5 @ STL, L 2-4',
	interleague: '8-7',
	road: '38-30',
	games_back_wildcard: null,
	team: 'Cincinnati'
}, {
	w: '71',
	elim: '21',
	rs: '603',
	div: 'nlc',
	gameid: '2010_09_06_slnmlb_milmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_slnmlb_milmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14342868&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '18-22',
	xtr: '5-7',
	nextg: '9/6 @ MIL,  2:10P',
	vsW: '13-15',
	ra: '519',
	gb: '7.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_cinmlb_slnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14313108&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '22',
	home: '43-24',
	code: 'stl',
	pct: '.530',
	league_sensitive_team_name: 'St. Louis',
	vsC: '33-30',
	vsE: '16-12',
	clinch: '',
	vsL: '23-23',
	vsR: '48-40',
	xwl: '76-58',
	l: '63',
	strk: 'W1',
	lastg: '9/5 vs CIN, W 4-2',
	interleague: '9-6',
	road: '28-39',
	games_back_wildcard: '5.5',
	team: 'St. Louis'
}, {
	w: '64',
	elim: '12',
	rs: '512',
	div: 'nlc',
	gameid: '2010_09_06_houmlb_chnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_houmlb_chnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14346368&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '18-15',
	xtr: '7-4',
	nextg: '9/6 @ CHC,  2:20P',
	vsW: '11-20',
	ra: '611',
	gb: '15.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_houmlb_arimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14337358&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '13',
	home: '35-33',
	code: 'hou',
	pct: '.471',
	league_sensitive_team_name: 'Houston',
	vsC: '36-24',
	vsE: '14-16',
	clinch: '',
	vsL: '23-14',
	vsR: '41-58',
	xwl: '57-79',
	l: '72',
	strk: 'W2',
	lastg: '9/5 @ ARI, W 3-2',
	interleague: '3-12',
	road: '29-39',
	games_back_wildcard: '13.5',
	team: 'Houston'
}, {
	w: '63',
	elim: '11',
	rs: '639',
	div: 'nlc',
	gameid: '2010_09_06_slnmlb_milmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_slnmlb_milmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14342868&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '23-18',
	xtr: '6-5',
	nextg: '9/6 vs STL,  2:10P',
	vsW: '13-20',
	ra: '718',
	gb: '16.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_milmlb_phimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14325730&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '12',
	home: '33-35',
	code: 'mil',
	pct: '.463',
	league_sensitive_team_name: 'Milwaukee',
	vsC: '31-31',
	vsE: '10-16',
	clinch: '',
	vsL: '19-24',
	vsR: '44-49',
	xwl: '61-75',
	l: '73',
	strk: 'W1',
	lastg: '9/5 @ PHI, W 6-2',
	interleague: '9-6',
	road: '30-38',
	games_back_wildcard: '14.5',
	team: 'Milwaukee'
}, {
	w: '59',
	elim: '6',
	rs: '599',
	div: 'nlc',
	gameid: '2010_09_06_houmlb_chnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_houmlb_chnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14346368&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '18-30',
	xtr: '4-6',
	nextg: '9/6 vs HOU,  2:20P',
	vsW: '12-15',
	ra: '694',
	gb: '20.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_nynmlb_chnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14309818&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '7',
	home: '32-40',
	code: 'chc',
	pct: '.431',
	league_sensitive_team_name: 'Chi Cubs',
	vsC: '25-39',
	vsE: '14-14',
	clinch: '',
	vsL: '20-27',
	vsR: '39-51',
	xwl: '59-78',
	l: '78',
	strk: 'L1',
	lastg: '9/5 vs NYM, L 5-18',
	interleague: '8-10',
	road: '27-38',
	games_back_wildcard: '19.0',
	team: 'Chicago'
}, {
	w: '45',
	elim: 'E',
	rs: '471',
	div: 'nlc',
	gameid: '2010_09_06_atlmlb_pitmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_atlmlb_pitmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14343922&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '18-20',
	xtr: '4-5',
	nextg: '9/6 vs ATL,  1:35P',
	vsW: '10-19',
	ra: '745',
	gb: '34.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_wasmlb_pitmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14323348&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '31-38',
	code: 'pit',
	pct: '.331',
	league_sensitive_team_name: 'Pittsburgh',
	vsC: '25-42',
	vsE: '8-17',
	clinch: '',
	vsL: '18-25',
	vsR: '27-66',
	xwl: '41-95',
	l: '91',
	strk: 'L2',
	lastg: '9/5 vs WSH, L 1-8',
	interleague: '2-13',
	road: '14-53',
	games_back_wildcard: '32.5',
	team: 'Pittsburgh'
}]
	var standings_rs_nle =
[{
	w: '79',
	elim: '-',
	rs: '648',
	div: 'nle',
	gameid: '2010_09_06_atlmlb_pitmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_atlmlb_pitmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14343922&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '20-21',
	xtr: '6-7',
	nextg: '9/6 @ PIT,  1:35P',
	vsW: '19-15',
	ra: '522',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_atlmlb_flomlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14330750&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '49-19',
	code: 'atl',
	pct: '.577',
	league_sensitive_team_name: 'Atlanta',
	vsC: '22-12',
	vsE: '29-25',
	clinch: '',
	vsL: '24-24',
	vsR: '55-34',
	xwl: '82-55',
	l: '58',
	strk: 'L1',
	lastg: '9/5 @ FLA, L 6-7',
	interleague: '9-6',
	road: '30-39',
	games_back_wildcard: null,
	team: 'Atlanta'
}, {
	w: '78',
	elim: '25',
	rs: '630',
	div: 'nle',
	gameid: '2010_09_06_flomlb_phimlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_flomlb_phimlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14342988&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '8-2',
	onerun: '24-14',
	xtr: '11-6',
	nextg: '9/6 vs FLA,  1:05P',
	vsW: '22-10',
	ra: '555',
	gb: '1.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_milmlb_phimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14325730&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '-',
	home: '44-27',
	code: 'phi',
	pct: '.569',
	league_sensitive_team_name: 'Philadelphia',
	vsC: '21-19',
	vsE: '25-22',
	clinch: '',
	vsL: '22-19',
	vsR: '56-40',
	xwl: '76-61',
	l: '59',
	strk: 'L1',
	lastg: '9/5 vs MIL, L 2-6',
	interleague: '10-8',
	road: '34-32',
	games_back_wildcard: '-',
	team: 'Philadelphia'
}, {
	w: '69',
	elim: '18',
	rs: '617',
	div: 'nle',
	gameid: '2010_09_06_flomlb_phimlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_flomlb_phimlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14342988&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '22-24',
	xtr: '5-7',
	nextg: '9/6 @ PHI,  1:05P',
	vsW: '16-19',
	ra: '587',
	gb: '9.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_atlmlb_flomlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14330750&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '19',
	home: '35-33',
	code: 'fla',
	pct: '.511',
	league_sensitive_team_name: 'Florida',
	vsC: '15-13',
	vsE: '31-26',
	clinch: '',
	vsL: '29-12',
	vsR: '40-54',
	xwl: '71-64',
	l: '66',
	strk: 'W1',
	lastg: '9/5 vs ATL, W 7-6',
	interleague: '7-8',
	road: '34-33',
	games_back_wildcard: '8.0',
	team: 'Florida'
}, {
	w: '67',
	elim: '14',
	rs: '560',
	div: 'nle',
	gameid: '2010_09_06_nynmlb_wasmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_nynmlb_wasmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14341248&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '19-27',
	xtr: '5-8',
	nextg: '9/6 @ WSH,  1:05P',
	vsW: '14-18',
	ra: '548',
	gb: '12.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_nynmlb_chnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14309818&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '15',
	home: '39-25',
	code: 'nym',
	pct: '.489',
	league_sensitive_team_name: 'NY Mets',
	vsC: '16-16',
	vsE: '24-31',
	clinch: '',
	vsL: '18-16',
	vsR: '49-54',
	xwl: '70-67',
	l: '70',
	strk: 'W1',
	lastg: '9/5 @ CHC, W 18-5',
	interleague: '13-5',
	road: '28-45',
	games_back_wildcard: '11.0',
	team: 'New York'
}, {
	w: '59',
	elim: '6',
	rs: '572',
	div: 'nle',
	gameid: '2010_09_06_nynmlb_wasmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_nynmlb_wasmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14341248&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '17-24',
	xtr: '2-9',
	nextg: '9/6 vs NYM,  1:05P',
	vsW: '15-18',
	ra: '639',
	gb: '20.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_wasmlb_pitmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14323348&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '7',
	home: '34-31',
	code: 'was',
	pct: '.431',
	league_sensitive_team_name: 'Washington',
	vsC: '16-19',
	vsE: '23-28',
	clinch: '',
	vsL: '14-21',
	vsR: '45-57',
	xwl: '62-75',
	l: '78',
	strk: 'W2',
	lastg: '9/5 @ PIT, W 8-1',
	interleague: '5-13',
	road: '25-47',
	games_back_wildcard: '19.0',
	team: 'Washington'
}]
	var standings_rs_nlw =
[{
	w: '76',
	elim: '-',
	rs: '583',
	div: 'nlw',
	gameid: '2010_09_06_lanmlb_sdnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_lanmlb_sdnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14324176&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '0-10',
	onerun: '23-19',
	xtr: '7-7',
	nextg: '9/6 vs LAD, 10:05P',
	vsW: '28-28',
	ra: '481',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_colmlb_sdnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14321044&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '38-29',
	code: 'sd',
	pct: '.563',
	league_sensitive_team_name: 'San Diego',
	vsC: '23-7',
	vsE: '16-18',
	clinch: '',
	vsL: '25-16',
	vsR: '51-43',
	xwl: '79-56',
	l: '59',
	strk: 'L10',
	lastg: '9/5 vs COL, L 2-4',
	interleague: '9-6',
	road: '38-30',
	games_back_wildcard: null,
	team: 'San Diego'
}, {
	w: '76',
	elim: '26',
	rs: '603',
	div: 'nlw',
	gameid: '2010_09_06_sfnmlb_arimlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_sfnmlb_arimlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14346334&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '24-20',
	xtr: '10-7',
	nextg: '9/6 @ ARI,  4:10P',
	vsW: '25-28',
	ra: '532',
	gb: '1.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_sfnmlb_lanmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14347010&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '24',
	home: '42-27',
	code: 'sf',
	pct: '.555',
	league_sensitive_team_name: 'San Francisco',
	vsC: '25-11',
	vsE: '19-14',
	clinch: '',
	vsL: '20-17',
	vsR: '56-44',
	xwl: '76-61',
	l: '61',
	strk: 'W2',
	lastg: '9/5 @ LAD, W 3-0',
	interleague: '7-8',
	road: '34-34',
	games_back_wildcard: '2.0',
	team: 'San Francisco'
}, {
	w: '72',
	elim: '23',
	rs: '635',
	div: 'nlw',
	gameid: '2010_09_06_cinmlb_colmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_cinmlb_colmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14313934&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '24-24',
	xtr: '7-8',
	nextg: '9/6 vs CIN,  3:10P',
	vsW: '30-24',
	ra: '591',
	gb: '4.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_colmlb_sdnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14321044&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '21',
	home: '43-22',
	code: 'col',
	pct: '.529',
	league_sensitive_team_name: 'Colorado',
	vsC: '17-16',
	vsE: '16-18',
	clinch: '',
	vsL: '30-23',
	vsR: '42-41',
	xwl: '72-64',
	l: '64',
	strk: 'W3',
	lastg: '9/5 @ SD, W 4-2',
	interleague: '9-6',
	road: '29-42',
	games_back_wildcard: '5.5',
	team: 'Colorado'
}, {
	w: '69',
	elim: '19',
	rs: '587',
	div: 'nlw',
	gameid: '2010_09_06_lanmlb_sdnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_lanmlb_sdnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14324176&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '22-20',
	xtr: '7-4',
	nextg: '9/6 @ SD, 10:05P',
	vsW: '31-20',
	ra: '585',
	gb: '8.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_sfnmlb_lanmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14347010&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '17',
	home: '41-31',
	code: 'la',
	pct: '.504',
	league_sensitive_team_name: 'LA Dodgers',
	vsC: '21-17',
	vsE: '13-20',
	clinch: '',
	vsL: '18-22',
	vsR: '51-46',
	xwl: '69-68',
	l: '68',
	strk: 'L2',
	lastg: '9/5 vs SF, L 0-3',
	interleague: '4-11',
	road: '28-37',
	games_back_wildcard: '9.0',
	team: 'Los Angeles'
}, {
	w: '56',
	elim: '6',
	rs: '629',
	div: 'nlw',
	gameid: '2010_09_06_sfnmlb_arimlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_sfnmlb_arimlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14346334&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '17-19',
	xtr: '5-7',
	nextg: '9/6 vs SF,  4:10P',
	vsW: '20-34',
	ra: '730',
	gb: '21.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_houmlb_arimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14337358&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '4',
	home: '34-38',
	code: 'ari',
	pct: '.409',
	league_sensitive_team_name: 'Arizona',
	vsC: '14-22',
	vsE: '16-16',
	clinch: '',
	vsL: '15-24',
	vsR: '41-57',
	xwl: '59-78',
	l: '81',
	strk: 'L2',
	lastg: '9/5 vs HOU, L 2-3',
	interleague: '6-9',
	road: '22-43',
	games_back_wildcard: '22.0',
	team: 'Arizona'
}]

/**
 * @desc function star_mlb_standings()
 * The function star_mlb_standings() builds a small table of current standings
 *   and outputs it as a table inside the given html object.
 *
 * @param string division
 * @param string team
 */
function star_mlb_standings() {
	// Deal with any passed arguments.
	if (arguments[0] != null && arguments[0] != 'undefined' && in_array(arguments[0], ["alc","ale","alw","nlc","nle","nlw"])) {
		star_mlb_options['division']	= arguments[0];
	}
	if (arguments[1] != null && arguments[1] != 'undefined' && in_array(arguments[1], ["oak","ana","hou","tor","atl","mil","stl","chc","tb","ari","la","sf","cle","sea","fla","nym","was","bal","sd","phi","pit","tex","cin","bos","col","kc","det","min","cws","nyy"])) {
		star_mlb_options['team']		= arguments[1];
	}

	var showDivs	= true;
	var showSubHead	= true;

	// Build team mascots array.
	var mascots	= new Object;
	mascots['oak']	= 'A\'s';
	mascots['ana']	= 'Angels';
	mascots['hou']	= 'Astros';
	mascots['tor']	= 'Blue Jays';
	mascots['atl']	= 'Braves';
	mascots['mil']	= 'Brewers';
	mascots['stl']	= 'Cardinals';
	mascots['chc']	= 'Cubs';
	mascots['tb']	= 'Devil Rays';
	mascots['ari']	= 'Diamondbacks';
	mascots['la']	= 'Dodgers';
	mascots['sf']	= 'Giants';
	mascots['cle']	= 'Indians';
	mascots['sea']	= 'Mariners';
	mascots['fla']	= 'Marlins';
	mascots['nym']	= 'Mets';
	mascots['was']	= 'Nationals';
	mascots['bal']	= 'Orioles';
	mascots['sd']	= 'Padres';
	mascots['phi']	= 'Phillies';
	mascots['pit']	= 'Pirates';
	mascots['tex']	= 'Rangers';
	mascots['cin']	= 'Reds';
	mascots['bos']	= 'Red Sox';
	mascots['col']	= 'Rockies';
	mascots['kc']	= 'Royals';
	mascots['det']	= 'Tigers';
	mascots['min']	= 'Twins';
	mascots['cws']	= 'White Sox';
	mascots['nyy']	= 'Yankees';

	// Get the object to contain the standings content.
	var standingsBody	= document.getElementById('star_mlb_standings_body');

	// Get the object to contain the standings head.
	var standingsHead	= document.getElementById('star_mlb_standings_head');

	// Get the variable that contains the current standings and the head.
	var standings_rs	= '';
	var standings_head	= '';

	// Deal with the division.
	var division	= star_mlb_options['division'];
	if (division == null || division == 'undefined') {
		division	= 'nlc';
	}

	// Deal with the team.
	var team		= star_mlb_options['team'];

	switch (division) {
		// American League East.
		case 'ale':
			standings_rs	= eval('standings_rs_' + division);
			standings_head	= '<acronym title="American League">AL</acronym> East';
		break;

		// American League Central.
		case 'alc':
			standings_rs	= eval('standings_rs_' + division);
			standings_head	= '<acronym title="American League">AL</acronym> Central';
		break;

		// American League West.
		case 'alw':
			standings_rs	= eval('standings_rs_' + division);
			standings_head	= '<acronym title="American League">AL</acronym> West';
		break;

		// National League East.
		case 'nle':
			standings_rs	= eval('standings_rs_' + division);
			standings_head	= '<acronym title="National League">NL</acronym> East';
		break;

		// National League West.
		case 'nlw':
			standings_rs	= eval('standings_rs_' + division);
			standings_head	= '<acronym title="National League">NL</acronym> West';
		break;

		// National League Central.
		case 'nlc':
		default:
			standings_rs	= eval('standings_rs_' + division);
			standings_head	= '<acronym title="National League">NL</acronym> Central';
		break;
	}

	if (!showSubHead) {
		standings_head	= '';
	}

	// Build the links.
	var standings	= '';
	if (showDivs) {
		standings	+= '<div class="center">';
		if (division == 'alw') {
			standings	+= '<acronym title="American League West">ALW</acronym>\n';
		} else {
			standings	+= '<a href="javascript:star_mlb_standings(\'alw\');"><acronym title="American League West">ALW</acronym></a>\n';
		}
		if (division == 'alc') {
			standings	+= '<acronym title="American League Central">ALC</acronym>\n';
		} else {
			standings	+= '<a href="javascript:star_mlb_standings(\'alc\');"><acronym title="American League Central">ALC</acronym></a>\n';
		}
		if (division == 'ale') {
			standings	+= '<acronym title="American League East">ALE</acronym>\n';
		} else {
			standings	+= '<a href="javascript:star_mlb_standings(\'ale\');"><acronym title="American League East">ALE</acronym></a>\n';
		}
		if (division == 'nlw') {
			standings	+= '<acronym title="National League West">NLW</acronym>\n';
		} else {
			standings	+= '<a href="javascript:star_mlb_standings(\'nlw\');"><acronym title="National League West">NLW</acronym></a>\n';
		}
		if (division == 'nlc') {
			standings	+= '<acronym title="National League Central">NLC</acronym>\n';
		} else {
			standings	+= '<a href="javascript:star_mlb_standings(\'nlc\');"><acronym title="National League Central">NLC</acronym></a>\n';
		}
		if (division == 'nle') {
			standings	+= '<acronym title="National League East">NLE</acronym>\n';
		} else {
			standings	+= '<a href="javascript:star_mlb_standings(\'nle\');"><acronym title="National League East">NLE</acronym></a><br />\n';
		}
		standings	+= '</div>';
	}

	// Start the standings table.
	standings		+= '<table class="ruler"><thead><tr><th>Team</th><th><acronym title="Wins">W</acronym></th><th><acronym title="Losses">L</acronym></th><th><acronym title="Winning Percentage">Pct.</acronym></th><th><acronym title="Games Back">GB</acronym></th></tr></thead><tbody>';

	// Iterate through each of the teams, displaying their data.
	for (i = 0; i < standings_rs.length; i++) {
		// Bold the selected team.
		if (standings_rs[i].code == team) {
			standings_rs[i].league_sensitive_team_name	= standings_rs[i].league_sensitive_team_name;
		}

		// Check URL for last game wrap.
		if (standings_rs[i].wrap != null) {
			var url	= '<a href="http://mlb.mlb.com/news/boxscore.jsp?gid=' + standings_rs[i].gameid + '" title="Last game: ' + standings_rs[i].lastg + '">' + standings_rs[i].league_sensitive_team_name + '</a>';
		} else {
			var url	= '<span title="Last game: ' + standings_rs[i].lastg + '">' + standings_rs[i].league_sensitive_team_name + '</span>';
		}
		standings	+= '<tr>';
		standings	+= '<td>' + url + '</td>';
		standings	+= '<td>' + standings_rs[i].w + '</td>';
		standings	+= '<td>' + standings_rs[i].l + '</td>';
		standings	+= '<td>' + standings_rs[i].pct + '</td>';
		standings	+= '<td>' + standings_rs[i].gb + '</td>';
		standings	+= '</tr>';
	}

	// Close the table.
	standings	+= '</tbody></table>';

	// Include a link to full standings.
	standings	+= '<a class="bold" href="http://mlb.mlb.com/mlb/standings/index.jsp">Expanded Standings</a>';

	// Set the standings object to the standings table.
	standingsBody.innerHTML	= standings;
	standingsHead.innerHTML	= standings_head;
	if (typeof(tableruler) == 'function') {
		tableruler();
	}
}

function in_array(needle, haystack, strict) {
	// http://kevin.vanzonneveld.net
	// +   original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
	// *     example 1: in_array('van', ['Kevin', 'van', 'Zonneveld']);
	// *     returns 1: true

	var found = false, key, strict = !!strict;

	for (key in haystack) {
		if ((strict && haystack[key] === needle) || (!strict && haystack[key] == needle)) {
			found	= true;
			break;
		}
	}

	return found;
}

function addLoadEvent(func) {
	var oldonload	= window.onload;
	if (typeof window.onload != 'function') {
		window.onload	= func;
	} else {
		window.onload	= function() {
			if (oldonload) {
				oldonload();
			}
			func();
		}
	}
}

var star_mlb_options = new Object;
star_mlb_options['division']	= 'alw';
star_mlb_options['team']		= 'sea';
addLoadEvent(star_mlb_standings);
