For an explanation, refer to the solution submitted by ken in this location.
blackjack
flooble's webmaster puzzle