The online replacement vs repair decision helper

I wrote this tool to help decision-making when you have have to repair or replace something.
It uses a pair of jeans as an example, but it’s meant to be generic. Just replace its parameters and let it calculate.

(I’m assuming onChange="updateAll();" onKeyUp="updateAll();" /> as a currency and one onChange="updateAll();" onKeyUp="updateAll();" /> as a time unit.
I also assume a onChange="updateAll();" onKeyUp="updateAll();" />%/year growth rate of your assets.)

You are thinking about replacing a: onChange="updateAll();" onKeyUp="updateAll();" />
You have owned pair of jeans for: onChange="updateAll();" onKeyUp="updateAll();" /> year(s)
Replacing the pair of jeans would cost you: onChange="updateAll();" onKeyUp="updateAll();" /> $
Your pair of jeans is costing you in repairs: onChange="updateAll();" onKeyUp="updateAll();" /> $ / year
While the pair of jeans is undergoing repairs, you have a backup plan which costs you: onChange="updateAll();" onKeyUp="updateAll();" /> $ / year
Do you feel the pair of jeans at risk of a major, catastrophic, sudden failure?
onChange="updateAll();" onKeyUp="updateAll();" />Not really.
onChange="updateAll();" onKeyUp="updateAll();" />Possibly… but maybe an ice cream would cheer me up again. (+5 $ / year)
onChange="updateAll();" onKeyUp="updateAll();" />I think I’ll have to pay a couple of fine dinners if that happens. (+50 $ / year)
onChange="updateAll();" onKeyUp="updateAll();" />Well, that would cost me about onChange="updateAll();" onKeyUp="updateAll();" /> $.
Would a new pair of jeans have significant advantages, or technological advancements, over the old one?
onChange="updateAll();" onKeyUp="updateAll();" />Not really. I’m kind of emotionally bonded to the old one.
onChange="updateAll();" onKeyUp="updateAll();" />For starters, it wouldn’t look old. (+15% value over the old one.)
onChange="updateAll();" onKeyUp="updateAll();" />It has an improvement or two. (+30% value over the old one.)
onChange="updateAll();" onKeyUp="updateAll();" />The new one is way better! (+ onChange="updateAll();" onKeyUp="updateAll();" />% value over the old one.)
onClick="updateAll(); document.getElementById('response').style.display = '';" />