
Steve Mnuchin
var badMsg = new Array("I didn't marry you for your looks!", "You want me to look like a peasant?", "Come on, shmendrik, open that wallet!", "I grew up in a castle, not on a farm!"); var goodMsg = new Array("That's why I married you, my shmendrik!", "Ivanka's got NOTHING on me!", "Thanks, but I'm gonna need a second outfit!", "I guess it'll have to do..."); var wantMsg = new Array("I need more stuff!", "I want more stuff!", "Gimme more stuff!"); var budget = 3000, total = 0, rows = 4, maxCost = 3775; var cost = new Array(rows); var oldBut = new Array(rows);
function randomEl(a) { return randomElement(a); }
function buy(tb, r, p) { tb.disabled = true; if (oldBut[r] != null) oldBut[r].disabled = false; oldBut[r] = tb; oldCost = cost[r]; if (isNaN(oldCost)) oldCost = 0; total -= oldCost; cost[r] = p; total += p; writeTotal(); t = (total
Help Secretary of the Treasury Steve Mnuchin buy an outfit for his wife, Louise Linton!
Budget:
Spent:
$173
$180
$445
$139
$395
$940
$750
$1020
$1395
$750
$890
$995
writeTotal();




