Assuming both your diagram, and the transistor itself follow the usual conventions, you have an NPN transistor here. The iMac (brown) should connect to the base, the +5V/ATX to the collector, and the ground to the emitter.

http://www.cs.huji.ac.il/~postpc/BS1/danocourse/CIRCUITS.htm