You are going to need an in=circuit programmer in order to burn the bootloader on to the ATmega8. seeing as how the bootloaders purpose is so that you can upload sketches to the MC using the IDE.
They are generally around 25 to 45 dollars. I would recommend getting a good one. It may be more expensive but its so worth the few extra bucks to avoid all the hassle.