[Please help] Arduino + shift register + relay

I am working on a school project. I designed my work working like shifting on 64 light blubs. So what I've got is arduino, relays and shift registers 74HC595.

I did read the example in http://arduino.cc/en/Tutorial/ShiftOut, but I dont really know how to insert or edit the code in also controlling relays with codes for shift register. I have spent long on looking for this kind of examples but finally got nothing :'( Anyone can help?

Great Thanks ;)

Turning on relays is no different than turning on LED’s, except that you can not drive relays directly from the 595 shiftregister pins.

You need a transistor or something in between.

Google “Arduino relay” and you will find what you need