You either need the cable Amije linked to above, or a 4 way IDE splitter. This will let you connect the CD-ROM and hard drive at the same time.
You might also need something like
this so you can connect the CD-ROM to the IDE cable, but this will depend on the type of interface and connector on the back of the CD-ROM.
--
moto