replacing the relay in this schematic

I am wanting to use some of these relays with my Atmega328P:

They have a coil current of 28ma and coil voltage of 5 volts. Would the schematic from this relay kit work well to control this relay?

Screen Shot 2013-12-19 at 10.11.30 PM.png

Hi, Yes that looks OK...

Another schematic showing an opto-isolate version is here:

DISCLAIMER: Mentioned stuff from my own shop...

Yes it will work. The led & resistor is optional if you need a visual indicator of present relay state.