You can buy the little rare earth magnets from Radio Shack. They do not interfere at all with the properties of the battery.
I prefer to use the flat-top batteries because i can use them in anything - and unused magnets conveniently attach to the leg of my desk so i can easily find them.
T