It didn't erase anything off your HDD, but it did set all the bios settings back to default settings. This means that you need to go back and change the settings back to what you had then set to before you took out the battery.
It may just be that your primary boot device is set wrong.
I finally got it to work! Building the computer was easy. It's all the technical stuff that I have trouble with.