http://pastebin.com/P2ghHZrg# full solution
Please tip 18xavJxp7Wxs3vjQvLAsfpTyt9RDBin4RB if you are satisfied with the solution
EDIT: Sorry just read your previous post about it needing to have the ability to do 16million combinations. I'm unsure if my solution is capable of that.
I think you'd be better off with a desktop application solution as opposed to a javascript one if you're planning on generating upto 16 million bitcoin addresses.
Why would it be incapable of a particular number? The main point is that I should be able to see it's progress without the browser hanging.
If I have no success with 16m, I may even have to go back and try doing a 64m or 128m run... depending on how things go.
I'll take a look at your code now anyway, thank you so much for your efforts.