	var standings_rs_alc =
[{
	w: '82',
	elim: '-',
	rs: '681',
	div: 'alc',
	gameid: '2010_09_08_kcamlb_minmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_kcamlb_minmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14431002&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '8-2',
	onerun: '28-21',
	xtr: '8-4',
	nextg: '9/8 vs KC,  8:10P',
	vsW: '23-10',
	ra: '561',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_kcamlb_minmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14425952&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '47-23',
	code: 'min',
	pct: '.590',
	league_sensitive_team_name: 'Minnesota',
	vsC: '37-19',
	vsE: '14-18',
	clinch: '',
	vsL: '29-20',
	vsR: '53-37',
	xwl: '82-57',
	l: '57',
	strk: 'W5',
	lastg: '9/7 vs KC, W 10-3',
	interleague: '8-10',
	road: '35-34',
	games_back_wildcard: null,
	team: 'Minnesota'
}, {
	w: '77',
	elim: '20',
	rs: '655',
	div: 'alc',
	gameid: '2010_09_08_chamlb_detmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_chamlb_detmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14430978&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '22-21',
	xtr: '6-9',
	nextg: '9/8 @ DET,  7:05P',
	vsW: '20-11',
	ra: '579',
	gb: '4.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_chamlb_detmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14408966&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '18',
	home: '38-27',
	code: 'cws',
	pct: '.558',
	league_sensitive_team_name: 'Chi White Sox',
	vsC: '28-30',
	vsE: '14-17',
	clinch: '',
	vsL: '16-17',
	vsR: '61-44',
	xwl: '77-61',
	l: '61',
	strk: 'L1',
	lastg: '9/7 @ DET, L 1-9',
	interleague: '15-3',
	road: '39-34',
	games_back_wildcard: '7.0',
	team: 'Chicago'
}, {
	w: '69',
	elim: '11',
	rs: '632',
	div: 'alc',
	gameid: '2010_09_08_chamlb_detmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_chamlb_detmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14430978&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '15-23',
	xtr: '5-8',
	nextg: '9/8 vs CWS,  7:05P',
	vsW: '15-16',
	ra: '634',
	gb: '13.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_chamlb_detmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14408966&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '9',
	home: '44-26',
	code: 'det',
	pct: '.496',
	league_sensitive_team_name: 'Detroit',
	vsC: '28-30',
	vsE: '15-17',
	clinch: '',
	vsL: '22-18',
	vsR: '47-52',
	xwl: '69-70',
	l: '70',
	strk: 'W1',
	lastg: '9/7 vs CWS, W 9-1',
	interleague: '11-7',
	road: '25-44',
	games_back_wildcard: '15.5',
	team: 'Detroit'
}, {
	w: '57',
	elim: 'E',
	rs: '563',
	div: 'alc',
	gameid: '2010_09_08_kcamlb_minmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_kcamlb_minmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14431002&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '26-27',
	xtr: '10-7',
	nextg: '9/8 @ MIN,  8:10P',
	vsW: '11-23',
	ra: '733',
	gb: '24.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_kcamlb_minmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14425952&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '31-37',
	code: 'kc',
	pct: '.413',
	league_sensitive_team_name: 'Kansas City',
	vsC: '23-32',
	vsE: '15-16',
	clinch: '',
	vsL: '11-21',
	vsR: '46-60',
	xwl: '53-85',
	l: '81',
	strk: 'L2',
	lastg: '9/7 @ MIN, L 3-10',
	interleague: '8-10',
	road: '26-44',
	games_back_wildcard: '27.0',
	team: 'Kansas City'
}, {
	w: '57',
	elim: 'E',
	rs: '554',
	div: 'alc',
	gameid: '2010_09_08_clemlb_anamlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_clemlb_anamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14408300&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '20-18',
	xtr: '5-4',
	nextg: '9/8 @ LAA,  7:05P',
	vsW: '11-16',
	ra: '663',
	gb: '25.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_clemlb_anamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14429728&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '29-39',
	code: 'cle',
	pct: '.410',
	league_sensitive_team_name: 'Cleveland',
	vsC: '24-29',
	vsE: '17-24',
	clinch: '',
	vsL: '16-25',
	vsR: '41-57',
	xwl: '58-81',
	l: '82',
	strk: 'W2',
	lastg: '9/7 @ LAA, W 6-1',
	interleague: '5-13',
	road: '28-43',
	games_back_wildcard: '27.5',
	team: 'Cleveland'
}]
	var standings_rs_ale =
[{
	w: '86',
	elim: '-',
	rs: '748',
	div: 'ale',
	gameid: '2010_09_08_balmlb_nyamlb_1',
	status: 'I',
	pre: null,
	last10: '7-3',
	onerun: '15-13',
	xtr: '4-3',
	nextg: '9/8 vs BAL, <a href="javascript:void(0)" onclick="launchGameday({gid:\'2010_09_08_balmlb_nyamlb_1\',mode:\'gameday\'})">LIVE</a>',
	vsW: '23-10',
	ra: '570',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_balmlb_nyamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14410286&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '48-25',
	code: 'nyy',
	pct: '.619',
	league_sensitive_team_name: 'NY Yankees',
	vsC: '23-13',
	vsE: '29-23',
	clinch: '',
	vsL: '31-20',
	vsR: '55-33',
	xwl: '86-53',
	l: '53',
	strk: 'L3',
	lastg: '9/7 vs BAL, L 2-6',
	interleague: '11-7',
	road: '38-28',
	games_back_wildcard: null,
	team: 'New York'
}, {
	w: '84',
	elim: '23',
	rs: '693',
	div: 'ale',
	gameid: '2010_09_08_tbamlb_bosmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_tbamlb_bosmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14393930&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '24-23',
	xtr: '7-4',
	nextg: '9/8 @ BOS,  7:10P',
	vsW: '18-9',
	ra: '551',
	gb: '1.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_tbamlb_bosmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14393792&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '-',
	home: '43-26',
	code: 'tb',
	pct: '.609',
	league_sensitive_team_name: 'Tampa Bay',
	vsC: '24-11',
	vsE: '35-23',
	clinch: '',
	vsL: '31-16',
	vsR: '53-38',
	xwl: '83-55',
	l: '54',
	strk: 'W1',
	lastg: '9/7 @ BOS, W 14-5',
	interleague: '7-11',
	road: '41-28',
	games_back_wildcard: '-',
	team: 'Tampa Bay'
}, {
	w: '77',
	elim: '15',
	rs: '699',
	div: 'ale',
	gameid: '2010_09_08_tbamlb_bosmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_tbamlb_bosmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14393930&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '21-21',
	xtr: '5-10',
	nextg: '9/8 vs TB,  7:10P',
	vsW: '20-13',
	ra: '640',
	gb: '9.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_tbamlb_bosmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14393792&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '17',
	home: '41-30',
	code: 'bos',
	pct: '.554',
	league_sensitive_team_name: 'Boston',
	vsC: '14-15',
	vsE: '30-29',
	clinch: '',
	vsL: '24-23',
	vsR: '53-39',
	xwl: '75-64',
	l: '62',
	strk: 'L1',
	lastg: '9/7 vs TB, L 5-14',
	interleague: '13-5',
	road: '36-32',
	games_back_wildcard: '7.5',
	team: 'Boston'
}, {
	w: '72',
	elim: '11',
	rs: '650',
	div: 'ale',
	gameid: '2010_09_08_texmlb_tormlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_texmlb_tormlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14424604&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '19-25',
	xtr: '4-5',
	nextg: '9/8 vs TEX,  7:07P',
	vsW: '15-11',
	ra: '609',
	gb: '13.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_texmlb_tormlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14410630&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '13',
	home: '37-27',
	code: 'tor',
	pct: '.522',
	league_sensitive_team_name: 'Toronto',
	vsC: '19-18',
	vsE: '31-26',
	clinch: '',
	vsL: '11-18',
	vsR: '61-48',
	xwl: '73-65',
	l: '66',
	strk: 'W3',
	lastg: '9/7 vs TEX, W 8-5',
	interleague: '7-11',
	road: '35-39',
	games_back_wildcard: '12.0',
	team: 'Toronto'
}, {
	w: '53',
	elim: 'E',
	rs: '524',
	div: 'ale',
	gameid: '2010_09_08_balmlb_nyamlb_1',
	status: 'I',
	pre: null,
	last10: '7-3',
	onerun: '25-18',
	xtr: '11-3',
	nextg: '9/8 @ NYY, <a href="javascript:void(0)" onclick="launchGameday({gid:\'2010_09_08_balmlb_nyamlb_1\',mode:\'gameday\'})">LIVE</a>',
	vsW: '18-17',
	ra: '703',
	gb: '33.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_balmlb_nyamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14410286&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '30-41',
	code: 'bal',
	pct: '.381',
	league_sensitive_team_name: 'Baltimore',
	vsC: '12-18',
	vsE: '16-40',
	clinch: '',
	vsL: '16-28',
	vsR: '37-58',
	xwl: '51-88',
	l: '86',
	strk: 'W4',
	lastg: '9/7 @ NYY, W 6-2',
	interleague: '7-11',
	road: '23-45',
	games_back_wildcard: '31.5',
	team: 'Baltimore'
}]
	var standings_rs_alw =
[{
	w: '75',
	elim: '-',
	rs: '665',
	div: 'alw',
	gameid: '2010_09_08_texmlb_tormlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_texmlb_tormlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14424604&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '2-8',
	onerun: '24-20',
	xtr: '9-5',
	nextg: '9/8 @ TOR,  7:07P',
	vsW: '24-16',
	ra: '596',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_texmlb_tormlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14410630&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '43-26',
	code: 'tex',
	pct: '.543',
	league_sensitive_team_name: 'Texas',
	vsC: '23-18',
	vsE: '14-25',
	clinch: '',
	vsL: '22-22',
	vsR: '53-41',
	xwl: '76-62',
	l: '63',
	strk: 'L5',
	lastg: '9/7 @ TOR, L 5-8',
	interleague: '14-4',
	road: '32-37',
	games_back_wildcard: null,
	team: 'Texas'
}, {
	w: '68',
	elim: '18',
	rs: '560',
	div: 'alw',
	gameid: '2010_09_08_seamlb_oakmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_seamlb_oakmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14408322&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '20-16',
	xtr: '4-6',
	nextg: '9/8 vs SEA, 10:05P',
	vsW: '24-21',
	ra: '535',
	gb: '7.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_seamlb_oakmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14408542&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '9',
	home: '41-29',
	code: 'oak',
	pct: '.493',
	league_sensitive_team_name: 'Oakland',
	vsC: '18-15',
	vsE: '18-24',
	clinch: '',
	vsL: '18-19',
	vsR: '50-51',
	xwl: '72-66',
	l: '70',
	strk: 'L1',
	lastg: '9/7 vs SEA, L 5-7',
	interleague: '8-10',
	road: '27-41',
	games_back_wildcard: '16.0',
	team: 'Oakland'
}, {
	w: '66',
	elim: '15',
	rs: '595',
	div: 'alw',
	gameid: '2010_09_08_clemlb_anamlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_clemlb_anamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14408300&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '18-18',
	xtr: '5-4',
	nextg: '9/8 vs CLE,  7:05P',
	vsW: '25-19',
	ra: '634',
	gb: '9.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_clemlb_anamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100908&content_id=14429728&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '6',
	home: '34-34',
	code: 'ana',
	pct: '.475',
	league_sensitive_team_name: 'LA Angels',
	vsC: '17-21',
	vsE: '13-26',
	clinch: '',
	vsL: '18-23',
	vsR: '48-50',
	xwl: '65-74',
	l: '73',
	strk: 'L2',
	lastg: '9/7 vs CLE, L 1-6',
	interleague: '11-7',
	road: '32-39',
	games_back_wildcard: '18.5',
	team: 'Los Angeles'
}, {
	w: '55',
	elim: '4',
	rs: '449',
	div: 'alw',
	gameid: '2010_09_08_seamlb_oakmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_seamlb_oakmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14408322&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '19-23',
	xtr: '3-10',
	nextg: '9/8 @ OAK, 10:05P',
	vsW: '13-30',
	ra: '590',
	gb: '20.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_seamlb_oakmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14408542&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '33-38',
	code: 'sea',
	pct: '.396',
	league_sensitive_team_name: 'Seattle',
	vsC: '18-26',
	vsE: '15-19',
	clinch: '',
	vsL: '12-29',
	vsR: '43-55',
	xwl: '53-86',
	l: '84',
	strk: 'W1',
	lastg: '9/7 @ OAK, W 7-5',
	interleague: '9-9',
	road: '22-46',
	games_back_wildcard: '29.5',
	team: 'Seattle'
}]
	var standings_rs_nlc =
[{
	w: '79',
	elim: '-',
	rs: '687',
	div: 'nlc',
	gameid: '2010_09_08_cinmlb_colmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_cinmlb_colmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14417258&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '22-22',
	xtr: '9-7',
	nextg: '9/8 @ COL,  8:40P',
	vsW: '14-13',
	ra: '594',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_cinmlb_colmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14413856&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '41-27',
	code: 'cin',
	pct: '.572',
	league_sensitive_team_name: 'Cincinnati',
	vsC: '40-24',
	vsE: '17-15',
	clinch: '',
	vsL: '26-19',
	vsR: '53-40',
	xwl: '78-60',
	l: '59',
	strk: 'L3',
	lastg: '9/7 @ COL, L 3-4',
	interleague: '8-7',
	road: '38-32',
	games_back_wildcard: null,
	team: 'Cincinnati'
}, {
	w: '72',
	elim: '20',
	rs: '613',
	div: 'nlc',
	gameid: '2010_09_08_slnmlb_milmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_slnmlb_milmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14401396&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '18-22',
	xtr: '5-7',
	nextg: '9/8 @ MIL,  8:10P',
	vsW: '13-15',
	ra: '529',
	gb: '6.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_slnmlb_milmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14400252&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '20',
	home: '43-24',
	code: 'stl',
	pct: '.529',
	league_sensitive_team_name: 'St. Louis',
	vsC: '34-31',
	vsE: '16-12',
	clinch: '',
	vsL: '23-24',
	vsR: '49-40',
	xwl: '77-59',
	l: '64',
	strk: 'L1',
	lastg: '9/7 @ MIL, L 2-4',
	interleague: '9-6',
	road: '29-40',
	games_back_wildcard: '5.5',
	team: 'St. Louis'
}, {
	w: '65',
	elim: '11',
	rs: '523',
	div: 'nlc',
	gameid: '2010_09_08_houmlb_chnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_houmlb_chnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14418578&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '18-16',
	xtr: '7-4',
	nextg: '9/8 @ CHC,  8:05P',
	vsW: '11-20',
	ra: '619',
	gb: '14.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_houmlb_chnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14417486&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '11',
	home: '35-33',
	code: 'hou',
	pct: '.471',
	league_sensitive_team_name: 'Houston',
	vsC: '37-25',
	vsE: '14-16',
	clinch: '',
	vsL: '23-14',
	vsR: '42-59',
	xwl: '59-79',
	l: '73',
	strk: 'W1',
	lastg: '9/7 @ CHC, W 7-3',
	interleague: '3-12',
	road: '30-40',
	games_back_wildcard: '13.5',
	team: 'Houston'
}, {
	w: '64',
	elim: '10',
	rs: '649',
	div: 'nlc',
	gameid: '2010_09_08_slnmlb_milmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_slnmlb_milmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14401396&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '23-18',
	xtr: '6-5',
	nextg: '9/8 vs STL,  8:10P',
	vsW: '13-20',
	ra: '728',
	gb: '15.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_slnmlb_milmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14400252&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '10',
	home: '34-36',
	code: 'mil',
	pct: '.464',
	league_sensitive_team_name: 'Milwaukee',
	vsC: '32-32',
	vsE: '10-16',
	clinch: '',
	vsL: '19-24',
	vsR: '45-50',
	xwl: '62-76',
	l: '74',
	strk: 'W1',
	lastg: '9/7 vs STL, W 4-2',
	interleague: '9-6',
	road: '30-38',
	games_back_wildcard: '14.5',
	team: 'Milwaukee'
}, {
	w: '60',
	elim: '5',
	rs: '607',
	div: 'nlc',
	gameid: '2010_09_08_houmlb_chnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_houmlb_chnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14418578&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '19-30',
	xtr: '4-6',
	nextg: '9/8 vs HOU,  8:05P',
	vsW: '12-15',
	ra: '705',
	gb: '19.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_houmlb_chnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14417486&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '5',
	home: '33-41',
	code: 'chc',
	pct: '.432',
	league_sensitive_team_name: 'Chi Cubs',
	vsC: '26-40',
	vsE: '14-14',
	clinch: '',
	vsL: '21-27',
	vsR: '39-52',
	xwl: '60-79',
	l: '79',
	strk: 'L1',
	lastg: '9/7 vs HOU, L 3-7',
	interleague: '8-10',
	road: '27-38',
	games_back_wildcard: '19.0',
	team: 'Chicago'
}, {
	w: '47',
	elim: 'E',
	rs: '479',
	div: 'nlc',
	gameid: '2010_09_08_atlmlb_pitmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_atlmlb_pitmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14429792&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '18-20',
	xtr: '4-5',
	nextg: '9/8 vs ATL,  7:05P',
	vsW: '10-19',
	ra: '746',
	gb: '32.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_atlmlb_pitmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14405372&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '33-38',
	code: 'pit',
	pct: '.341',
	league_sensitive_team_name: 'Pittsburgh',
	vsC: '25-42',
	vsE: '10-17',
	clinch: '',
	vsL: '18-25',
	vsR: '29-66',
	xwl: '43-95',
	l: '91',
	strk: 'W2',
	lastg: '9/7 vs ATL, W 5-0',
	interleague: '2-13',
	road: '14-53',
	games_back_wildcard: '31.5',
	team: 'Pittsburgh'
}]
	var standings_rs_nle =
[{
	w: '80',
	elim: '-',
	rs: '646',
	div: 'nle',
	gameid: '2010_09_08_flomlb_phimlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_flomlb_phimlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14416496&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '25-14',
	xtr: '11-6',
	nextg: '9/8 vs FLA,  7:05P',
	vsW: '22-10',
	ra: '573',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_flomlb_phimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14412572&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '46-28',
	code: 'phi',
	pct: '.571',
	league_sensitive_team_name: 'Philadelphia',
	vsC: '21-19',
	vsE: '27-23',
	clinch: '',
	vsL: '22-19',
	vsR: '58-41',
	xwl: '78-62',
	l: '60',
	strk: 'W2',
	lastg: '9/7 vs FLA, W 8-7',
	interleague: '10-8',
	road: '34-32',
	games_back_wildcard: null,
	team: 'Philadelphia'
}, {
	w: '79',
	elim: '23',
	rs: '649',
	div: 'nle',
	gameid: '2010_09_08_atlmlb_pitmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_atlmlb_pitmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14429792&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '20-21',
	xtr: '6-7',
	nextg: '9/8 @ PIT,  7:05P',
	vsW: '19-15',
	ra: '530',
	gb: '0.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_atlmlb_pitmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14405372&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '-',
	home: '49-19',
	code: 'atl',
	pct: '.568',
	league_sensitive_team_name: 'Atlanta',
	vsC: '22-14',
	vsE: '29-25',
	clinch: '',
	vsL: '24-25',
	vsR: '55-35',
	xwl: '82-57',
	l: '60',
	strk: 'L3',
	lastg: '9/7 @ PIT, L 0-5',
	interleague: '9-6',
	road: '30-41',
	games_back_wildcard: '-',
	team: 'Atlanta'
}, {
	w: '70',
	elim: '15',
	rs: '635',
	div: 'nle',
	gameid: '2010_09_08_flomlb_phimlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_flomlb_phimlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14416496&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '22-25',
	xtr: '5-7',
	nextg: '9/8 @ PHI,  7:05P',
	vsW: '16-19',
	ra: '603',
	gb: '9.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_flomlb_phimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14412572&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '16',
	home: '35-33',
	code: 'fla',
	pct: '.507',
	league_sensitive_team_name: 'Florida',
	vsC: '15-13',
	vsE: '32-28',
	clinch: '',
	vsL: '29-12',
	vsR: '41-56',
	xwl: '72-66',
	l: '68',
	strk: 'L2',
	lastg: '9/7 @ PHI, L 7-8',
	interleague: '7-8',
	road: '35-35',
	games_back_wildcard: '8.5',
	team: 'Florida'
}, {
	w: '68',
	elim: '12',
	rs: '567',
	div: 'nle',
	gameid: '2010_09_08_nynmlb_wasmlb_1',
	status: 'I',
	pre: null,
	last10: '4-6',
	onerun: '19-27',
	xtr: '5-8',
	nextg: '9/8 @ WSH, <a href="javascript:void(0)" onclick="launchGameday({gid:\'2010_09_08_nynmlb_wasmlb_1\',mode:\'gameday\'})">LIVE</a>',
	vsW: '14-18',
	ra: '562',
	gb: '11.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_nynmlb_wasmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14411082&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '13',
	home: '39-25',
	code: 'nym',
	pct: '.489',
	league_sensitive_team_name: 'NY Mets',
	vsC: '16-16',
	vsE: '25-32',
	clinch: '',
	vsL: '18-16',
	vsR: '50-55',
	xwl: '70-69',
	l: '71',
	strk: 'W1',
	lastg: '9/7 @ WSH, W 4-1',
	interleague: '13-5',
	road: '29-46',
	games_back_wildcard: '11.0',
	team: 'New York'
}, {
	w: '60',
	elim: '4',
	rs: '586',
	div: 'nle',
	gameid: '2010_09_08_nynmlb_wasmlb_1',
	status: 'I',
	pre: null,
	last10: '6-4',
	onerun: '17-24',
	xtr: '2-9',
	nextg: '9/8 vs NYM, <a href="javascript:void(0)" onclick="launchGameday({gid:\'2010_09_08_nynmlb_wasmlb_1\',mode:\'gameday\'})">LIVE</a>',
	vsW: '15-18',
	ra: '646',
	gb: '19.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_nynmlb_wasmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14411082&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '5',
	home: '35-32',
	code: 'was',
	pct: '.432',
	league_sensitive_team_name: 'Washington',
	vsC: '16-19',
	vsE: '24-29',
	clinch: '',
	vsL: '14-21',
	vsR: '46-58',
	xwl: '63-76',
	l: '79',
	strk: 'L1',
	lastg: '9/7 vs NYM, L 1-4',
	interleague: '5-13',
	road: '25-47',
	games_back_wildcard: '19.0',
	team: 'Washington'
}]
	var standings_rs_nlw =
[{
	w: '78',
	elim: '-',
	rs: '589',
	div: 'nlw',
	gameid: '2010_09_08_lanmlb_sdnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_lanmlb_sdnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14403602&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '2-8',
	onerun: '24-19',
	xtr: '7-7',
	nextg: '9/8 vs LAD, 10:05P',
	vsW: '30-28',
	ra: '484',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_lanmlb_sdnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14417902&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '40-29',
	code: 'sd',
	pct: '.569',
	league_sensitive_team_name: 'San Diego',
	vsC: '23-7',
	vsE: '16-18',
	clinch: '',
	vsL: '26-16',
	vsR: '52-43',
	xwl: '81-56',
	l: '59',
	strk: 'W2',
	lastg: '9/7 vs LAD, W 2-1',
	interleague: '9-6',
	road: '38-30',
	games_back_wildcard: null,
	team: 'San Diego'
}, {
	w: '78',
	elim: '24',
	rs: '611',
	div: 'nlw',
	gameid: '2010_09_08_sfnmlb_arimlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_sfnmlb_arimlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14430992&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '24-20',
	xtr: '11-7',
	nextg: '9/8 @ ARI,  9:40P',
	vsW: '27-28',
	ra: '535',
	gb: '1.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_sfnmlb_arimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14391740&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '23',
	home: '42-27',
	code: 'sf',
	pct: '.561',
	league_sensitive_team_name: 'San Francisco',
	vsC: '25-11',
	vsE: '19-14',
	clinch: '',
	vsL: '20-17',
	vsR: '58-44',
	xwl: '78-61',
	l: '61',
	strk: 'W4',
	lastg: '9/7 @ ARI, W 6-3',
	interleague: '7-8',
	road: '36-34',
	games_back_wildcard: '1.0',
	team: 'San Francisco'
}, {
	w: '74',
	elim: '21',
	rs: '649',
	div: 'nlw',
	gameid: '2010_09_08_cinmlb_colmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_cinmlb_colmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14417258&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '25-24',
	xtr: '7-8',
	nextg: '9/8 vs CIN,  8:40P',
	vsW: '30-24',
	ra: '599',
	gb: '4.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_cinmlb_colmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14413856&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '20',
	home: '45-22',
	code: 'col',
	pct: '.536',
	league_sensitive_team_name: 'Colorado',
	vsC: '19-16',
	vsE: '16-18',
	clinch: '',
	vsL: '30-23',
	vsR: '44-41',
	xwl: '74-64',
	l: '64',
	strk: 'W5',
	lastg: '9/7 vs CIN, W 4-3',
	interleague: '9-6',
	road: '29-42',
	games_back_wildcard: '4.5',
	team: 'Colorado'
}, {
	w: '69',
	elim: '15',
	rs: '590',
	div: 'nlw',
	gameid: '2010_09_08_lanmlb_sdnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_lanmlb_sdnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100907&content_id=14403602&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '2-8',
	onerun: '22-21',
	xtr: '7-4',
	nextg: '9/8 @ SD, 10:05P',
	vsW: '31-22',
	ra: '591',
	gb: '10.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_lanmlb_sdnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14417902&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '14',
	home: '41-31',
	code: 'la',
	pct: '.496',
	league_sensitive_team_name: 'LA Dodgers',
	vsC: '21-17',
	vsE: '13-20',
	clinch: '',
	vsL: '18-22',
	vsR: '51-48',
	xwl: '69-70',
	l: '70',
	strk: 'L4',
	lastg: '9/7 @ SD, L 1-2',
	interleague: '4-11',
	road: '28-39',
	games_back_wildcard: '10.0',
	team: 'Los Angeles'
}, {
	w: '56',
	elim: '2',
	rs: '632',
	div: 'nlw',
	gameid: '2010_09_08_sfnmlb_arimlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_08_sfnmlb_arimlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100908&content_id=14430992&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '17-19',
	xtr: '5-8',
	nextg: '9/8 vs SF,  9:40P',
	vsW: '20-36',
	ra: '738',
	gb: '23.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_07_sfnmlb_arimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100907&content_id=14391740&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '1',
	home: '34-40',
	code: 'ari',
	pct: '.403',
	league_sensitive_team_name: 'Arizona',
	vsC: '14-22',
	vsE: '16-16',
	clinch: '',
	vsL: '15-25',
	vsR: '41-58',
	xwl: '60-79',
	l: '83',
	strk: 'L4',
	lastg: '9/7 vs SF, L 3-6',
	interleague: '6-9',
	road: '22-43',
	games_back_wildcard: '23.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']	= 'nlc';
star_mlb_options['team']		= 'stl';
addLoadEvent(star_mlb_standings);
