rem: if (pitcherName.indexOf("W") > -1) { 
add: if (pitcherName.indexOf("(W") > -1) { 
context:     function printStats(homeStatColumn, boxScoreStatColumn, offset, playerType) {        if (boxScoreStatColumn && playerType == BATTER) {            // H/AB            homeStatColumn[(8 + offset * 2)].innerHTML = boxScoreStatColumn[7].innerHTML + '/' + boxScoreStatColumn[3].innerHTML;            // R            homeStatColumn[(10 + offset * 2)].innerHTML = boxScoreStatColumn[5].innerHTML;            // HR            //children[12].innerHTML = stats.HR;            // RBI            homeStatColumn[(14 + offset * 2)].innerHTML = boxScoreStatColumn[9].innerHTML;            //avg            if (boxScoreStatColumn[3].innerHTML*1 > 0) {                var avg = (boxScoreStatColumn[7].innerHTML*1 / boxScoreStatColumn[3].innerHTML*1).toFixed(3);                avg = (new String(avg).charAt(0) != '1') ? (avg.substring(1,avg.length)) : avg;                homeStatColumn[(18 + offset * 2)].innerHTML = avg;            }        }        if (boxScoreStatColumn && playerType == PITCHER) {            // IP            homeStatColumn[(8 + offset * 2)].innerHTML = boxScoreStatColumn[3].innerHTML;            // W            var pitcherName = new String(boxScoreStatColumn[1].innerHTML);            if (pitcherName.indexOf("W") > -1) {                homeStatColumn[(10 + offset * 2)].innerHTML = '1';            }            // S            //children[12].innerHTML = stats.HR;            if (pitcherName.indexOf("S") > -1) {                homeStatColumn[(12 + offset * 2)].innerHTML = '1';            }            // K            homeStatColumn[(14 + offset * 2)].innerHTML = boxScoreStatColumn[13].innerHTML;            //ERA            var era = boxScoreStatColumn[7].innerHTML * 9 / boxScoreStatColumn[3].innerHTML;            homeStatColumn[(16 + offset * 2)].innerHTML = era.toFixed(2);            //whip            var whip = (boxScoreStatColumn[5].innerHTML * 1 + boxScoreStatColumn[11].innerHTML * 1) / boxScoreStatColumn[3].innerHTML;            homeStatColumn[(18 + offset * 2)].innerHTML = whip.toFixed(2);        }    }
meta: 7151	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/7151/72758ac606e341efc52dff7f31f46f157a338606/baseball.user.js/clean/baseball.user.js