	var standings_rs_alc =
[{
	w: '81',
	elim: '-',
	rs: '671',
	div: 'alc',
	gameid: '2010_09_07_kcamlb_minmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_07_kcamlb_minmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100906&content_id=14355112&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '8-2',
	onerun: '28-21',
	xtr: '8-4',
	nextg: '9/7 vs KC,  8:10P',
	vsW: '23-10',
	ra: '558',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_kcamlb_minmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14364926&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '46-23',
	code: 'min',
	pct: '.587',
	league_sensitive_team_name: 'Minnesota',
	vsC: '36-19',
	vsE: '14-18',
	clinch: '',
	vsL: '29-20',
	vsR: '52-37',
	xwl: '80-58',
	l: '57',
	strk: 'W4',
	lastg: '9/6 vs KC, W 5-4',
	interleague: '8-10',
	road: '35-34',
	games_back_wildcard: null,
	team: 'Minnesota'
}, {
	w: '77',
	elim: '22',
	rs: '654',
	div: 'alc',
	gameid: '2010_09_07_chamlb_detmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_07_chamlb_detmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100906&content_id=14373378&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '8-2',
	onerun: '22-21',
	xtr: '6-9',
	nextg: '9/7 @ DET,  7:05P',
	vsW: '20-11',
	ra: '570',
	gb: '3.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_chamlb_detmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14369914&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '20',
	home: '38-27',
	code: 'cws',
	pct: '.562',
	league_sensitive_team_name: 'Chi White Sox',
	vsC: '28-29',
	vsE: '14-17',
	clinch: '',
	vsL: '16-17',
	vsR: '61-43',
	xwl: '77-60',
	l: '60',
	strk: 'W7',
	lastg: '9/6 @ DET, W 5-4',
	interleague: '15-3',
	road: '39-33',
	games_back_wildcard: '6.5',
	team: 'Chicago'
}, {
	w: '68',
	elim: '12',
	rs: '623',
	div: 'alc',
	gameid: '2010_09_07_chamlb_detmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_07_chamlb_detmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100906&content_id=14373378&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '15-23',
	xtr: '5-8',
	nextg: '9/7 vs CWS,  7:05P',
	vsW: '15-16',
	ra: '633',
	gb: '13.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_chamlb_detmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14369914&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '10',
	home: '43-26',
	code: 'det',
	pct: '.493',
	league_sensitive_team_name: 'Detroit',
	vsC: '27-30',
	vsE: '15-17',
	clinch: '',
	vsL: '22-18',
	vsR: '46-52',
	xwl: '68-70',
	l: '70',
	strk: 'L2',
	lastg: '9/6 vs CWS, L 4-5',
	interleague: '11-7',
	road: '25-44',
	games_back_wildcard: '16.0',
	team: 'Detroit'
}, {
	w: '57',
	elim: '2',
	rs: '560',
	div: 'alc',
	gameid: '2010_09_07_kcamlb_minmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_07_kcamlb_minmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100906&content_id=14355112&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '26-27',
	xtr: '10-7',
	nextg: '9/7 @ MIN,  8:10P',
	vsW: '11-23',
	ra: '723',
	gb: '23.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_kcamlb_minmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14364926&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '31-37',
	code: 'kc',
	pct: '.416',
	league_sensitive_team_name: 'Kansas City',
	vsC: '23-31',
	vsE: '15-16',
	clinch: '',
	vsL: '11-20',
	vsR: '46-60',
	xwl: '53-84',
	l: '80',
	strk: 'L1',
	lastg: '9/6 @ MIN, L 4-5',
	interleague: '8-10',
	road: '26-43',
	games_back_wildcard: '26.5',
	team: 'Kansas City'
}, {
	w: '55',
	elim: 'E',
	rs: '545',
	div: 'alc',
	gameid: '2010_09_06_clemlb_anamlb_1',
	status: 'P',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_clemlb_anamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14317670&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '19-18',
	xtr: '5-4',
	nextg: '9/6 @ LAA, <a href="javascript:void(0)" onclick="launchGameday({gid:\'2010_09_06_clemlb_anamlb_1\',mode:\'gameday\'})">LIVE</a>',
	vsW: '9-16',
	ra: '660',
	gb: '25.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_clemlb_seamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14338612&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '29-39',
	code: 'cle',
	pct: '.401',
	league_sensitive_team_name: 'Cleveland',
	vsC: '24-29',
	vsE: '17-24',
	clinch: '',
	vsL: '16-25',
	vsR: '39-57',
	xwl: '57-80',
	l: '82',
	strk: 'L1',
	lastg: '9/5 @ SEA, L 0-3',
	interleague: '5-13',
	road: '26-43',
	games_back_wildcard: '28.5',
	team: 'Cleveland'
}]
	var standings_rs_ale =
[{
	w: '86',
	elim: '-',
	rs: '746',
	div: 'ale',
	gameid: '2010_09_07_balmlb_nyamlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_07_balmlb_nyamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100906&content_id=14352178&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '8-2',
	onerun: '15-13',
	xtr: '4-3',
	nextg: '9/7 vs BAL,  7:05P',
	vsW: '23-10',
	ra: '564',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_balmlb_nyamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14352172&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '48-24',
	code: 'nyy',
	pct: '.623',
	league_sensitive_team_name: 'NY Yankees',
	vsC: '23-13',
	vsE: '29-22',
	clinch: '',
	vsL: '31-20',
	vsR: '55-32',
	xwl: '86-52',
	l: '52',
	strk: 'L2',
	lastg: '9/6 vs BAL, L 3-4',
	interleague: '11-7',
	road: '38-28',
	games_back_wildcard: null,
	team: 'New York'
}, {
	w: '83',
	elim: '24',
	rs: '674',
	div: 'ale',
	gameid: '2010_09_06_tbamlb_bosmlb_1',
	status: 'I',
	pre: null,
	last10: '5-5',
	onerun: '24-23',
	xtr: '7-4',
	nextg: '9/6 @ BOS, <a href="javascript:void(0)" onclick="launchGameday({gid:\'2010_09_06_tbamlb_bosmlb_1\',mode:\'gameday\'})">LIVE</a>',
	vsW: '18-9',
	ra: '534',
	gb: '2.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_tbamlb_balmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14324188&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '-',
	home: '43-26',
	code: 'tb',
	pct: '.610',
	league_sensitive_team_name: 'Tampa Bay',
	vsC: '24-11',
	vsE: '34-22',
	clinch: '',
	vsL: '31-15',
	vsR: '52-38',
	xwl: '82-54',
	l: '53',
	strk: 'L2',
	lastg: '9/5 @ BAL, L 7-8',
	interleague: '7-11',
	road: '40-27',
	games_back_wildcard: '-',
	team: 'Tampa Bay'
}, {
	w: '76',
	elim: '16',
	rs: '682',
	div: 'ale',
	gameid: '2010_09_06_tbamlb_bosmlb_1',
	status: 'I',
	pre: null,
	last10: '3-7',
	onerun: '21-21',
	xtr: '5-10',
	nextg: '9/6 vs TB, <a href="javascript:void(0)" onclick="launchGameday({gid:\'2010_09_06_tbamlb_bosmlb_1\',mode:\'gameday\'})">LIVE</a>',
	vsW: '20-13',
	ra: '621',
	gb: '9.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_chamlb_bosmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14312892&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '19',
	home: '40-29',
	code: 'bos',
	pct: '.555',
	league_sensitive_team_name: 'Boston',
	vsC: '14-15',
	vsE: '29-28',
	clinch: '',
	vsL: '24-22',
	vsR: '52-39',
	xwl: '74-63',
	l: '61',
	strk: 'L3',
	lastg: '9/5 vs CWS, L 5-7',
	interleague: '13-5',
	road: '36-32',
	games_back_wildcard: '7.5',
	team: 'Boston'
}, {
	w: '71',
	elim: '11',
	rs: '642',
	div: 'ale',
	gameid: '2010_09_07_texmlb_tormlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_07_texmlb_tormlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100906&content_id=14352902&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '5-5',
	onerun: '19-25',
	xtr: '4-5',
	nextg: '9/7 vs TEX,  7:07P',
	vsW: '14-11',
	ra: '604',
	gb: '14.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_texmlb_tormlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14360234&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '14',
	home: '36-27',
	code: 'tor',
	pct: '.518',
	league_sensitive_team_name: 'Toronto',
	vsC: '19-18',
	vsE: '31-26',
	clinch: '',
	vsL: '11-18',
	vsR: '60-48',
	xwl: '72-65',
	l: '66',
	strk: 'W2',
	lastg: '9/6 vs TEX, W 7-2',
	interleague: '7-11',
	road: '35-39',
	games_back_wildcard: '12.5',
	team: 'Toronto'
}, {
	w: '52',
	elim: 'E',
	rs: '518',
	div: 'ale',
	gameid: '2010_09_07_balmlb_nyamlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_07_balmlb_nyamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100906&content_id=14352178&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '7-3',
	onerun: '25-18',
	xtr: '11-3',
	nextg: '9/7 @ NYY,  7:05P',
	vsW: '18-17',
	ra: '701',
	gb: '34.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_balmlb_nyamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14352172&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '30-41',
	code: 'bal',
	pct: '.377',
	league_sensitive_team_name: 'Baltimore',
	vsC: '12-18',
	vsE: '15-40',
	clinch: '',
	vsL: '15-28',
	vsR: '37-58',
	xwl: '50-88',
	l: '86',
	strk: 'W3',
	lastg: '9/6 @ NYY, W 4-3',
	interleague: '7-11',
	road: '22-45',
	games_back_wildcard: '32.0',
	team: 'Baltimore'
}]
	var standings_rs_alw =
[{
	w: '75',
	elim: '-',
	rs: '660',
	div: 'alw',
	gameid: '2010_09_07_texmlb_tormlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_07_texmlb_tormlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100906&content_id=14352902&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '24-20',
	xtr: '9-5',
	nextg: '9/7 @ TOR,  7:07P',
	vsW: '24-16',
	ra: '588',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_texmlb_tormlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14360234&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '43-26',
	code: 'tex',
	pct: '.547',
	league_sensitive_team_name: 'Texas',
	vsC: '23-18',
	vsE: '14-24',
	clinch: '',
	vsL: '22-22',
	vsR: '53-40',
	xwl: '76-61',
	l: '62',
	strk: 'L4',
	lastg: '9/6 @ TOR, L 2-7',
	interleague: '14-4',
	road: '32-36',
	games_back_wildcard: null,
	team: 'Texas'
}, {
	w: '68',
	elim: '19',
	rs: '555',
	div: 'alw',
	gameid: '2010_09_07_seamlb_oakmlb_1',
	status: 'S',
	pre: null,
	last10: '5-5',
	onerun: '20-16',
	xtr: '4-6',
	nextg: '9/7 vs SEA, 10:05P',
	vsW: '24-20',
	ra: '528',
	gb: '7.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_seamlb_oakmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14345214&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '11',
	home: '41-28',
	code: 'oak',
	pct: '.496',
	league_sensitive_team_name: 'Oakland',
	vsC: '18-15',
	vsE: '18-24',
	clinch: '',
	vsL: '18-19',
	vsR: '50-50',
	xwl: '72-65',
	l: '69',
	strk: 'W1',
	lastg: '9/6 vs SEA, W 6-2',
	interleague: '8-10',
	road: '27-41',
	games_back_wildcard: '15.5',
	team: 'Oakland'
}, {
	w: '66',
	elim: '17',
	rs: '592',
	div: 'alw',
	gameid: '2010_09_06_clemlb_anamlb_1',
	status: 'P',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_clemlb_anamlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14317670&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '18-17',
	xtr: '5-4',
	nextg: '9/6 vs CLE, <a href="javascript:void(0)" onclick="launchGameday({gid:\'2010_09_06_clemlb_anamlb_1\',mode:\'gameday\'})">LIVE</a>',
	vsW: '25-19',
	ra: '625',
	gb: '9.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_anamlb_oakmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14335548&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '9',
	home: '34-32',
	code: 'ana',
	pct: '.482',
	league_sensitive_team_name: 'LA Angels',
	vsC: '17-19',
	vsE: '13-26',
	clinch: '',
	vsL: '18-23',
	vsR: '48-48',
	xwl: '65-72',
	l: '71',
	strk: 'W1',
	lastg: '9/5 @ OAK, W 7-4',
	interleague: '11-7',
	road: '32-39',
	games_back_wildcard: '17.5',
	team: 'Los Angeles'
}, {
	w: '54',
	elim: '4',
	rs: '442',
	div: 'alw',
	gameid: '2010_09_07_seamlb_oakmlb_1',
	status: 'S',
	pre: null,
	last10: '4-6',
	onerun: '19-23',
	xtr: '3-10',
	nextg: '9/7 @ OAK, 10:05P',
	vsW: '12-30',
	ra: '585',
	gb: '21.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_seamlb_oakmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14345214&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '33-38',
	code: 'sea',
	pct: '.391',
	league_sensitive_team_name: 'Seattle',
	vsC: '18-26',
	vsE: '15-19',
	clinch: '',
	vsL: '11-29',
	vsR: '43-55',
	xwl: '52-86',
	l: '84',
	strk: 'L1',
	lastg: '9/6 @ OAK, L 2-6',
	interleague: '9-9',
	road: '21-46',
	games_back_wildcard: '30.0',
	team: 'Seattle'
}]
	var standings_rs_nlc =
[{
	w: '79',
	elim: '-',
	rs: '684',
	div: 'nlc',
	gameid: '2010_09_07_cinmlb_colmlb_1',
	status: 'S',
	pre: null,
	last10: '6-4',
	onerun: '22-21',
	xtr: '9-7',
	nextg: '9/7 @ COL,  8:40P',
	vsW: '14-12',
	ra: '590',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_cinmlb_colmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14355830&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '41-27',
	code: 'cin',
	pct: '.577',
	league_sensitive_team_name: 'Cincinnati',
	vsC: '40-24',
	vsE: '17-15',
	clinch: '',
	vsL: '26-19',
	vsR: '53-39',
	xwl: '78-59',
	l: '58',
	strk: 'L2',
	lastg: '9/6 @ COL, L 5-10',
	interleague: '8-7',
	road: '38-31',
	games_back_wildcard: null,
	team: 'Cincinnati'
}, {
	w: '72',
	elim: '21',
	rs: '611',
	div: 'nlc',
	gameid: '2010_09_07_slnmlb_milmlb_1',
	status: 'S',
	pre: null,
	last10: '4-6',
	onerun: '18-22',
	xtr: '5-7',
	nextg: '9/7 @ MIL,  8:10P',
	vsW: '13-15',
	ra: '525',
	gb: '6.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_slnmlb_milmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14373938&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '22',
	home: '43-24',
	code: 'stl',
	pct: '.533',
	league_sensitive_team_name: 'St. Louis',
	vsC: '34-30',
	vsE: '16-12',
	clinch: '',
	vsL: '23-23',
	vsR: '49-40',
	xwl: '77-58',
	l: '63',
	strk: 'W2',
	lastg: '9/6 @ MIL, W 8-6',
	interleague: '9-6',
	road: '29-39',
	games_back_wildcard: '4.5',
	team: 'St. Louis'
}, {
	w: '64',
	elim: '11',
	rs: '516',
	div: 'nlc',
	gameid: '2010_09_07_houmlb_chnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_07_houmlb_chnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100906&content_id=14364254&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '18-16',
	xtr: '7-4',
	nextg: '9/7 @ CHC,  8:05P',
	vsW: '11-20',
	ra: '616',
	gb: '15.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_houmlb_chnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14364006&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '12',
	home: '35-33',
	code: 'hou',
	pct: '.467',
	league_sensitive_team_name: 'Houston',
	vsC: '36-25',
	vsE: '14-16',
	clinch: '',
	vsL: '23-14',
	vsR: '41-59',
	xwl: '58-79',
	l: '73',
	strk: 'L1',
	lastg: '9/6 @ CHC, L 4-5',
	interleague: '3-12',
	road: '29-40',
	games_back_wildcard: '13.5',
	team: 'Houston'
}, {
	w: '63',
	elim: '10',
	rs: '645',
	div: 'nlc',
	gameid: '2010_09_07_slnmlb_milmlb_1',
	status: 'S',
	pre: null,
	last10: '4-6',
	onerun: '23-18',
	xtr: '6-5',
	nextg: '9/7 vs STL,  8:10P',
	vsW: '13-20',
	ra: '726',
	gb: '16.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_slnmlb_milmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14373938&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '11',
	home: '33-36',
	code: 'mil',
	pct: '.460',
	league_sensitive_team_name: 'Milwaukee',
	vsC: '31-32',
	vsE: '10-16',
	clinch: '',
	vsL: '19-24',
	vsR: '44-50',
	xwl: '61-76',
	l: '74',
	strk: 'L1',
	lastg: '9/6 vs STL, L 6-8',
	interleague: '9-6',
	road: '30-38',
	games_back_wildcard: '14.5',
	team: 'Milwaukee'
}, {
	w: '60',
	elim: '6',
	rs: '604',
	div: 'nlc',
	gameid: '2010_09_07_houmlb_chnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_07_houmlb_chnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100906&content_id=14364254&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '19-30',
	xtr: '4-6',
	nextg: '9/7 vs HOU,  8:05P',
	vsW: '12-15',
	ra: '698',
	gb: '19.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_houmlb_chnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14364006&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '7',
	home: '33-40',
	code: 'chc',
	pct: '.435',
	league_sensitive_team_name: 'Chi Cubs',
	vsC: '26-39',
	vsE: '14-14',
	clinch: '',
	vsL: '21-27',
	vsR: '39-51',
	xwl: '60-78',
	l: '78',
	strk: 'W1',
	lastg: '9/6 vs HOU, W 5-4',
	interleague: '8-10',
	road: '27-38',
	games_back_wildcard: '18.0',
	team: 'Chicago'
}, {
	w: '46',
	elim: 'E',
	rs: '474',
	div: 'nlc',
	gameid: '2010_09_07_atlmlb_pitmlb_1',
	status: 'S',
	pre: null,
	last10: '3-7',
	onerun: '18-20',
	xtr: '4-5',
	nextg: '9/7 vs ATL,  7:05P',
	vsW: '10-19',
	ra: '746',
	gb: '33.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_atlmlb_pitmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14351862&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: 'E',
	home: '32-38',
	code: 'pit',
	pct: '.336',
	league_sensitive_team_name: 'Pittsburgh',
	vsC: '25-42',
	vsE: '9-17',
	clinch: '',
	vsL: '18-25',
	vsR: '28-66',
	xwl: '42-95',
	l: '91',
	strk: 'W1',
	lastg: '9/6 vs ATL, W 3-1',
	interleague: '2-13',
	road: '14-53',
	games_back_wildcard: '31.5',
	team: 'Pittsburgh'
}]
	var standings_rs_nle =
[{
	w: '79',
	elim: '-',
	rs: '649',
	div: 'nle',
	gameid: '2010_09_07_atlmlb_pitmlb_1',
	status: 'S',
	pre: null,
	last10: '6-4',
	onerun: '20-21',
	xtr: '6-7',
	nextg: '9/7 @ PIT,  7:05P',
	vsW: '19-15',
	ra: '525',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_atlmlb_pitmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14351862&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '49-19',
	code: 'atl',
	pct: '.572',
	league_sensitive_team_name: 'Atlanta',
	vsC: '22-13',
	vsE: '29-25',
	clinch: '',
	vsL: '24-25',
	vsR: '55-34',
	xwl: '82-56',
	l: '59',
	strk: 'L2',
	lastg: '9/6 @ PIT, L 1-3',
	interleague: '9-6',
	road: '30-40',
	games_back_wildcard: null,
	team: 'Atlanta'
}, {
	w: '78',
	elim: '24',
	rs: '631',
	div: 'nle',
	gameid: '2010_09_06_flomlb_phimlb_2',
	status: 'I',
	pre: null,
	last10: '7-3',
	onerun: '24-14',
	xtr: '11-6',
	nextg: '9/6 vs FLA, <a href="javascript:void(0)" onclick="launchGameday({gid:\'2010_09_06_flomlb_phimlb_2\',mode:\'gameday\'})">LIVE</a>',
	vsW: '22-10',
	ra: '562',
	gb: '1.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_flomlb_phimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14361318&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '-',
	home: '44-28',
	code: 'phi',
	pct: '.565',
	league_sensitive_team_name: 'Philadelphia',
	vsC: '21-19',
	vsE: '25-23',
	clinch: '',
	vsL: '22-19',
	vsR: '56-41',
	xwl: '76-62',
	l: '60',
	strk: 'L2',
	lastg: '9/6 vs FLA, L 1-7',
	interleague: '10-8',
	road: '34-32',
	games_back_wildcard: '-',
	team: 'Philadelphia'
}, {
	w: '70',
	elim: '18',
	rs: '624',
	div: 'nle',
	gameid: '2010_09_06_flomlb_phimlb_2',
	status: 'I',
	pre: null,
	last10: '6-4',
	onerun: '22-24',
	xtr: '5-7',
	nextg: '9/6 @ PHI, <a href="javascript:void(0)" onclick="launchGameday({gid:\'2010_09_06_flomlb_phimlb_2\',mode:\'gameday\'})">LIVE</a>',
	vsW: '16-19',
	ra: '588',
	gb: '8.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_flomlb_phimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14361318&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '19',
	home: '35-33',
	code: 'fla',
	pct: '.515',
	league_sensitive_team_name: 'Florida',
	vsC: '15-13',
	vsE: '32-26',
	clinch: '',
	vsL: '29-12',
	vsR: '41-54',
	xwl: '72-64',
	l: '66',
	strk: 'W2',
	lastg: '9/6 @ PHI, W 7-1',
	interleague: '7-8',
	road: '35-33',
	games_back_wildcard: '7.0',
	team: 'Florida'
}, {
	w: '67',
	elim: '13',
	rs: '563',
	div: 'nle',
	gameid: '2010_09_07_nynmlb_wasmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_07_nynmlb_wasmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100906&content_id=14352286&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '3-7',
	onerun: '19-27',
	xtr: '5-8',
	nextg: '9/7 @ WSH,  7:05P',
	vsW: '14-18',
	ra: '561',
	gb: '12.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_nynmlb_wasmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14362908&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '14',
	home: '39-25',
	code: 'nym',
	pct: '.486',
	league_sensitive_team_name: 'NY Mets',
	vsC: '16-16',
	vsE: '24-32',
	clinch: '',
	vsL: '18-16',
	vsR: '49-55',
	xwl: '69-69',
	l: '71',
	strk: 'L1',
	lastg: '9/6 @ WSH, L 3-13',
	interleague: '13-5',
	road: '28-46',
	games_back_wildcard: '11.0',
	team: 'New York'
}, {
	w: '60',
	elim: '6',
	rs: '585',
	div: 'nle',
	gameid: '2010_09_07_nynmlb_wasmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_07_nynmlb_wasmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100906&content_id=14352286&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '17-24',
	xtr: '2-9',
	nextg: '9/7 vs NYM,  7:05P',
	vsW: '15-18',
	ra: '642',
	gb: '19.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_nynmlb_wasmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14362908&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '7',
	home: '35-31',
	code: 'was',
	pct: '.435',
	league_sensitive_team_name: 'Washington',
	vsC: '16-19',
	vsE: '24-28',
	clinch: '',
	vsL: '14-21',
	vsR: '46-57',
	xwl: '63-75',
	l: '78',
	strk: 'W3',
	lastg: '9/6 vs NYM, W 13-3',
	interleague: '5-13',
	road: '25-47',
	games_back_wildcard: '18.0',
	team: 'Washington'
}]
	var standings_rs_nlw =
[{
	w: '76',
	elim: '-',
	rs: '583',
	div: 'nlw',
	gameid: '2010_09_06_lanmlb_sdnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_lanmlb_sdnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14324176&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '0-10',
	onerun: '23-19',
	xtr: '7-7',
	nextg: '9/6 vs LAD, 10:05P',
	vsW: '28-28',
	ra: '481',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_colmlb_sdnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14321044&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: null,
	home: '38-29',
	code: 'sd',
	pct: '.563',
	league_sensitive_team_name: 'San Diego',
	vsC: '23-7',
	vsE: '16-18',
	clinch: '',
	vsL: '25-16',
	vsR: '51-43',
	xwl: '79-56',
	l: '59',
	strk: 'L10',
	lastg: '9/5 vs COL, L 2-4',
	interleague: '9-6',
	road: '38-30',
	games_back_wildcard: null,
	team: 'San Diego'
}, {
	w: '77',
	elim: '26',
	rs: '605',
	div: 'nlw',
	gameid: '2010_09_07_sfnmlb_arimlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_07_sfnmlb_arimlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100906&content_id=14379964&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '24-20',
	xtr: '11-7',
	nextg: '9/7 @ ARI,  9:40P',
	vsW: '26-28',
	ra: '532',
	gb: '0.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_sfnmlb_arimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14372536&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '24',
	home: '42-27',
	code: 'sf',
	pct: '.558',
	league_sensitive_team_name: 'San Francisco',
	vsC: '25-11',
	vsE: '19-14',
	clinch: '',
	vsL: '20-17',
	vsR: '57-44',
	xwl: '77-61',
	l: '61',
	strk: 'W3',
	lastg: '9/6 @ ARI, W 2-0',
	interleague: '7-8',
	road: '35-34',
	games_back_wildcard: '1.0',
	team: 'San Francisco'
}, {
	w: '73',
	elim: '23',
	rs: '645',
	div: 'nlw',
	gameid: '2010_09_07_cinmlb_colmlb_1',
	status: 'S',
	pre: null,
	last10: '7-3',
	onerun: '24-24',
	xtr: '7-8',
	nextg: '9/7 vs CIN,  8:40P',
	vsW: '30-24',
	ra: '596',
	gb: '4.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_cinmlb_colmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14355830&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '21',
	home: '44-22',
	code: 'col',
	pct: '.533',
	league_sensitive_team_name: 'Colorado',
	vsC: '18-16',
	vsE: '16-18',
	clinch: '',
	vsL: '30-23',
	vsR: '43-41',
	xwl: '73-64',
	l: '64',
	strk: 'W4',
	lastg: '9/6 vs CIN, W 10-5',
	interleague: '9-6',
	road: '29-42',
	games_back_wildcard: '4.5',
	team: 'Colorado'
}, {
	w: '69',
	elim: '19',
	rs: '587',
	div: 'nlw',
	gameid: '2010_09_06_lanmlb_sdnmlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_06_lanmlb_sdnmlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100905&content_id=14324176&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '4-6',
	onerun: '22-20',
	xtr: '7-4',
	nextg: '9/6 @ SD, 10:05P',
	vsW: '31-20',
	ra: '585',
	gb: '8.0',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_05_sfnmlb_lanmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100905&content_id=14347010&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '17',
	home: '41-31',
	code: 'la',
	pct: '.504',
	league_sensitive_team_name: 'LA Dodgers',
	vsC: '21-17',
	vsE: '13-20',
	clinch: '',
	vsL: '18-22',
	vsR: '51-46',
	xwl: '69-68',
	l: '68',
	strk: 'L2',
	lastg: '9/5 vs SF, L 0-3',
	interleague: '4-11',
	road: '28-37',
	games_back_wildcard: '8.5',
	team: 'Los Angeles'
}, {
	w: '56',
	elim: '5',
	rs: '629',
	div: 'nlw',
	gameid: '2010_09_07_sfnmlb_arimlb_1',
	status: 'S',
	pre: 'javascript:void(launchGameday({gid:\'2010_09_07_sfnmlb_arimlb_1\',mode:\'preview\',lurl:\'/news/article.jsp?ymd=20100906&content_id=14379964&vkey=news_mlb&fext=.jsp&c_id=mlb\'}))',
	last10: '6-4',
	onerun: '17-19',
	xtr: '5-8',
	nextg: '9/7 vs SF,  9:40P',
	vsW: '20-35',
	ra: '732',
	gb: '21.5',
	wrap: 'javascript:void(launchGameday({gid:\'2010_09_06_sfnmlb_arimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20100906&content_id=14372536&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}))',
	elimination_number_wildcard: '3',
	home: '34-39',
	code: 'ari',
	pct: '.406',
	league_sensitive_team_name: 'Arizona',
	vsC: '14-22',
	vsE: '16-16',
	clinch: '',
	vsL: '15-25',
	vsR: '41-57',
	xwl: '60-78',
	l: '82',
	strk: 'L3',
	lastg: '9/6 vs SF, L 0-2',
	interleague: '6-9',
	road: '22-43',
	games_back_wildcard: '22.0',
	team: 'Arizona'
}]

/**
 * @desc function star_mlb_standings()
 * The function star_mlb_standings() builds a small table of current standings
 *   and outputs it as a table inside the given html object.
 *
 * @param string division
 * @param string team
 */
function star_mlb_standings() {
	// Deal with any passed arguments.
	if (arguments[0] != null && arguments[0] != 'undefined' && in_array(arguments[0], ["alc","ale","alw","nlc","nle","nlw"])) {
		star_mlb_options['division']	= arguments[0];
	}
	if (arguments[1] != null && arguments[1] != 'undefined' && in_array(arguments[1], ["oak","ana","hou","tor","atl","mil","stl","chc","tb","ari","la","sf","cle","sea","fla","nym","was","bal","sd","phi","pit","tex","cin","bos","col","kc","det","min","cws","nyy"])) {
		star_mlb_options['team']		= arguments[1];
	}

	var showDivs	= true;
	var showSubHead	= true;

	// Build team mascots array.
	var mascots	= new Object;
	mascots['oak']	= 'A\'s';
	mascots['ana']	= 'Angels';
	mascots['hou']	= 'Astros';
	mascots['tor']	= 'Blue Jays';
	mascots['atl']	= 'Braves';
	mascots['mil']	= 'Brewers';
	mascots['stl']	= 'Cardinals';
	mascots['chc']	= 'Cubs';
	mascots['tb']	= 'Devil Rays';
	mascots['ari']	= 'Diamondbacks';
	mascots['la']	= 'Dodgers';
	mascots['sf']	= 'Giants';
	mascots['cle']	= 'Indians';
	mascots['sea']	= 'Mariners';
	mascots['fla']	= 'Marlins';
	mascots['nym']	= 'Mets';
	mascots['was']	= 'Nationals';
	mascots['bal']	= 'Orioles';
	mascots['sd']	= 'Padres';
	mascots['phi']	= 'Phillies';
	mascots['pit']	= 'Pirates';
	mascots['tex']	= 'Rangers';
	mascots['cin']	= 'Reds';
	mascots['bos']	= 'Red Sox';
	mascots['col']	= 'Rockies';
	mascots['kc']	= 'Royals';
	mascots['det']	= 'Tigers';
	mascots['min']	= 'Twins';
	mascots['cws']	= 'White Sox';
	mascots['nyy']	= 'Yankees';

	// Get the object to contain the standings content.
	var standingsBody	= document.getElementById('star_mlb_standings_body');

	// Get the object to contain the standings head.
	var standingsHead	= document.getElementById('star_mlb_standings_head');

	// Get the variable that contains the current standings and the head.
	var standings_rs	= '';
	var standings_head	= '';

	// Deal with the division.
	var division	= star_mlb_options['division'];
	if (division == null || division == 'undefined') {
		division	= 'nlc';
	}

	// Deal with the team.
	var team		= star_mlb_options['team'];

	switch (division) {
		// American League East.
		case 'ale':
			standings_rs	= eval('standings_rs_' + division);
			standings_head	= '<acronym title="American League">AL</acronym> East';
		break;

		// American League Central.
		case 'alc':
			standings_rs	= eval('standings_rs_' + division);
			standings_head	= '<acronym title="American League">AL</acronym> Central';
		break;

		// American League West.
		case 'alw':
			standings_rs	= eval('standings_rs_' + division);
			standings_head	= '<acronym title="American League">AL</acronym> West';
		break;

		// National League East.
		case 'nle':
			standings_rs	= eval('standings_rs_' + division);
			standings_head	= '<acronym title="National League">NL</acronym> East';
		break;

		// National League West.
		case 'nlw':
			standings_rs	= eval('standings_rs_' + division);
			standings_head	= '<acronym title="National League">NL</acronym> West';
		break;

		// National League Central.
		case 'nlc':
		default:
			standings_rs	= eval('standings_rs_' + division);
			standings_head	= '<acronym title="National League">NL</acronym> Central';
		break;
	}

	if (!showSubHead) {
		standings_head	= '';
	}

	// Build the links.
	var standings	= '';
	if (showDivs) {
		standings	+= '<div class="center">';
		if (division == 'alw') {
			standings	+= '<acronym title="American League West">ALW</acronym>\n';
		} else {
			standings	+= '<a href="javascript:star_mlb_standings(\'alw\');"><acronym title="American League West">ALW</acronym></a>\n';
		}
		if (division == 'alc') {
			standings	+= '<acronym title="American League Central">ALC</acronym>\n';
		} else {
			standings	+= '<a href="javascript:star_mlb_standings(\'alc\');"><acronym title="American League Central">ALC</acronym></a>\n';
		}
		if (division == 'ale') {
			standings	+= '<acronym title="American League East">ALE</acronym>\n';
		} else {
			standings	+= '<a href="javascript:star_mlb_standings(\'ale\');"><acronym title="American League East">ALE</acronym></a>\n';
		}
		if (division == 'nlw') {
			standings	+= '<acronym title="National League West">NLW</acronym>\n';
		} else {
			standings	+= '<a href="javascript:star_mlb_standings(\'nlw\');"><acronym title="National League West">NLW</acronym></a>\n';
		}
		if (division == 'nlc') {
			standings	+= '<acronym title="National League Central">NLC</acronym>\n';
		} else {
			standings	+= '<a href="javascript:star_mlb_standings(\'nlc\');"><acronym title="National League Central">NLC</acronym></a>\n';
		}
		if (division == 'nle') {
			standings	+= '<acronym title="National League East">NLE</acronym>\n';
		} else {
			standings	+= '<a href="javascript:star_mlb_standings(\'nle\');"><acronym title="National League East">NLE</acronym></a><br />\n';
		}
		standings	+= '</div>';
	}

	// Start the standings table.
	standings		+= '<table class="ruler"><thead><tr><th>Team</th><th><acronym title="Wins">W</acronym></th><th><acronym title="Losses">L</acronym></th><th><acronym title="Winning Percentage">Pct.</acronym></th><th><acronym title="Games Back">GB</acronym></th></tr></thead><tbody>';

	// Iterate through each of the teams, displaying their data.
	for (i = 0; i < standings_rs.length; i++) {
		// Bold the selected team.
		if (standings_rs[i].code == team) {
			standings_rs[i].league_sensitive_team_name	= standings_rs[i].league_sensitive_team_name;
		}

		// Check URL for last game wrap.
		if (standings_rs[i].wrap != null) {
			var url	= '<a href="http://mlb.mlb.com/news/boxscore.jsp?gid=' + standings_rs[i].gameid + '" title="Last game: ' + standings_rs[i].lastg + '">' + standings_rs[i].league_sensitive_team_name + '</a>';
		} else {
			var url	= '<span title="Last game: ' + standings_rs[i].lastg + '">' + standings_rs[i].league_sensitive_team_name + '</span>';
		}
		standings	+= '<tr>';
		standings	+= '<td>' + url + '</td>';
		standings	+= '<td>' + standings_rs[i].w + '</td>';
		standings	+= '<td>' + standings_rs[i].l + '</td>';
		standings	+= '<td>' + standings_rs[i].pct + '</td>';
		standings	+= '<td>' + standings_rs[i].gb + '</td>';
		standings	+= '</tr>';
	}

	// Close the table.
	standings	+= '</tbody></table>';

	// Include a link to full standings.
	standings	+= '<a class="bold" href="http://mlb.mlb.com/mlb/standings/index.jsp">Expanded Standings</a>';

	// Set the standings object to the standings table.
	standingsBody.innerHTML	= standings;
	standingsHead.innerHTML	= standings_head;
	if (typeof(tableruler) == 'function') {
		tableruler();
	}
}

function in_array(needle, haystack, strict) {
	// http://kevin.vanzonneveld.net
	// +   original by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
	// *     example 1: in_array('van', ['Kevin', 'van', 'Zonneveld']);
	// *     returns 1: true

	var found = false, key, strict = !!strict;

	for (key in haystack) {
		if ((strict && haystack[key] === needle) || (!strict && haystack[key] == needle)) {
			found	= true;
			break;
		}
	}

	return found;
}

function addLoadEvent(func) {
	var oldonload	= window.onload;
	if (typeof window.onload != 'function') {
		window.onload	= func;
	} else {
		window.onload	= function() {
			if (oldonload) {
				oldonload();
			}
			func();
		}
	}
}

var star_mlb_options = new Object;
star_mlb_options['division']	= 'alc';
star_mlb_options['team']		= 'min';
addLoadEvent(star_mlb_standings);
