The layout is usually printed onto the motherboard next to the pins, although it can be extremely hard to see sometimes.
This is a last resort, but, if you cannot find any documentation on the motherboard that would show the pin configurations, you can find out which pins are the power connections by using a screwdriver to touch two pins together at a time. When the computer turns on, you know you found the power connections.