using an arduino to control a switch

What type of a circuit would I need in order for an Arduino to close a switch? I need for my arduino to open and close a CD Drive by "pressing" the eject button.

I'm guessing that I would need to use a Transistor, but I'm not sure what type or how to connect it or what type of resistor I would need at the Base?

also the CD drive would be powered by a wall-wart.

So you are trying to close a circuit, or you need to engage a servo to press a physical button?

I'm trying to close the circuit

There were a number of ideas for doing that kind of thing in this thread:http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1217077559

Have fun!

awesome, exactly what I was looking for!
http://www.jonasolson.se/content/arduino_tutorial/

anyone know where I can find a company that sells a TIL116 opto-isolator and ships to US?

or if this one is compatible:
http://www.vishay.com/docs/83730/83730.pdf

NTE is one of the easier components to get, they have a cross reference
The 3041 would probably work.
http://delta.octopart.com/NTE_Electronics__NTE3041.pdf

Vishay has something that will work as well
http://delta.octopart.com/Vishay__CQY80NG.pdf