Converted from JavaScript to C# by Wil Dobson So that even Microsoft/Mono servers can understand Daft Punk's song 'Harder, Better, Faster, Stronger',