as long as you have a copy of Mac OS X on DVD.

Just insert the DVD, restart the machine and hold down the "C" key (Keep it down until you hear the DVD start to do its thing)

Alternatively, repeat the above but hold down the OPTION key until you get a choice of startup disk on the screen.

Select the DVD and go from there