If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Highlighting Javascript Problem

I am trying to highlight certain bits of my javascript code. I have HTML which contains the text boxes, the code below basically calculates totals of information and outputs them.

I want to highlight the boxes when they are above a certain number.

FTw should highlight at 17 and above
FBw should highlight at 13 and above
FTp should highlight at 14 and above
FBp should highlight at 14 and above
FTt should highlight at 10 and above
FBt should highlight at 13 and above

Ask if there is anything else that I need to provide. I dont know much about javascript but cant figure this out, I have tried copying and pasting the same code that I have used to highlight the perc value if it is over 66 but this didnt work.