For an explanation, refer to the solution submitted by Charlie here and here..
blackjack
flooble's webmaster puzzle