if (matches[i].homeForm) { ?>
var hChars = matches[i].homeForm.split('');
for (var c = 0; c < hChars.length; c++) {
var ch = hChars[c].toLowerCase();
if (['w','d','l'].indexOf(ch) !== -1) {
?>
= hChars[c] ?>
}
}
?>
} ?>
if (matches[i].awayForm) { ?>
var aChars = matches[i].awayForm.split('');
for (var c = 0; c < aChars.length; c++) {
var ch = aChars[c].toLowerCase();
if (['w','d','l'].indexOf(ch) !== -1) {
?>
= aChars[c] ?>
}
}
?>
} ?>