
Ivanka Trump
.dial {color:#ffff00; font-weight:bold; text-align:center; font-size:20px} .buttons {text-align:center;}
Since we're in a gambling mood, here's $10 virtual to play our slot machine. Press SPIN and watch your money disappear multiply! Get triples to get cash, bagels are wild... Beware the Trump!
var credits, pet, paid; interval = 100; over = false; spinning = false; counter = 0; stopper = 0; var c1, c2, c3;
restart(); show();
function rand(x) { return parseInt(Math.random()*x); }
function maxbet() { b = 5; if (credits > 10) b = 10; if (credits > 50) b = 50; if (credits > 99) b = 99; return b; }
function show() { if (credits maxbet()) bet = 1; } else if (b == 3) { bet = maxbet(); if (bet > credits) bet = credits; } else if (b == 4) { spinning = true; if (bet > credits) bet = credits; credits -= bet; counter = 0; setTimeout('spin()', interval); } show(); }
function draw(p, x) { x1 = x != 6 ? x : "bagel"; if (x != 0) { u = 'img/ratings/rating-'; p.src = u + x1 + '.jpg'; } else { p.src = 'img/people/d/donald_trump.jpg'; } }
function spin() { f = 'spin()'; if (counter == 0) stopper = rand(10)+15; if (counter == stopper) f = 'stop()'; if (counter 0) add = bet add; credits += add; if (bet > credits) bet = credits; if (add >= 0) paid = add; if (add 0) alert("$"+add+"!"); if (credits




