If you lose your jewel case and have to reinstall Starcraft, you can recover your CD key from the StarDat.mpq file in your previous installation directory. Just copy this file from your old directory to your new installation directory (after installing, but before updating).
Reading:
Social