I just purchased these tablets from Amazon.

Electrolyte Tablets

I haven't received them yet, so I can't comment on how well they work. They will be much cheaper than the G2 which I have been using to prevent leg cramps at night.