Need Help Making Circuit

I am working on a small weekend project that involves taking the power from the location on the PCB in a keyboard where the LEDs were and making it act as a switch to a small remote control outlet (Something Like This: http://ecx.images-amazon.com/images/I/410y7UnyvdL.jpg )

I have tried using an LED glued to a photocell, though I am thinking it is somehow acting as a resistor and limiting the power that can go through. I have some transistors, What kind of a circuit can I rig up with them to make this work?

110100101108 years ago
you need small npn transistor and relay and very good isolation so that in no wai 110 / 240 V can get to the computer you can do this as well on the old printer port