Double-check your line wrapping. The error is coming from line 3, according to the error message, and line 3 appears to be
- (container.parent.field[gWeight].value * .1)
Which appears to be intended as part of line 2, not its own line.
Oh, and that can be condensed:
container.parent.field[gWeight].value *= 0.9
|