var standings_rs_alc = [{
	w: '22',
	elim: '-',
	rs: '174',
	div: 'alc',
	gameid: '2008_05_16_clemlb_cinmlb_1',
	status: 'P',
	pre: null,
	last10: '8-2',
	onerun: '4-3',
	xtr: '1-2',
	nextg: '5/16 @ CIN,  7:10P',
	vsW: '8-7',
	ra: '143',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_oakmlb_clemlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2706305&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '14-12',
	code: 'cle',
	pct: '.537',
	league_sensitive_team_name: 'Cleveland',
	vsC: '7-6',
	vsE: '7-6',
	vsR: '16-14',
	vsL: '6-5',
	xwl: '24-17',
	strk: 'W3',
	l: '19',
	lastg: '5/15 v OAK, W 4-2',
	interleague: '0-0',
	team: 'Cleveland',
	road: '8-7'
}, {
	w: '20',
	elim: '121',
	rs: '185',
	div: 'alc',
	gameid: '2008_05_16_chamlb_sfnmlb_1',
	status: 'P',
	pre: null,
	last10: '6-4',
	onerun: '4-5',
	xtr: '0-1',
	nextg: '5/16 @ SF, 10:15P',
	vsW: '5-4',
	ra: '164',
	gb: '1.5',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_chamlb_anamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080516&content_id=2710573&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '9-7',
	code: 'cws',
	pct: '.500',
	league_sensitive_team_name: 'Chi White Sox',
	vsC: '9-7',
	vsE: '6-9',
	vsR: '14-16',
	vsL: '6-4',
	xwl: '22-18',
	strk: 'W2',
	l: '20',
	lastg: '5/15 @ LAA, W 4-3',
	interleague: '0-0',
	team: 'Chicago',
	road: '11-13'
}, {
	w: '20',
	elim: '121',
	rs: '175',
	div: 'alc',
	gameid: '2008_05_16_minmlb_colmlb_1',
	status: 'P',
	pre: null,
	last10: '4-6',
	onerun: '9-6',
	xtr: '1-2',
	nextg: '5/16 @ COL,  9:05P',
	vsW: '3-7',
	ra: '180',
	gb: '1.5',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_tormlb_minmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2707092&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '14-10',
	code: 'min',
	pct: '.500',
	league_sensitive_team_name: 'Minnesota',
	vsC: '13-8',
	vsE: '4-5',
	vsR: '15-15',
	vsL: '5-5',
	xwl: '19-21',
	strk: 'L3',
	l: '20',
	lastg: '5/15 v TOR, L 2-3',
	interleague: '0-0',
	team: 'Minnesota',
	road: '6-10'
}, {
	w: '19',
	elim: '120',
	rs: '146',
	div: 'alc',
	gameid: '2008_05_16_kcamlb_flomlb_1',
	status: 'P',
	pre: null,
	last10: '5-5',
	onerun: '4-4',
	xtr: '1-0',
	nextg: '5/16 @ FLA,  7:10P',
	vsW: '4-9',
	ra: '169',
	gb: '2.5',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_detmlb_kcamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2705874&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '10-12',
	code: 'kc',
	pct: '.475',
	league_sensitive_team_name: 'Kansas City',
	vsC: '10-7',
	vsE: '5-5',
	vsR: '11-15',
	vsL: '8-6',
	xwl: '17-23',
	strk: 'W4',
	l: '21',
	lastg: '5/15 v DET, W 8-4',
	interleague: '0-0',
	team: 'Kansas City',
	road: '9-9'
}, {
	w: '16',
	elim: '116',
	rs: '186',
	div: 'alc',
	gameid: '2008_05_16_detmlb_arimlb_1',
	status: 'P',
	pre: null,
	last10: '2-8',
	onerun: '3-5',
	xtr: '0-1',
	nextg: '5/16 @ ARI,  9:40P',
	vsW: '4-2',
	ra: '222',
	gb: '6.0',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_detmlb_kcamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2705874&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '8-12',
	code: 'det',
	pct: '.390',
	league_sensitive_team_name: 'Detroit',
	vsC: '4-15',
	vsE: '8-8',
	vsR: '11-24',
	vsL: '5-1',
	xwl: '17-24',
	strk: 'L4',
	l: '25',
	lastg: '5/15 @ KC, L 4-8',
	interleague: '0-0',
	team: 'Detroit',
	road: '8-13'
}]
var standings_rs_ale = [{
	w: '24',
	elim: '-',
	rs: '186',
	div: 'ale',
	gameid: '2008_05_16_tbamlb_slnmlb_1',
	status: 'P',
	pre: null,
	last10: '8-2',
	onerun: '4-5',
	xtr: '3-0',
	nextg: '5/16 @ STL,  8:15P',
	vsW: '4-2',
	ra: '161',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_nyamlb_tbamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2708269&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '16-8',
	code: 'tb',
	pct: '.585',
	league_sensitive_team_name: 'Tampa Bay',
	vsC: '2-3',
	vsE: '18-12',
	vsR: '18-11',
	vsL: '6-6',
	xwl: '23-18',
	strk: 'W1',
	l: '17',
	lastg: '5/15 v NYY, W 5-2',
	interleague: '0-0',
	team: 'Tampa Bay',
	road: '8-9'
}, {
	w: '24',
	elim: '120',
	rs: '216',
	div: 'ale',
	gameid: '2008_05_16_milmlb_bosmlb_1',
	status: 'P',
	pre: null,
	last10: '4-6',
	onerun: '7-6',
	xtr: '1-1',
	nextg: '5/16 v MIL,  7:05P',
	vsW: '8-3',
	ra: '193',
	gb: '1.0',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_14_bosmlb_balmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080514&content_id=2698938&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '14-5',
	code: 'bos',
	pct: '.558',
	league_sensitive_team_name: 'Boston',
	vsC: '8-5',
	vsE: '8-11',
	vsR: '18-18',
	vsL: '6-1',
	xwl: '24-19',
	strk: 'L4',
	l: '19',
	lastg: '5/14 @ BAL, L 3-6',
	interleague: '0-0',
	team: 'Boston',
	road: '10-14'
}, {
	w: '21',
	elim: '120',
	rs: '167',
	div: 'ale',
	gameid: '2008_05_16_wasmlb_balmlb_1',
	status: 'P',
	pre: null,
	last10: '5-5',
	onerun: '10-5',
	xtr: '1-2',
	nextg: '5/16 v WSH,  7:05P',
	vsW: '8-8',
	ra: '174',
	gb: '2.5',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_14_bosmlb_balmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080514&content_id=2698938&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '12-6',
	code: 'bal',
	pct: '.525',
	league_sensitive_team_name: 'Baltimore',
	vsC: '5-4',
	vsE: '8-7',
	vsR: '17-14',
	vsL: '4-5',
	xwl: '19-21',
	strk: 'W2',
	l: '19',
	lastg: '5/14 v BOS, W 6-3',
	interleague: '0-0',
	team: 'Baltimore',
	road: '9-13'
}, {
	w: '21',
	elim: '117',
	rs: '162',
	div: 'ale',
	gameid: '2008_05_16_tormlb_phimlb_1',
	status: 'P',
	pre: null,
	last10: '5-5',
	onerun: '6-9',
	xtr: '3-3',
	nextg: '5/16 @ PHI,  7:05P',
	vsW: '3-5',
	ra: '163',
	gb: '4.0',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_tormlb_minmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2707092&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '10-9',
	code: 'tor',
	pct: '.488',
	league_sensitive_team_name: 'Toronto',
	vsC: '11-7',
	vsE: '7-10',
	vsR: '16-15',
	vsL: '5-7',
	xwl: '21-22',
	strk: 'W4',
	l: '22',
	lastg: '5/15 @ MIN, W 3-2',
	interleague: '0-0',
	team: 'Toronto',
	road: '11-13'
}, {
	w: '20',
	elim: '117',
	rs: '173',
	div: 'ale',
	gameid: '2008_05_16_nynmlb_nyamlb_1',
	status: 'P',
	pre: null,
	last10: '4-6',
	onerun: '5-5',
	xtr: '0-1',
	nextg: '5/16 v NYM,  7:05P',
	vsW: '3-0',
	ra: '179',
	gb: '4.5',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_nyamlb_tbamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2708269&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '9-9',
	code: 'nyy',
	pct: '.476',
	league_sensitive_team_name: 'NY Yankees',
	vsC: '7-11',
	vsE: '10-11',
	vsR: '16-15',
	vsL: '4-7',
	xwl: '20-22',
	strk: 'L1',
	l: '22',
	lastg: '5/15 @ TB, L 2-5',
	interleague: '0-0',
	team: 'New York',
	road: '11-13'
}]
var standings_rs_alw = [{
	w: '24',
	elim: '-',
	rs: '194',
	div: 'alw',
	gameid: '2008_05_16_lanmlb_anamlb_1',
	status: 'P',
	pre: null,
	last10: '4-6',
	onerun: '6-6',
	xtr: '0-0',
	nextg: '5/16 v LAD, 10:05P',
	vsW: '8-7',
	ra: '195',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_chamlb_anamlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080516&content_id=2710573&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '12-10',
	code: 'ana',
	pct: '.558',
	league_sensitive_team_name: 'LA Angels',
	vsC: '12-7',
	vsE: '4-5',
	vsR: '17-17',
	vsL: '7-2',
	xwl: '21-22',
	strk: 'L2',
	l: '19',
	lastg: '5/15 v CWS, L 3-4',
	interleague: '0-0',
	team: 'Los Angeles',
	road: '12-9'
}, {
	w: '23',
	elim: '120',
	rs: '189',
	div: 'alw',
	gameid: '2008_05_16_oakmlb_atlmlb_1',
	status: 'P',
	pre: null,
	last10: '5-5',
	onerun: '7-5',
	xtr: '3-1',
	nextg: '5/16 @ ATL,  7:30P',
	vsW: '6-9',
	ra: '155',
	gb: '0.5',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_oakmlb_clemlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2706305&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '12-9',
	code: 'oak',
	pct: '.548',
	league_sensitive_team_name: 'Oakland',
	vsC: '10-7',
	vsE: '7-3',
	vsR: '16-10',
	vsL: '7-9',
	xwl: '25-17',
	strk: 'L3',
	l: '19',
	lastg: '5/15 @ CLE, L 2-4',
	interleague: '0-0',
	team: 'Oakland',
	road: '11-10'
}, {
	w: '20',
	elim: '117',
	rs: '200',
	div: 'alw',
	gameid: '2008_05_16_houmlb_texmlb_1',
	status: 'P',
	pre: null,
	last10: '7-3',
	onerun: '6-4',
	xtr: '3-2',
	nextg: '5/16 v HOU,  8:05P',
	vsW: '12-9',
	ra: '229',
	gb: '3.5',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_14_seamlb_texmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080514&content_id=2698875&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '10-10',
	code: 'tex',
	pct: '.476',
	league_sensitive_team_name: 'Texas',
	vsC: '4-5',
	vsE: '4-8',
	vsR: '15-16',
	vsL: '5-6',
	xwl: '18-24',
	strk: 'L1',
	l: '22',
	lastg: '5/14 v SEA, L 3-4',
	interleague: '0-0',
	team: 'Texas',
	road: '10-12'
}, {
	w: '16',
	elim: '113',
	rs: '171',
	div: 'alw',
	gameid: '2008_05_16_sdnmlb_seamlb_1',
	status: 'P',
	pre: null,
	last10: '3-7',
	onerun: '2-9',
	xtr: '1-2',
	nextg: '5/16 v SD, 10:10P',
	vsW: '10-11',
	ra: '197',
	gb: '7.5',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_14_seamlb_texmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080514&content_id=2698875&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '9-12',
	code: 'sea',
	pct: '.381',
	league_sensitive_team_name: 'Seattle',
	vsC: '3-5',
	vsE: '3-10',
	vsR: '14-18',
	vsL: '2-8',
	xwl: '18-24',
	strk: 'W1',
	l: '26',
	lastg: '5/14 @ TEX, W 4-3',
	interleague: '0-0',
	team: 'Seattle',
	road: '7-14'
}]
var standings_rs_nlc = [{
	w: '25',
	elim: '-',
	rs: '238',
	div: 'nlc',
	gameid: '2008_05_16_pitmlb_chnmlb_1',
	status: 'P',
	pre: null,
	last10: '7-3',
	onerun: '4-4',
	xtr: '4-2',
	nextg: '5/16 v PIT,  2:20P',
	vsW: '7-2',
	ra: '170',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_sdnmlb_chnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2705679&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '17-7',
	code: 'chc',
	pct: '.610',
	league_sensitive_team_name: 'Chi Cubs',
	vsC: '14-10',
	vsE: '4-4',
	vsR: '17-12',
	vsL: '8-4',
	xwl: '27-14',
	strk: 'W2',
	l: '16',
	lastg: '5/15 v SD, W 4-0',
	interleague: '0-0',
	team: 'Chicago',
	road: '8-9'
}, {
	w: '24',
	elim: '120',
	rs: '208',
	div: 'nlc',
	gameid: '2008_05_16_houmlb_texmlb_1',
	status: 'P',
	pre: null,
	last10: '8-2',
	onerun: '6-7',
	xtr: '1-0',
	nextg: '5/16 @ TEX,  8:05P',
	vsW: '11-8',
	ra: '183',
	gb: '1.5',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_houmlb_sfnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2708575&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '11-6',
	code: 'hou',
	pct: '.571',
	league_sensitive_team_name: 'Houston',
	vsC: '8-6',
	vsE: '5-4',
	vsR: '18-14',
	vsL: '6-4',
	xwl: '23-19',
	strk: 'W2',
	l: '18',
	lastg: '5/15 @ SF, W 8-7',
	interleague: '0-0',
	team: 'Houston',
	road: '13-12'
}, {
	w: '24',
	elim: '119',
	rs: '194',
	div: 'nlc',
	gameid: '2008_05_16_tbamlb_slnmlb_1',
	status: 'P',
	pre: null,
	last10: '3-7',
	onerun: '8-6',
	xtr: '2-3',
	nextg: '5/16 v TB,  8:15P',
	vsW: '7-7',
	ra: '182',
	gb: '2.0',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_pitmlb_slnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2705368&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '15-9',
	code: 'stl',
	pct: '.558',
	league_sensitive_team_name: 'St. Louis',
	vsC: '14-12',
	vsE: '3-0',
	vsR: '16-10',
	vsL: '8-9',
	xwl: '23-20',
	strk: 'L1',
	l: '19',
	lastg: '5/15 v PIT, L 5-11',
	interleague: '0-0',
	team: 'St. Louis',
	road: '9-10'
}, {
	w: '20',
	elim: '117',
	rs: '177',
	div: 'nlc',
	gameid: '2008_05_16_milmlb_bosmlb_1',
	status: 'P',
	pre: null,
	last10: '4-6',
	onerun: '8-4',
	xtr: '5-4',
	nextg: '5/16 @ BOS,  7:05P',
	vsW: '4-2',
	ra: '198',
	gb: '5.0',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_lanmlb_milmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2706055&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '11-9',
	code: 'mil',
	pct: '.488',
	league_sensitive_team_name: 'Milwaukee',
	vsC: '12-12',
	vsE: '4-7',
	vsR: '13-17',
	vsL: '7-4',
	xwl: '18-23',
	strk: 'L2',
	l: '21',
	lastg: '5/15 v LAD, L 2-7',
	interleague: '0-0',
	team: 'Milwaukee',
	road: '9-12'
}, {
	w: '20',
	elim: '117',
	rs: '205',
	div: 'nlc',
	gameid: '2008_05_16_pitmlb_chnmlb_1',
	status: 'P',
	pre: null,
	last10: '8-2',
	onerun: '7-6',
	xtr: '3-3',
	nextg: '5/16 @ CHC,  2:20P',
	vsW: '4-2',
	ra: '218',
	gb: '5.0',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_pitmlb_slnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2705368&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '12-8',
	code: 'pit',
	pct: '.488',
	league_sensitive_team_name: 'Pittsburgh',
	vsC: '6-8',
	vsE: '10-11',
	vsR: '13-11',
	vsL: '7-10',
	xwl: '19-22',
	strk: 'W1',
	l: '21',
	lastg: '5/15 @ STL, W 11-5',
	interleague: '0-0',
	team: 'Pittsburgh',
	road: '8-13'
}, {
	w: '18',
	elim: '115',
	rs: '182',
	div: 'nlc',
	gameid: '2008_05_16_clemlb_cinmlb_1',
	status: 'P',
	pre: null,
	last10: '6-4',
	onerun: '8-3',
	xtr: '2-2',
	nextg: '5/16 v CLE,  7:10P',
	vsW: '5-3',
	ra: '207',
	gb: '7.0',
	wrap: null,
	home: '11-9',
	code: 'cin',
	pct: '.439',
	league_sensitive_team_name: 'Cincinnati',
	vsC: '7-13',
	vsE: '6-7',
	vsR: '13-15',
	vsL: '5-8',
	xwl: '18-23',
	strk: 'W3',
	l: '23',
	lastg: '5/15 v FLA, T -',
	interleague: '0-0',
	team: 'Cincinnati',
	road: '7-14'
}]
var standings_rs_nle = [{
	w: '23',
	elim: '-',
	rs: '197',
	div: 'nle',
	gameid: '2008_05_16_kcamlb_flomlb_1',
	status: 'P',
	pre: null,
	last10: '7-3',
	onerun: '7-5',
	xtr: '3-1',
	nextg: '5/16 v KC,  7:10P',
	vsW: '2-4',
	ra: '187',
	gb: '-',
	wrap: null,
	home: '12-9',
	code: 'fla',
	pct: '.575',
	league_sensitive_team_name: 'Florida',
	vsC: '9-8',
	vsE: '12-5',
	vsR: '18-12',
	vsL: '5-5',
	xwl: '21-19',
	strk: 'L3',
	l: '17',
	lastg: '5/15 @ CIN, T -',
	interleague: '0-0',
	team: 'Florida',
	road: '11-8'
}, {
	w: '23',
	elim: '121',
	rs: '201',
	div: 'nle',
	gameid: '2008_05_16_tormlb_phimlb_1',
	status: 'P',
	pre: null,
	last10: '5-5',
	onerun: '9-8',
	xtr: '2-3',
	nextg: '5/16 v TOR,  7:05P',
	vsW: '9-6',
	ra: '187',
	gb: '1.0',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_atlmlb_phimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2709729&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '12-9',
	code: 'phi',
	pct: '.548',
	league_sensitive_team_name: 'Philadelphia',
	vsC: '9-6',
	vsE: '5-7',
	vsR: '13-12',
	vsL: '10-7',
	xwl: '22-20',
	strk: 'W1',
	l: '19',
	lastg: '5/15 v ATL, W 5-0',
	interleague: '0-0',
	team: 'Philadelphia',
	road: '11-10'
}, {
	w: '20',
	elim: '121',
	rs: '186',
	div: 'nle',
	gameid: '2008_05_16_nynmlb_nyamlb_1',
	status: 'P',
	pre: null,
	last10: '4-6',
	onerun: '4-4',
	xtr: '3-1',
	nextg: '5/16 @ NYY,  7:05P',
	vsW: '3-3',
	ra: '178',
	gb: '2.5',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_wasmlb_nynmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2705485&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '12-9',
	code: 'nym',
	pct: '.513',
	league_sensitive_team_name: 'NY Mets',
	vsC: '4-6',
	vsE: '13-10',
	vsR: '11-15',
	vsL: '9-4',
	xwl: '20-19',
	strk: 'L2',
	l: '19',
	lastg: '5/15 v WSH, L 0-1',
	interleague: '0-0',
	team: 'New York',
	road: '8-10'
}, {
	w: '20',
	elim: '120',
	rs: '193',
	div: 'nle',
	gameid: '2008_05_16_oakmlb_atlmlb_1',
	status: 'P',
	pre: null,
	last10: '5-5',
	onerun: '1-11',
	xtr: '0-3',
	nextg: '5/16 v OAK,  7:30P',
	vsW: '6-3',
	ra: '154',
	gb: '3.0',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_atlmlb_phimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2709729&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '14-4',
	code: 'atl',
	pct: '.500',
	league_sensitive_team_name: 'Atlanta',
	vsC: '5-5',
	vsE: '9-12',
	vsR: '13-10',
	vsL: '7-10',
	xwl: '24-16',
	strk: 'L1',
	l: '20',
	lastg: '5/15 @ PHI, L 0-5',
	interleague: '0-0',
	team: 'Atlanta',
	road: '6-16'
}, {
	w: '18',
	elim: '116',
	rs: '167',
	div: 'nle',
	gameid: '2008_05_16_wasmlb_balmlb_1',
	status: 'P',
	pre: null,
	last10: '4-6',
	onerun: '7-9',
	xtr: '1-2',
	nextg: '5/16 @ BAL,  7:05P',
	vsW: '0-0',
	ra: '206',
	gb: '6.0',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_wasmlb_nynmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2705485&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '10-11',
	code: 'was',
	pct: '.429',
	league_sensitive_team_name: 'Washington',
	vsC: '6-7',
	vsE: '12-17',
	vsR: '10-15',
	vsL: '8-9',
	xwl: '17-25',
	strk: 'W2',
	l: '24',
	lastg: '5/15 @ NYM, W 1-0',
	interleague: '0-0',
	team: 'Washington',
	road: '8-13'
}]
var standings_rs_nlw = [{
	w: '26',
	elim: '-',
	rs: '228',
	div: 'nlw',
	gameid: '2008_05_16_detmlb_arimlb_1',
	status: 'P',
	pre: null,
	last10: '5-5',
	onerun: '5-5',
	xtr: '1-1',
	nextg: '5/16 v DET,  9:40P',
	vsW: '20-5',
	ra: '176',
	gb: '-',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_colmlb_arimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2709706&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '17-7',
	code: 'ari',
	pct: '.634',
	league_sensitive_team_name: 'Arizona',
	vsC: '3-6',
	vsE: '3-4',
	vsR: '16-10',
	vsL: '10-5',
	xwl: '25-16',
	strk: 'W3',
	l: '15',
	lastg: '5/15 v COL, W 8-5',
	interleague: '0-0',
	team: 'Arizona',
	road: '9-8'
}, {
	w: '21',
	elim: '118',
	rs: '200',
	div: 'nlw',
	gameid: '2008_05_16_lanmlb_anamlb_1',
	status: 'P',
	pre: null,
	last10: '4-6',
	onerun: '6-3',
	xtr: '2-0',
	nextg: '5/16 @ LAA, 10:05P',
	vsW: '11-9',
	ra: '178',
	gb: '4.5',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_lanmlb_milmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2706055&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '11-9',
	code: 'la',
	pct: '.525',
	league_sensitive_team_name: 'LA Dodgers',
	vsC: '5-6',
	vsE: '5-4',
	vsR: '11-16',
	vsL: '10-3',
	xwl: '22-18',
	strk: 'W2',
	l: '19',
	lastg: '5/15 @ MIL, W 7-2',
	interleague: '0-0',
	team: 'Los Angeles',
	road: '10-10'
}, {
	w: '17',
	elim: '112',
	rs: '150',
	div: 'nlw',
	gameid: '2008_05_16_chamlb_sfnmlb_1',
	status: 'P',
	pre: null,
	last10: '3-7',
	onerun: '9-10',
	xtr: '3-2',
	nextg: '5/16 v CWS, 10:15P',
	vsW: '8-8',
	ra: '200',
	gb: '9.5',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_houmlb_sfnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2708575&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '11-12',
	code: 'sf',
	pct: '.405',
	league_sensitive_team_name: 'San Francisco',
	vsC: '6-14',
	vsE: '3-3',
	vsR: '12-19',
	vsL: '5-6',
	xwl: '16-26',
	strk: 'L2',
	l: '25',
	lastg: '5/15 v HOU, L 7-8',
	interleague: '0-0',
	team: 'San Francisco',
	road: '6-13'
}, {
	w: '15',
	elim: '111',
	rs: '176',
	div: 'nlw',
	gameid: '2008_05_16_minmlb_colmlb_1',
	status: 'P',
	pre: null,
	last10: '3-7',
	onerun: '7-8',
	xtr: '1-4',
	nextg: '5/16 v MIN,  9:05P',
	vsW: '6-18',
	ra: '218',
	gb: '11.0',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_colmlb_arimlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2709706&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '7-10',
	code: 'col',
	pct: '.366',
	league_sensitive_team_name: 'Colorado',
	vsC: '6-6',
	vsE: '3-2',
	vsR: '12-22',
	vsL: '3-4',
	xwl: '17-24',
	strk: 'L5',
	l: '26',
	lastg: '5/15 @ ARI, L 5-8',
	interleague: '0-0',
	team: 'Colorado',
	road: '8-16'
}, {
	w: '15',
	elim: '110',
	rs: '140',
	div: 'nlw',
	gameid: '2008_05_16_sdnmlb_seamlb_1',
	status: 'P',
	pre: null,
	last10: '3-7',
	onerun: '6-9',
	xtr: '1-3',
	nextg: '5/16 @ SEA, 10:10P',
	vsW: '9-14',
	ra: '200',
	gb: '11.5',
	wrap: 'javascript:void(launchGameday({gid:\'2008_05_15_sdnmlb_chnmlb_1\',mode:\'wrap\',lurl:\'/news/wrap.jsp?ymd=20080515&content_id=2705679&vkey=wrapup2005&fext=.jsp&c_id=mlb\'}));',
	home: '8-10',
	code: 'sd',
	pct: '.357',
	league_sensitive_team_name: 'San Diego',
	vsC: '4-6',
	vsE: '2-7',
	vsR: '13-17',
	vsL: '2-10',
	xwl: '14-28',
	strk: 'L2',
	l: '27',
	lastg: '5/15 @ CHC, L 0-4',
	interleague: '0-0',
	team: 'San Diego',
	road: '7-17'
}]/**
 * @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') {
		star_mlb_options['division']	= arguments[0];
	}
	if (arguments[1] != null && arguments[1] != 'undefined') {
		star_mlb_options['team']		= arguments[1];
	}

	// 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;
	}

	// Build the links.
	var 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://www.mlb.com' + standings_rs[i].wrap + '" 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 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']		= 'cin';
addLoadEvent(star_mlb_standings);
