Aligning Objects in Blender 2.5 from Kernon Dillon on Vimeo.
Object -> Transform -> Align Objects
(This is available only in object mode)
Align Objects: Align Mode: Postive Sides (means top side)
Relative To: Scene Origin (the intersection b/w x and y axis (green and red)).