	var standings_rs_alc =
[{
	w: '83',
	elim: '-',
	rs: '685',
	div: 'alc',
	gameid: '2010_09_10_minmlb_clemlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_minmlb_clemlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100909&content_id=14473388&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '8-2',
	onerun: '29-21',
	xtr: '8-4',
	nextg: '9/10 @ CLE,  7:05P',
	vsW: '23-10',
	ra: '564',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_kcamlb_minmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14460270&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '48-23',
	code: 'min',
	pct: '.593',
	league_sensitive_team_name: 'Minnesota',
	vsC: '38-19',
	vsE: '14-18',
	clinch: '',
	vsL: '29-20',
	vsR: '54-37',
	xwl: '82-58',
	l: '57',
	strk: 'W6',
	lastg: '9/8 vs KC, W 4-3',
	interleague: '8-10',
	road: '35-34',
	games_back_wildcard: null,
	team: 'Minnesota'
}, {
	w: '77',
	elim: '17',
	rs: '659',
	div: 'alc',
	gameid: '2010_09_10_kcamlb_chamlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_kcamlb_chamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14469896&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '22-21',
	xtr: '6-9',
	nextg: '9/10 vs KC,  8:10P',
	vsW: '20-11',
	ra: '590',
	gb: '6.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_09_chamlb_detmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100909&content_id=14478930&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '16',
	home: '38-27',
	code: 'cws',
	pct: '.550',
	league_sensitive_team_name: 'Chi White Sox',
	vsC: '28-32',
	vsE: '14-17',
	clinch: '',
	vsL: '16-17',
	vsR: '61-46',
	xwl: '77-63',
	l: '63',
	strk: 'L3',
	lastg: '9/9 @ DET, L 3-6',
	interleague: '15-3',
	road: '39-36',
	games_back_wildcard: '7.5',
	team: 'Chicago'
}, {
	w: '71',
	elim: '10',
	rs: '643',
	div: 'alc',
	gameid: '2010_09_10_balmlb_detmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_balmlb_detmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14444044&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '15-23',
	xtr: '5-8',
	nextg: '9/10 vs BAL,  7:05P',
	vsW: '15-16',
	ra: '638',
	gb: '12.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_09_chamlb_detmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100909&content_id=14478930&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '9',
	home: '46-26',
	code: 'det',
	pct: '.504',
	league_sensitive_team_name: 'Detroit',
	vsC: '30-30',
	vsE: '15-17',
	clinch: '',
	vsL: '23-18',
	vsR: '48-52',
	xwl: '71-70',
	l: '70',
	strk: 'W3',
	lastg: '9/9 vs CWS, W 6-3',
	interleague: '11-7',
	road: '25-44',
	games_back_wildcard: '14.0',
	team: 'Detroit'
}, {
	w: '57',
	elim: 'E',
	rs: '566',
	div: 'alc',
	gameid: '2010_09_10_kcamlb_chamlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_kcamlb_chamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14469896&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '26-28',
	xtr: '10-7',
	nextg: '9/10 @ CWS,  8:10P',
	vsW: '11-23',
	ra: '737',
	gb: '25.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_kcamlb_minmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14460270&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '31-37',
	code: 'kc',
	pct: '.410',
	league_sensitive_team_name: 'Kansas City',
	vsC: '23-33',
	vsE: '15-16',
	clinch: '',
	vsL: '11-22',
	vsR: '46-60',
	xwl: '53-86',
	l: '82',
	strk: 'L3',
	lastg: '9/8 @ MIN, L 3-4',
	interleague: '8-10',
	road: '26-45',
	games_back_wildcard: '27.0',
	team: 'Kansas City'
}, {
	w: '57',
	elim: 'E',
	rs: '557',
	div: 'alc',
	gameid: '2010_09_10_minmlb_clemlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_minmlb_clemlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100909&content_id=14473388&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '20-19',
	xtr: '5-5',
	nextg: '9/10 vs MIN,  7:05P',
	vsW: '11-17',
	ra: '667',
	gb: '26.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_clemlb_anamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14452058&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '29-39',
	code: 'cle',
	pct: '.407',
	league_sensitive_team_name: 'Cleveland',
	vsC: '24-29',
	vsE: '17-24',
	clinch: '',
	vsL: '16-26',
	vsR: '41-57',
	xwl: '59-81',
	l: '83',
	strk: 'L1',
	lastg: '9/8 @ LAA, L 3-4',
	interleague: '5-13',
	road: '28-44',
	games_back_wildcard: '27.5',
	team: 'Cleveland'
}]
	var standings_rs_ale =
[{
	w: '87',
	elim: '-',
	rs: '751',
	div: 'ale',
	gameid: '2010_09_10_nyamlb_texmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_nyamlb_texmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14444034&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '16-13',
	xtr: '4-3',
	nextg: '9/10 @ TEX,  8:05P',
	vsW: '23-10',
	ra: '572',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_balmlb_nyamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14442076&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '49-25',
	code: 'nyy',
	pct: '.621',
	league_sensitive_team_name: 'NY Yankees',
	vsC: '23-13',
	vsE: '30-23',
	clinch: '',
	vsL: '31-20',
	vsR: '56-33',
	xwl: '87-53',
	l: '53',
	strk: 'W1',
	lastg: '9/8 vs BAL, W 3-2',
	interleague: '11-7',
	road: '38-28',
	games_back_wildcard: null,
	team: 'New York'
}, {
	w: '84',
	elim: '21',
	rs: '698',
	div: 'ale',
	gameid: '2010_09_10_tbamlb_tormlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_tbamlb_tormlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14436712&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '24-23',
	xtr: '7-4',
	nextg: '9/10 @ TOR,  7:07P',
	vsW: '18-9',
	ra: '562',
	gb: '2.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_tbamlb_bosmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14436682&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '-',
	home: '43-26',
	code: 'tb',
	pct: '.604',
	league_sensitive_team_name: 'Tampa Bay',
	vsC: '24-11',
	vsE: '35-24',
	clinch: '',
	vsL: '31-16',
	vsR: '53-39',
	xwl: '83-56',
	l: '55',
	strk: 'L1',
	lastg: '9/8 @ BOS, L 5-11',
	interleague: '7-11',
	road: '41-29',
	games_back_wildcard: '-',
	team: 'Tampa Bay'
}, {
	w: '78',
	elim: '14',
	rs: '710',
	div: 'ale',
	gameid: '2010_09_10_bosmlb_oakmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_bosmlb_oakmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100909&content_id=14473868&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '21-21',
	xtr: '5-10',
	nextg: '9/10 @ OAK, 10:05P',
	vsW: '20-13',
	ra: '645',
	gb: '9.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_tbamlb_bosmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14436682&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '17',
	home: '42-30',
	code: 'bos',
	pct: '.557',
	league_sensitive_team_name: 'Boston',
	vsC: '14-15',
	vsE: '31-29',
	clinch: '',
	vsL: '24-23',
	vsR: '54-39',
	xwl: '76-64',
	l: '62',
	strk: 'W1',
	lastg: '9/8 vs TB, W 11-5',
	interleague: '13-5',
	road: '36-32',
	games_back_wildcard: '6.5',
	team: 'Boston'
}, {
	w: '72',
	elim: '8',
	rs: '653',
	div: 'ale',
	gameid: '2010_09_10_tbamlb_tormlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_tbamlb_tormlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14436712&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '19-25',
	xtr: '4-5',
	nextg: '9/10 vs TB,  7:07P',
	vsW: '15-13',
	ra: '621',
	gb: '15.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_09_texmlb_tormlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100909&content_id=14485696&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '11',
	home: '37-29',
	code: 'tor',
	pct: '.514',
	league_sensitive_team_name: 'Toronto',
	vsC: '19-18',
	vsE: '31-26',
	clinch: '',
	vsL: '11-19',
	vsR: '61-49',
	xwl: '73-67',
	l: '68',
	strk: 'L2',
	lastg: '9/9 vs TEX, L 2-4',
	interleague: '7-11',
	road: '35-39',
	games_back_wildcard: '12.5',
	team: 'Toronto'
}, {
	w: '53',
	elim: 'E',
	rs: '526',
	div: 'ale',
	gameid: '2010_09_10_balmlb_detmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_balmlb_detmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14444044&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '25-19',
	xtr: '11-3',
	nextg: '9/10 @ DET,  7:05P',
	vsW: '18-17',
	ra: '706',
	gb: '34.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_balmlb_nyamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14442076&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '30-41',
	code: 'bal',
	pct: '.379',
	league_sensitive_team_name: 'Baltimore',
	vsC: '12-18',
	vsE: '16-41',
	clinch: '',
	vsL: '16-28',
	vsR: '37-59',
	xwl: '52-88',
	l: '87',
	strk: 'L1',
	lastg: '9/8 @ NYY, L 2-3',
	interleague: '7-11',
	road: '23-46',
	games_back_wildcard: '31.5',
	team: 'Baltimore'
}]
	var standings_rs_alw =
[{
	w: '77',
	elim: '-',
	rs: '677',
	div: 'alw',
	gameid: '2010_09_10_nyamlb_texmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_nyamlb_texmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14444034&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '24-20',
	xtr: '9-5',
	nextg: '9/10 vs NYY,  8:05P',
	vsW: '24-16',
	ra: '599',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_09_texmlb_tormlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100909&content_id=14485696&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '43-26',
	code: 'tex',
	pct: '.550',
	league_sensitive_team_name: 'Texas',
	vsC: '23-18',
	vsE: '16-25',
	clinch: '',
	vsL: '23-22',
	vsR: '54-41',
	xwl: '78-62',
	l: '63',
	strk: 'W2',
	lastg: '9/9 @ TOR, W 4-2',
	interleague: '14-4',
	road: '34-37',
	games_back_wildcard: null,
	team: 'Texas'
}, {
	w: '69',
	elim: '16',
	rs: '564',
	div: 'alw',
	gameid: '2010_09_10_bosmlb_oakmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_bosmlb_oakmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100909&content_id=14473868&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '21-16',
	xtr: '4-6',
	nextg: '9/10 vs BOS, 10:05P',
	vsW: '25-21',
	ra: '538',
	gb: '7.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_seamlb_oakmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14467550&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '9',
	home: '42-29',
	code: 'oak',
	pct: '.496',
	league_sensitive_team_name: 'Oakland',
	vsC: '18-15',
	vsE: '18-24',
	clinch: '',
	vsL: '19-19',
	vsR: '50-51',
	xwl: '72-67',
	l: '70',
	strk: 'W1',
	lastg: '9/8 vs SEA, W 4-3',
	interleague: '8-10',
	road: '27-41',
	games_back_wildcard: '15.0',
	team: 'Oakland'
}, {
	w: '67',
	elim: '13',
	rs: '599',
	div: 'alw',
	gameid: '2010_09_10_seamlb_anamlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_seamlb_anamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100909&content_id=14474830&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '19-18',
	xtr: '6-4',
	nextg: '9/10 vs SEA, 10:05P',
	vsW: '25-19',
	ra: '637',
	gb: '10.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_clemlb_anamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14452058&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '6',
	home: '35-34',
	code: 'ana',
	pct: '.479',
	league_sensitive_team_name: 'LA Angels',
	vsC: '18-21',
	vsE: '13-26',
	clinch: '',
	vsL: '18-23',
	vsR: '49-50',
	xwl: '66-74',
	l: '73',
	strk: 'W1',
	lastg: '9/8 vs CLE, W 4-3',
	interleague: '11-7',
	road: '32-39',
	games_back_wildcard: '17.5',
	team: 'Los Angeles'
}, {
	w: '55',
	elim: '1',
	rs: '452',
	div: 'alw',
	gameid: '2010_09_10_seamlb_anamlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_seamlb_anamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100909&content_id=14474830&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '19-24',
	xtr: '3-10',
	nextg: '9/10 @ LAA, 10:05P',
	vsW: '13-31',
	ra: '594',
	gb: '22.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_seamlb_oakmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14467550&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '33-38',
	code: 'sea',
	pct: '.393',
	league_sensitive_team_name: 'Seattle',
	vsC: '18-26',
	vsE: '15-19',
	clinch: '',
	vsL: '12-30',
	vsR: '43-55',
	xwl: '53-87',
	l: '85',
	strk: 'L1',
	lastg: '9/8 @ OAK, L 3-4',
	interleague: '9-9',
	road: '22-47',
	games_back_wildcard: '29.5',
	team: 'Seattle'
}]
	var standings_rs_nlc =
[{
	w: '79',
	elim: '-',
	rs: '694',
	div: 'nlc',
	gameid: '2010_09_10_pitmlb_cinmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_pitmlb_cinmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14445278&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '22-23',
	xtr: '9-7',
	nextg: '9/10 vs PIT,  7:10P',
	vsW: '14-15',
	ra: '609',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_09_cinmlb_colmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100909&content_id=14484954&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '41-27',
	code: 'cin',
	pct: '.564',
	league_sensitive_team_name: 'Cincinnati',
	vsC: '40-24',
	vsE: '17-15',
	clinch: '',
	vsL: '26-19',
	vsR: '53-42',
	xwl: '78-62',
	l: '61',
	strk: 'L5',
	lastg: '9/9 @ COL, L 5-6',
	interleague: '8-7',
	road: '38-34',
	games_back_wildcard: null,
	team: 'Cincinnati'
}, {
	w: '73',
	elim: '19',
	rs: '625',
	div: 'nlc',
	gameid: '2010_09_10_slnmlb_atlmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_slnmlb_atlmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100909&content_id=14483344&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '18-22',
	xtr: '5-7',
	nextg: '9/10 @ ATL,  7:35P',
	vsW: '13-15',
	ra: '541',
	gb: '5.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_09_slnmlb_atlmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100909&content_id=14483338&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '18',
	home: '43-24',
	code: 'stl',
	pct: '.529',
	league_sensitive_team_name: 'St. Louis',
	vsC: '34-32',
	vsE: '17-12',
	clinch: '',
	vsL: '23-25',
	vsR: '50-40',
	xwl: '78-60',
	l: '65',
	strk: 'W1',
	lastg: '9/9 @ ATL, W 11-4',
	interleague: '9-6',
	road: '30-41',
	games_back_wildcard: '5.5',
	team: 'St. Louis'
}, {
	w: '67',
	elim: '11',
	rs: '530',
	div: 'nlc',
	gameid: '2010_09_10_lanmlb_houmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_lanmlb_houmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100909&content_id=14486624&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '8-2',
	onerun: '19-16',
	xtr: '7-4',
	nextg: '9/10 vs LAD,  8:05P',
	vsW: '12-20',
	ra: '621',
	gb: '12.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_09_lanmlb_houmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100909&content_id=14491752&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '10',
	home: '36-33',
	code: 'hou',
	pct: '.479',
	league_sensitive_team_name: 'Houston',
	vsC: '38-25',
	vsE: '14-16',
	clinch: '',
	vsL: '24-14',
	vsR: '43-59',
	xwl: '60-80',
	l: '73',
	strk: 'W3',
	lastg: '9/9 vs LAD, W 3-2',
	interleague: '3-12',
	road: '31-40',
	games_back_wildcard: '12.5',
	team: 'Houston'
}, {
	w: '65',
	elim: '10',
	rs: '657',
	div: 'nlc',
	gameid: '2010_09_10_chnmlb_milmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_chnmlb_milmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100909&content_id=14473356&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '23-18',
	xtr: '6-5',
	nextg: '9/10 vs CHC,  8:10P',
	vsW: '13-20',
	ra: '729',
	gb: '13.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_slnmlb_milmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14456672&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '9',
	home: '35-36',
	code: 'mil',
	pct: '.468',
	league_sensitive_team_name: 'Milwaukee',
	vsC: '33-32',
	vsE: '10-16',
	clinch: '',
	vsL: '20-24',
	vsR: '45-50',
	xwl: '63-76',
	l: '74',
	strk: 'W2',
	lastg: '9/8 vs STL, W 8-1',
	interleague: '9-6',
	road: '30-38',
	games_back_wildcard: '14.0',
	team: 'Milwaukee'
}, {
	w: '60',
	elim: '4',
	rs: '607',
	div: 'nlc',
	gameid: '2010_09_10_chnmlb_milmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_chnmlb_milmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100909&content_id=14473356&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '19-30',
	xtr: '4-6',
	nextg: '9/10 @ MIL,  8:10P',
	vsW: '12-15',
	ra: '709',
	gb: '19.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_houmlb_chnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14458106&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '3',
	home: '33-42',
	code: 'chc',
	pct: '.429',
	league_sensitive_team_name: 'Chi Cubs',
	vsC: '26-41',
	vsE: '14-14',
	clinch: '',
	vsL: '21-27',
	vsR: '39-53',
	xwl: '60-80',
	l: '80',
	strk: 'L2',
	lastg: '9/8 vs HOU, L 0-4',
	interleague: '8-10',
	road: '27-38',
	games_back_wildcard: '19.5',
	team: 'Chicago'
}, {
	w: '47',
	elim: 'E',
	rs: '482',
	div: 'nlc',
	gameid: '2010_09_10_pitmlb_cinmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_pitmlb_cinmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14445278&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '18-20',
	xtr: '4-5',
	nextg: '9/10 @ CIN,  7:10P',
	vsW: '10-19',
	ra: '755',
	gb: '31.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_atlmlb_pitmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14445166&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '33-39',
	code: 'pit',
	pct: '.338',
	league_sensitive_team_name: 'Pittsburgh',
	vsC: '25-42',
	vsE: '10-18',
	clinch: '',
	vsL: '18-25',
	vsR: '29-67',
	xwl: '43-96',
	l: '92',
	strk: 'L1',
	lastg: '9/8 vs ATL, L 3-9',
	interleague: '2-13',
	road: '14-53',
	games_back_wildcard: '32.0',
	team: 'Pittsburgh'
}]
	var standings_rs_nle =
[{
	w: '81',
	elim: '-',
	rs: '656',
	div: 'nle',
	gameid: '2010_09_10_phimlb_nynmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_phimlb_nynmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14436226&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '8-2',
	onerun: '25-14',
	xtr: '11-6',
	nextg: '9/10 @ NYM,  7:10P',
	vsW: '22-10',
	ra: '579',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_flomlb_phimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14461012&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '47-28',
	code: 'phi',
	pct: '.574',
	league_sensitive_team_name: 'Philadelphia',
	vsC: '21-19',
	vsE: '28-23',
	clinch: '',
	vsL: '23-19',
	vsR: '58-41',
	xwl: '78-63',
	l: '60',
	strk: 'W3',
	lastg: '9/8 vs FLA, W 10-6',
	interleague: '10-8',
	road: '34-32',
	games_back_wildcard: null,
	team: 'Philadelphia'
}, {
	w: '80',
	elim: '21',
	rs: '662',
	div: 'nle',
	gameid: '2010_09_10_slnmlb_atlmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_slnmlb_atlmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100909&content_id=14483344&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '20-21',
	xtr: '6-7',
	nextg: '9/10 vs STL,  7:35P',
	vsW: '19-15',
	ra: '544',
	gb: '1.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_09_slnmlb_atlmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100909&content_id=14483338&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '-',
	home: '49-20',
	code: 'atl',
	pct: '.567',
	league_sensitive_team_name: 'Atlanta',
	vsC: '23-15',
	vsE: '29-25',
	clinch: '',
	vsL: '25-25',
	vsR: '55-36',
	xwl: '83-58',
	l: '61',
	strk: 'L1',
	lastg: '9/9 vs STL, L 4-11',
	interleague: '9-6',
	road: '31-41',
	games_back_wildcard: '-',
	team: 'Atlanta'
}, {
	w: '70',
	elim: '13',
	rs: '641',
	div: 'nle',
	gameid: '2010_09_10_flomlb_wasmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_flomlb_wasmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14436208&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '22-25',
	xtr: '5-7',
	nextg: '9/10 @ WSH,  7:05P',
	vsW: '16-19',
	ra: '613',
	gb: '10.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_flomlb_phimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14461012&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '14',
	home: '35-33',
	code: 'fla',
	pct: '.504',
	league_sensitive_team_name: 'Florida',
	vsC: '15-13',
	vsE: '32-29',
	clinch: '',
	vsL: '29-13',
	vsR: '41-56',
	xwl: '72-67',
	l: '69',
	strk: 'L3',
	lastg: '9/8 @ PHI, L 6-10',
	interleague: '7-8',
	road: '35-36',
	games_back_wildcard: '9.0',
	team: 'Florida'
}, {
	w: '69',
	elim: '11',
	rs: '570',
	div: 'nle',
	gameid: '2010_09_10_phimlb_nynmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_phimlb_nynmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14436226&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '20-27',
	xtr: '5-8',
	nextg: '9/10 vs PHI,  7:10P',
	vsW: '14-18',
	ra: '564',
	gb: '11.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_nynmlb_wasmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14436256&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '12',
	home: '39-25',
	code: 'nym',
	pct: '.493',
	league_sensitive_team_name: 'NY Mets',
	vsC: '16-16',
	vsE: '26-32',
	clinch: '',
	vsL: '18-16',
	vsR: '51-55',
	xwl: '71-69',
	l: '71',
	strk: 'W2',
	lastg: '9/8 @ WSH, W 3-2',
	interleague: '13-5',
	road: '30-46',
	games_back_wildcard: '10.5',
	team: 'New York'
}, {
	w: '60',
	elim: '2',
	rs: '588',
	div: 'nle',
	gameid: '2010_09_10_flomlb_wasmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_flomlb_wasmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14436208&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '17-25',
	xtr: '2-9',
	nextg: '9/10 vs FLA,  7:05P',
	vsW: '15-18',
	ra: '649',
	gb: '20.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_nynmlb_wasmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14436256&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '3',
	home: '35-33',
	code: 'was',
	pct: '.429',
	league_sensitive_team_name: 'Washington',
	vsC: '16-19',
	vsE: '24-30',
	clinch: '',
	vsL: '14-21',
	vsR: '46-59',
	xwl: '64-76',
	l: '80',
	strk: 'L2',
	lastg: '9/8 vs NYM, L 2-3',
	interleague: '5-13',
	road: '25-47',
	games_back_wildcard: '19.5',
	team: 'Washington'
}]
	var standings_rs_nlw =
[{
	w: '79',
	elim: '-',
	rs: '596',
	div: 'nlw',
	gameid: '2010_09_10_sfnmlb_sdnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_sfnmlb_sdnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100910&content_id=14495670&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '24-19',
	xtr: '7-7',
	nextg: '9/10 vs SF, 10:05P',
	vsW: '31-29',
	ra: '491',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_09_sfnmlb_sdnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100909&content_id=14493656&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '41-30',
	code: 'sd',
	pct: '.568',
	league_sensitive_team_name: 'San Diego',
	vsC: '23-7',
	vsE: '16-18',
	clinch: '',
	vsL: '26-16',
	vsR: '53-44',
	xwl: '82-57',
	l: '60',
	strk: 'L1',
	lastg: '9/9 vs SF, L 3-7',
	interleague: '9-6',
	road: '38-30',
	games_back_wildcard: null,
	team: 'San Diego'
}, {
	w: '79',
	elim: '22',
	rs: '619',
	div: 'nlw',
	gameid: '2010_09_10_sfnmlb_sdnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_sfnmlb_sdnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100910&content_id=14495670&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '24-20',
	xtr: '11-7',
	nextg: '9/10 @ SD, 10:05P',
	vsW: '28-29',
	ra: '541',
	gb: '1.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_09_sfnmlb_sdnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100909&content_id=14493656&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '21',
	home: '42-27',
	code: 'sf',
	pct: '.560',
	league_sensitive_team_name: 'San Francisco',
	vsC: '25-11',
	vsE: '19-14',
	clinch: '',
	vsL: '20-17',
	vsR: '59-45',
	xwl: '79-62',
	l: '62',
	strk: 'W1',
	lastg: '9/9 @ SD, W 7-3',
	interleague: '7-8',
	road: '37-35',
	games_back_wildcard: '1.0',
	team: 'San Francisco'
}, {
	w: '76',
	elim: '20',
	rs: '664',
	div: 'nlw',
	gameid: '2010_09_10_arimlb_colmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_arimlb_colmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14452708&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '26-24',
	xtr: '7-8',
	nextg: '9/10 vs ARI,  9:10P',
	vsW: '30-24',
	ra: '606',
	gb: '3.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_09_cinmlb_colmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100909&content_id=14484954&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '19',
	home: '47-22',
	code: 'col',
	pct: '.543',
	league_sensitive_team_name: 'Colorado',
	vsC: '21-16',
	vsE: '16-18',
	clinch: '',
	vsL: '31-23',
	vsR: '45-41',
	xwl: '76-64',
	l: '64',
	strk: 'W7',
	lastg: '9/9 vs CIN, W 6-5',
	interleague: '9-6',
	road: '29-42',
	games_back_wildcard: '3.5',
	team: 'Colorado'
}, {
	w: '69',
	elim: '12',
	rs: '592',
	div: 'nlw',
	gameid: '2010_09_10_lanmlb_houmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_lanmlb_houmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100909&content_id=14486624&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '2-8',
	onerun: '22-22',
	xtr: '7-4',
	nextg: '9/10 @ HOU,  8:05P',
	vsW: '31-23',
	ra: '598',
	gb: '11.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_09_lanmlb_houmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100909&content_id=14491752&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '11',
	home: '41-31',
	code: 'la',
	pct: '.489',
	league_sensitive_team_name: 'LA Dodgers',
	vsC: '21-18',
	vsE: '13-20',
	clinch: '',
	vsL: '18-23',
	vsR: '51-49',
	xwl: '70-71',
	l: '72',
	strk: 'L6',
	lastg: '9/9 @ HOU, L 2-3',
	interleague: '4-11',
	road: '28-41',
	games_back_wildcard: '11.0',
	team: 'Los Angeles'
}, {
	w: '57',
	elim: '1',
	rs: '635',
	div: 'nlw',
	gameid: '2010_09_10_arimlb_colmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_10_arimlb_colmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14452708&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '17-19',
	xtr: '5-8',
	nextg: '9/10 @ COL,  9:10P',
	vsW: '21-36',
	ra: '739',
	gb: '22.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_08_sfnmlb_arimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14452584&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '35-40',
	code: 'ari',
	pct: '.407',
	league_sensitive_team_name: 'Arizona',
	vsC: '14-22',
	vsE: '16-16',
	clinch: '',
	vsL: '16-25',
	vsR: '41-58',
	xwl: '60-80',
	l: '83',
	strk: 'W1',
	lastg: '9/8 vs SF, W 3-1',
	interleague: '6-9',
	road: '22-43',
	games_back_wildcard: '22.5',
	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']	= 'nlc';
star_mlb_options['team']		= 'stl';
addLoadEvent(star_mlb_standings);
