	var standings_rs_alc =
[{
	w: '57',
	elim: '-',
	rs: '467',
	div: 'alc',
	gameid: '2010_07_30_oakmlb_chamlb_1',
	status: 'S',
	pre: null,
	last10: '7-3',
	onerun: '19-12',
	xtr: '2-4',
	nextg: '7/30 vs OAK,  8:10P',
	vsW: '18-10',
	ra: '418',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_seamlb_chamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12790660&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '31-19',
	code: 'cws',
	pct: '.564',
	league_sensitive_team_name: 'Chi White Sox',
	vsC: '17-20',
	vsE: '7-11',
	clinch: '',
	vsL: '13-11',
	vsR: '44-33',
	xwl: '56-45',
	l: '44',
	strk: 'W4',
	lastg: '7/29 vs SEA, W 9-5',
	interleague: '15-3',
	road: '26-25',
	games_back_wildcard: null,
	team: 'Chicago'
}, {
	w: '56',
	elim: '60',
	rs: '505',
	div: 'alc',
	gameid: '2010_07_30_seamlb_minmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_seamlb_minmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100728&content_id=12723504&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '17-16',
	xtr: '5-3',
	nextg: '7/30 vs SEA,  8:10P',
	vsW: '9-5',
	ra: '422',
	gb: '1.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_28_minmlb_kcamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100728&content_id=12723140&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '54',
	home: '30-20',
	code: 'min',
	pct: '.549',
	league_sensitive_team_name: 'Minnesota',
	vsC: '27-15',
	vsE: '12-16',
	clinch: '',
	vsL: '20-16',
	vsR: '36-30',
	xwl: '59-43',
	l: '46',
	strk: 'W5',
	lastg: '7/28 @ KC, W 6-4',
	interleague: '8-10',
	road: '26-26',
	games_back_wildcard: '7.5',
	team: 'Minnesota'
}, {
	w: '51',
	elim: '56',
	rs: '443',
	div: 'alc',
	gameid: '2010_07_30_detmlb_bosmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_detmlb_bosmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100728&content_id=12717118&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '11-14',
	xtr: '3-3',
	nextg: '7/30 @ BOS,  7:10P',
	vsW: '14-14',
	ra: '462',
	gb: '6.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_detmlb_tbamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12764096&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '50',
	home: '35-17',
	code: 'det',
	pct: '.505',
	league_sensitive_team_name: 'Detroit',
	vsC: '16-21',
	vsE: '10-8',
	clinch: '',
	vsL: '17-11',
	vsR: '34-39',
	xwl: '49-52',
	l: '50',
	strk: 'L4',
	lastg: '7/29 @ TB, L 2-4',
	interleague: '11-7',
	road: '16-33',
	games_back_wildcard: '12.0',
	team: 'Detroit'
}, {
	w: '42',
	elim: '46',
	rs: '413',
	div: 'alc',
	gameid: '2010_07_30_clemlb_tormlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_clemlb_tormlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100728&content_id=12733656&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '13-13',
	xtr: '4-3',
	nextg: '7/30 @ TOR,  7:07P',
	vsW: '5-10',
	ra: '495',
	gb: '15.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_nyamlb_clemlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12776516&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '40',
	home: '23-27',
	code: 'cle',
	pct: '.412',
	league_sensitive_team_name: 'Cleveland',
	vsC: '20-18',
	vsE: '12-19',
	clinch: '',
	vsL: '13-18',
	vsR: '29-42',
	xwl: '43-59',
	l: '60',
	strk: 'L2',
	lastg: '7/29 vs NYY, L 4-11',
	interleague: '5-13',
	road: '19-33',
	games_back_wildcard: '21.5',
	team: 'Cleveland'
}, {
	w: '42',
	elim: '46',
	rs: '438',
	div: 'alc',
	gameid: '2010_07_30_balmlb_kcamlb_1',
	status: 'S',
	pre: null,
	last10: '3-7',
	onerun: '14-19',
	xtr: '7-3',
	nextg: '7/30 vs BAL,  8:10P',
	vsW: '8-14',
	ra: '551',
	gb: '15.5',
	wrap: null,
	elimination_number_wildcard: '40',
	home: '20-29',
	code: 'kc',
	pct: '.412',
	league_sensitive_team_name: 'Kansas City',
	vsC: '16-22',
	vsE: '10-14',
	clinch: '',
	vsL: '9-15',
	vsR: '33-45',
	xwl: '41-61',
	l: '60',
	strk: 'L5',
	lastg: '7/29 vs BAL, L 5-6',
	interleague: '8-10',
	road: '22-31',
	games_back_wildcard: '21.5',
	team: 'Kansas City'
}]
	var standings_rs_ale =
[{
	w: '65',
	elim: '-',
	rs: '556',
	div: 'ale',
	gameid: '2010_07_30_nyamlb_tbamlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_nyamlb_tbamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100729&content_id=12786826&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '10-6',
	xtr: '4-2',
	nextg: '7/30 @ TB,  7:10P',
	vsW: '16-8',
	ra: '415',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_nyamlb_clemlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12776516&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '34-16',
	code: 'nyy',
	pct: '.644',
	league_sensitive_team_name: 'NY Yankees',
	vsC: '16-9',
	vsE: '22-12',
	clinch: '',
	vsL: '22-14',
	vsR: '43-22',
	xwl: '64-37',
	l: '36',
	strk: 'W2',
	lastg: '7/29 @ CLE, W 11-4',
	interleague: '11-7',
	road: '31-20',
	games_back_wildcard: null,
	team: 'New York'
}, {
	w: '63',
	elim: '60',
	rs: '516',
	div: 'ale',
	gameid: '2010_07_30_nyamlb_tbamlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_nyamlb_tbamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100729&content_id=12786826&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '8-2',
	onerun: '17-15',
	xtr: '6-3',
	nextg: '7/30 vs NYY,  7:10P',
	vsW: '11-6',
	ra: '390',
	gb: '2.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_detmlb_tbamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12764096&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '-',
	home: '30-20',
	code: 'tb',
	pct: '.624',
	league_sensitive_team_name: 'Tampa Bay',
	vsC: '20-8',
	vsE: '25-13',
	clinch: '',
	vsL: '22-11',
	vsR: '41-27',
	xwl: '63-38',
	l: '38',
	strk: 'W6',
	lastg: '7/29 vs DET, W 4-2',
	interleague: '7-11',
	road: '33-18',
	games_back_wildcard: '-',
	team: 'Tampa Bay'
}, {
	w: '58',
	elim: '54',
	rs: '532',
	div: 'ale',
	gameid: '2010_07_30_detmlb_bosmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_detmlb_bosmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100728&content_id=12717118&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '17-16',
	xtr: '4-8',
	nextg: '7/30 vs DET,  7:10P',
	vsW: '15-9',
	ra: '465',
	gb: '7.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_28_bosmlb_anamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100728&content_id=12717112&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '56',
	home: '30-20',
	code: 'bos',
	pct: '.569',
	league_sensitive_team_name: 'Boston',
	vsC: '10-9',
	vsE: '20-21',
	clinch: '',
	vsL: '19-15',
	vsR: '39-29',
	xwl: '57-45',
	l: '44',
	strk: 'W3',
	lastg: '7/28 @ LAA, W 7-3',
	interleague: '13-5',
	road: '28-24',
	games_back_wildcard: '5.5',
	team: 'Boston'
}, {
	w: '53',
	elim: '49',
	rs: '477',
	div: 'ale',
	gameid: '2010_07_30_clemlb_tormlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_clemlb_tormlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100728&content_id=12733656&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '13-20',
	xtr: '3-4',
	nextg: '7/30 vs CLE,  7:07P',
	vsW: '10-8',
	ra: '446',
	gb: '12.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_28_balmlb_tormlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100728&content_id=12733544&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '51',
	home: '26-20',
	code: 'tor',
	pct: '.520',
	league_sensitive_team_name: 'Toronto',
	vsC: '16-14',
	vsE: '20-16',
	clinch: '',
	vsL: '8-15',
	vsR: '45-34',
	xwl: '54-48',
	l: '49',
	strk: 'W3',
	lastg: '7/28 vs BAL, W 5-0',
	interleague: '7-11',
	road: '27-29',
	games_back_wildcard: '10.5',
	team: 'Toronto'
}, {
	w: '32',
	elim: '28',
	rs: '367',
	div: 'ale',
	gameid: '2010_07_30_balmlb_kcamlb_1',
	status: 'S',
	pre: null,
	last10: '2-8',
	onerun: '17-14',
	xtr: '8-3',
	nextg: '7/30 @ KC,  8:10P',
	vsW: '9-13',
	ra: '557',
	gb: '33.5',
	wrap: null,
	elimination_number_wildcard: '30',
	home: '18-33',
	code: 'bal',
	pct: '.314',
	league_sensitive_team_name: 'Baltimore',
	vsC: '6-11',
	vsE: '10-35',
	clinch: '',
	vsL: '10-24',
	vsR: '22-46',
	xwl: '33-69',
	l: '70',
	strk: 'W1',
	lastg: '7/29 @ KC, W 6-5',
	interleague: '7-11',
	road: '14-37',
	games_back_wildcard: '31.5',
	team: 'Baltimore'
}]
	var standings_rs_alw =
[{
	w: '60',
	elim: '-',
	rs: '514',
	div: 'alw',
	gameid: '2010_07_30_texmlb_anamlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_texmlb_anamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100728&content_id=12717170&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '18-14',
	xtr: '7-5',
	nextg: '7/30 @ LAA, 10:05P',
	vsW: '19-9',
	ra: '420',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_oakmlb_texmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12785478&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '36-21',
	code: 'tex',
	pct: '.588',
	league_sensitive_team_name: 'Texas',
	vsC: '18-13',
	vsE: '9-16',
	clinch: '',
	vsL: '19-13',
	vsR: '41-29',
	xwl: '60-42',
	l: '42',
	strk: 'W1',
	lastg: '7/29 vs OAK, W 7-4',
	interleague: '14-4',
	road: '24-21',
	games_back_wildcard: null,
	team: 'Texas'
}, {
	w: '51',
	elim: '53',
	rs: '426',
	div: 'alw',
	gameid: '2010_07_30_oakmlb_chamlb_1',
	status: 'S',
	pre: null,
	last10: '6-4',
	onerun: '15-10',
	xtr: '4-6',
	nextg: '7/30 @ CWS,  8:10P',
	vsW: '16-15',
	ra: '409',
	gb: '8.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_oakmlb_texmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12785478&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '50',
	home: '30-22',
	code: 'oak',
	pct: '.505',
	league_sensitive_team_name: 'Oakland',
	vsC: '13-8',
	vsE: '14-17',
	clinch: '',
	vsL: '13-15',
	vsR: '38-35',
	xwl: '52-49',
	l: '50',
	strk: 'L1',
	lastg: '7/29 @ TEX, L 4-7',
	interleague: '8-10',
	road: '21-28',
	games_back_wildcard: '12.0',
	team: 'Oakland'
}, {
	w: '52',
	elim: '51',
	rs: '467',
	div: 'alw',
	gameid: '2010_07_30_texmlb_anamlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_texmlb_anamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100728&content_id=12717170&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '2-8',
	onerun: '17-13',
	xtr: '4-4',
	nextg: '7/30 vs TEX, 10:05P',
	vsW: '20-15',
	ra: '490',
	gb: '9.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_28_bosmlb_anamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100728&content_id=12717112&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '48',
	home: '27-24',
	code: 'ana',
	pct: '.500',
	league_sensitive_team_name: 'LA Angels',
	vsC: '11-16',
	vsE: '10-14',
	clinch: '',
	vsL: '15-18',
	vsR: '37-34',
	xwl: '50-54',
	l: '52',
	strk: 'L4',
	lastg: '7/28 vs BOS, L 3-7',
	interleague: '11-7',
	road: '25-28',
	games_back_wildcard: '12.5',
	team: 'Los Angeles'
}, {
	w: '39',
	elim: '39',
	rs: '341',
	div: 'alw',
	gameid: '2010_07_30_seamlb_minmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_seamlb_minmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100728&content_id=12723504&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '13-20',
	xtr: '3-9',
	nextg: '7/30 @ MIN,  8:10P',
	vsW: '8-24',
	ra: '452',
	gb: '21.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_seamlb_chamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12790660&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '36',
	home: '24-28',
	code: 'sea',
	pct: '.379',
	league_sensitive_team_name: 'Seattle',
	vsC: '11-17',
	vsE: '11-14',
	clinch: '',
	vsL: '10-23',
	vsR: '29-41',
	xwl: '39-64',
	l: '64',
	strk: 'L4',
	lastg: '7/29 @ CWS, L 5-9',
	interleague: '9-9',
	road: '15-36',
	games_back_wildcard: '25.0',
	team: 'Seattle'
}]
	var standings_rs_nlc =
[{
	w: '57',
	elim: '-',
	rs: '506',
	div: 'nlc',
	gameid: '2010_07_30_atlmlb_cinmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_atlmlb_cinmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100728&content_id=12746262&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '17-18',
	xtr: '7-6',
	nextg: '7/30 vs ATL,  7:10P',
	vsW: '8-8',
	ra: '437',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_28_cinmlb_milmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100728&content_id=12727248&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '31-22',
	code: 'cin',
	pct: '.553',
	league_sensitive_team_name: 'Cincinnati',
	vsC: '29-17',
	vsE: '12-14',
	clinch: '',
	vsL: '18-15',
	vsR: '39-31',
	xwl: '58-45',
	l: '46',
	strk: 'W2',
	lastg: '7/28 @ MIL, W 10-2',
	interleague: '8-7',
	road: '26-24',
	games_back_wildcard: null,
	team: 'Cincinnati'
}, {
	w: '56',
	elim: '60',
	rs: '452',
	div: 'nlc',
	gameid: '2010_07_30_pitmlb_slnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_pitmlb_slnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100729&content_id=12764392&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '16-16',
	xtr: '4-5',
	nextg: '7/30 vs PIT,  8:15P',
	vsW: '11-14',
	ra: '382',
	gb: '0.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_slnmlb_nynmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12761690&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '59',
	home: '34-16',
	code: 'stl',
	pct: '.549',
	league_sensitive_team_name: 'St. Louis',
	vsC: '22-18',
	vsE: '14-8',
	clinch: '',
	vsL: '19-16',
	vsR: '37-30',
	xwl: '59-43',
	l: '46',
	strk: 'L1',
	lastg: '7/29 @ NYM, L 0-4',
	interleague: '9-6',
	road: '22-30',
	games_back_wildcard: '1.5',
	team: 'St. Louis'
}, {
	w: '48',
	elim: '51',
	rs: '486',
	div: 'nlc',
	gameid: '2010_07_30_milmlb_houmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_milmlb_houmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100728&content_id=12735302&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '16-11',
	xtr: '4-3',
	nextg: '7/30 @ HOU,  8:05P',
	vsW: '9-11',
	ra: '555',
	gb: '9.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_28_cinmlb_milmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100728&content_id=12727248&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '50',
	home: '24-28',
	code: 'mil',
	pct: '.466',
	league_sensitive_team_name: 'Milwaukee',
	vsC: '21-24',
	vsE: '9-14',
	clinch: '',
	vsL: '14-18',
	vsR: '34-37',
	xwl: '45-58',
	l: '55',
	strk: 'L2',
	lastg: '7/28 vs CIN, L 2-10',
	interleague: '9-6',
	road: '24-27',
	games_back_wildcard: '10.0',
	team: 'Milwaukee'
}, {
	w: '46',
	elim: '50',
	rs: '430',
	div: 'nlc',
	gameid: '2010_07_30_chnmlb_colmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_chnmlb_colmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100728&content_id=12720026&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '13-22',
	xtr: '4-5',
	nextg: '7/30 @ COL,  9:10P',
	vsW: '11-5',
	ra: '470',
	gb: '10.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_28_chnmlb_houmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100728&content_id=12719738&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '49',
	home: '26-27',
	code: 'chc',
	pct: '.451',
	league_sensitive_team_name: 'Chi Cubs',
	vsC: '19-30',
	vsE: '8-11',
	clinch: '',
	vsL: '17-17',
	vsR: '29-39',
	xwl: '47-55',
	l: '56',
	strk: 'L2',
	lastg: '7/28 @ HOU, L 1-8',
	interleague: '8-10',
	road: '20-29',
	games_back_wildcard: '11.5',
	team: 'Chicago'
}, {
	w: '42',
	elim: '47',
	rs: '364',
	div: 'nlc',
	gameid: '2010_07_30_milmlb_houmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_milmlb_houmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100728&content_id=12735302&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '10-11',
	xtr: '6-2',
	nextg: '7/30 vs MIL,  8:05P',
	vsW: '9-19',
	ra: '495',
	gb: '14.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_28_chnmlb_houmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100728&content_id=12719738&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '46',
	home: '23-29',
	code: 'hou',
	pct: '.416',
	league_sensitive_team_name: 'Houston',
	vsC: '25-20',
	vsE: '5-8',
	clinch: '',
	vsL: '12-12',
	vsR: '30-47',
	xwl: '37-64',
	l: '59',
	strk: 'W2',
	lastg: '7/28 vs CHC, W 8-1',
	interleague: '3-12',
	road: '19-30',
	games_back_wildcard: '15.0',
	team: 'Houston'
}, {
	w: '36',
	elim: '41',
	rs: '357',
	div: 'nlc',
	gameid: '2010_07_30_pitmlb_slnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_pitmlb_slnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100729&content_id=12764392&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '14-16',
	xtr: '3-3',
	nextg: '7/30 @ STL,  8:15P',
	vsW: '8-14',
	ra: '540',
	gb: '20.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_pitmlb_colmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12777040&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '40',
	home: '23-26',
	code: 'pit',
	pct: '.356',
	league_sensitive_team_name: 'Pittsburgh',
	vsC: '21-28',
	vsE: '5-10',
	clinch: '',
	vsL: '15-17',
	vsR: '21-48',
	xwl: '32-69',
	l: '65',
	strk: 'L1',
	lastg: '7/29 @ COL, L 3-9',
	interleague: '2-13',
	road: '13-39',
	games_back_wildcard: '21.0',
	team: 'Pittsburgh'
}]
	var standings_rs_nle =
[{
	w: '58',
	elim: '-',
	rs: '467',
	div: 'nle',
	gameid: '2010_07_30_atlmlb_cinmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_atlmlb_cinmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100728&content_id=12746262&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '15-14',
	xtr: '4-5',
	nextg: '7/30 @ CIN,  7:10P',
	vsW: '13-10',
	ra: '392',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_atlmlb_wasmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12775556&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '34-13',
	code: 'atl',
	pct: '.574',
	league_sensitive_team_name: 'Atlanta',
	vsC: '17-8',
	vsE: '19-19',
	clinch: '',
	vsL: '17-17',
	vsR: '41-26',
	xwl: '58-43',
	l: '43',
	strk: 'L1',
	lastg: '7/29 @ WSH, L 3-5',
	interleague: '9-6',
	road: '24-30',
	games_back_wildcard: null,
	team: 'Atlanta'
}, {
	w: '56',
	elim: '59',
	rs: '481',
	div: 'nle',
	gameid: '2010_07_30_phimlb_wasmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_phimlb_wasmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100729&content_id=12765894&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '8-2',
	onerun: '16-10',
	xtr: '8-5',
	nextg: '7/30 @ WSH,  7:05P',
	vsW: '12-7',
	ra: '427',
	gb: '2.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_arimlb_phimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12783588&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '59',
	home: '34-18',
	code: 'phi',
	pct: '.549',
	league_sensitive_team_name: 'Philadelphia',
	vsC: '19-14',
	vsE: '15-17',
	clinch: '',
	vsL: '12-13',
	vsR: '44-33',
	xwl: '57-45',
	l: '46',
	strk: 'W8',
	lastg: '7/29 vs ARI, W 3-2',
	interleague: '10-8',
	road: '22-28',
	games_back_wildcard: '1.5',
	team: 'Philadelphia'
}, {
	w: '52',
	elim: '55',
	rs: '438',
	div: 'nle',
	gameid: '2010_07_30_arimlb_nynmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_arimlb_nynmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100729&content_id=12764382&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '11-21',
	xtr: '4-8',
	nextg: '7/30 vs ARI,  7:10P',
	vsW: '11-15',
	ra: '398',
	gb: '6.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_slnmlb_nynmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12761690&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '55',
	home: '32-17',
	code: 'nym',
	pct: '.510',
	league_sensitive_team_name: 'NY Mets',
	vsC: '9-10',
	vsE: '19-20',
	clinch: '',
	vsL: '15-13',
	vsR: '37-37',
	xwl: '55-47',
	l: '50',
	strk: 'W1',
	lastg: '7/29 vs STL, W 4-0',
	interleague: '13-5',
	road: '20-33',
	games_back_wildcard: '5.5',
	team: 'New York'
}, {
	w: '51',
	elim: '54',
	rs: '463',
	div: 'nle',
	gameid: '2010_07_30_flomlb_sdnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_flomlb_sdnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100729&content_id=12785240&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '17-18',
	xtr: '2-6',
	nextg: '7/30 @ SD, 10:05P',
	vsW: '14-18',
	ra: '449',
	gb: '7.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_flomlb_sfnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12779970&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '54',
	home: '28-26',
	code: 'fla',
	pct: '.500',
	league_sensitive_team_name: 'Florida',
	vsC: '9-7',
	vsE: '21-18',
	clinch: '',
	vsL: '19-12',
	vsR: '32-39',
	xwl: '52-50',
	l: '51',
	strk: 'W1',
	lastg: '7/29 @ SF, W 5-0',
	interleague: '7-8',
	road: '23-25',
	games_back_wildcard: '6.5',
	team: 'Florida'
}, {
	w: '44',
	elim: '47',
	rs: '414',
	div: 'nle',
	gameid: '2010_07_30_phimlb_wasmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_phimlb_wasmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100729&content_id=12765894&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '16-19',
	xtr: '1-6',
	nextg: '7/30 vs PHI,  7:05P',
	vsW: '10-13',
	ra: '467',
	gb: '14.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_atlmlb_wasmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12775556&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '47',
	home: '27-22',
	code: 'was',
	pct: '.431',
	league_sensitive_team_name: 'Washington',
	vsC: '11-14',
	vsE: '18-18',
	clinch: '',
	vsL: '11-15',
	vsR: '33-43',
	xwl: '45-57',
	l: '58',
	strk: 'W1',
	lastg: '7/29 vs ATL, W 5-3',
	interleague: '5-13',
	road: '17-36',
	games_back_wildcard: '13.5',
	team: 'Washington'
}]
	var standings_rs_nlw =
[{
	w: '60',
	elim: '-',
	rs: '438',
	div: 'nlw',
	gameid: '2010_07_30_flomlb_sdnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_flomlb_sdnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100729&content_id=12785240&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '20-12',
	xtr: '7-5',
	nextg: '7/30 vs FLA, 10:05P',
	vsW: '21-16',
	ra: '343',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_lanmlb_sdnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12779954&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '32-20',
	code: 'sd',
	pct: '.600',
	league_sensitive_team_name: 'San Diego',
	vsC: '15-5',
	vsE: '15-13',
	clinch: '',
	vsL: '19-10',
	vsR: '41-30',
	xwl: '61-39',
	l: '40',
	strk: 'W2',
	lastg: '7/29 vs LAD, W 3-2',
	interleague: '9-6',
	road: '28-20',
	games_back_wildcard: null,
	team: 'San Diego'
}, {
	w: '58',
	elim: '58',
	rs: '459',
	div: 'nlw',
	gameid: '2010_07_30_lanmlb_sfnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_lanmlb_sfnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100729&content_id=12784576&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '15-16',
	xtr: '7-6',
	nextg: '7/30 vs LAD, 10:15P',
	vsW: '15-21',
	ra: '379',
	gb: '3.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_flomlb_sfnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12779970&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '-',
	home: '30-20',
	code: 'sf',
	pct: '.563',
	league_sensitive_team_name: 'San Francisco',
	vsC: '19-7',
	vsE: '17-9',
	clinch: '',
	vsL: '15-13',
	vsR: '43-32',
	xwl: '60-43',
	l: '45',
	strk: 'L1',
	lastg: '7/29 vs FLA, L 0-5',
	interleague: '7-8',
	road: '28-25',
	games_back_wildcard: '-',
	team: 'San Francisco'
}, {
	w: '54',
	elim: '55',
	rs: '453',
	div: 'nlw',
	gameid: '2010_07_30_lanmlb_sfnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_lanmlb_sfnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100729&content_id=12784576&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '18-13',
	xtr: '6-3',
	nextg: '7/30 @ SF, 10:15P',
	vsW: '25-10',
	ra: '444',
	gb: '7.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_lanmlb_sdnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12779954&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '57',
	home: '32-21',
	code: 'la',
	pct: '.529',
	league_sensitive_team_name: 'LA Dodgers',
	vsC: '17-15',
	vsE: '8-12',
	clinch: '',
	vsL: '14-18',
	vsR: '40-30',
	xwl: '52-50',
	l: '48',
	strk: 'L2',
	lastg: '7/29 @ SD, L 2-3',
	interleague: '4-11',
	road: '22-27',
	games_back_wildcard: '3.5',
	team: 'Los Angeles'
}, {
	w: '52',
	elim: '53',
	rs: '478',
	div: 'nlw',
	gameid: '2010_07_30_chnmlb_colmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_chnmlb_colmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100728&content_id=12720026&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '2-8',
	onerun: '15-18',
	xtr: '6-5',
	nextg: '7/30 vs CHC,  9:10P',
	vsW: '21-16',
	ra: '451',
	gb: '9.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_pitmlb_colmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12777040&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '55',
	home: '32-18',
	code: 'col',
	pct: '.510',
	league_sensitive_team_name: 'Colorado',
	vsC: '10-13',
	vsE: '12-15',
	clinch: '',
	vsL: '20-16',
	vsR: '32-34',
	xwl: '54-48',
	l: '50',
	strk: 'W1',
	lastg: '7/29 vs PIT, W 9-3',
	interleague: '9-6',
	road: '20-32',
	games_back_wildcard: '5.5',
	team: 'Colorado'
}, {
	w: '37',
	elim: '38',
	rs: '452',
	div: 'nlw',
	gameid: '2010_07_30_arimlb_nynmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_07_30_arimlb_nynmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100729&content_id=12764382&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '12-15',
	xtr: '3-7',
	nextg: '7/30 @ NYM,  7:10P',
	vsW: '10-29',
	ra: '579',
	gb: '24.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_07_29_arimlb_phimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100729&content_id=12783588&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '40',
	home: '24-29',
	code: 'ari',
	pct: '.363',
	league_sensitive_team_name: 'Arizona',
	vsC: '10-16',
	vsE: '11-11',
	clinch: '',
	vsL: '7-17',
	vsR: '30-48',
	xwl: '40-62',
	l: '65',
	strk: 'L7',
	lastg: '7/29 @ PHI, L 2-3',
	interleague: '6-9',
	road: '13-36',
	games_back_wildcard: '20.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']	= 'nle';
star_mlb_options['team']		= 'nym';
addLoadEvent(star_mlb_standings);
