';
if (division == 'alw') {
standings += '
ALW\n';
} else {
standings += '
ALW\n';
}
if (division == 'alc') {
standings += '
ALC\n';
} else {
standings += '
ALC\n';
}
if (division == 'ale') {
standings += '
ALE\n';
} else {
standings += '
ALE\n';
}
if (division == 'nlw') {
standings += '
NLW\n';
} else {
standings += '
NLW\n';
}
if (division == 'nlc') {
standings += '
NLC\n';
} else {
standings += '
NLC\n';
}
if (division == 'nle') {
standings += '
NLE\n';
} else {
standings += '
NLE\n';
}
standings += '
';
}
// Start the standings table.
standings += '';
// 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 = '