Nema 17 Wiring

I got some of theses Nema 17 motors on ebay and they have 6 wires. I have a multimeter and all the MPCNC electronics including the 12v 30a power supply. How do I figure out which wires to use? Thanks!

p.jpg

Read it here http://www.reprap.org/wiki/Stepper_wiring