99 dodge dakota obd2 connector replacement

a friend of mine was checking to see why my check engine light was on with his scanner when he went to diconnect his scanner the plug stayed in the end of his scanner and the wires pulled out of the plug can anyone tell me wich wire goes where or where i can get a diagram wire color and pin postion would be helpful

There are a couple ways, 1. get the factory service manual (expensive, 2 model specific manual from parts store (may not have the info) 3. go to a junk errr. I mean salvage yard and look at one, 4 while at salvage yard just cut one off another truck.

Here ya go!

Pin 1____NOT USED
Pin 2____NOT USED
Pin 3____VIOLET/BROWN
Pin 4____BLACK/WHITE (or BLACK/TAN)
Pin 5____BLACK/TAN (or BLACK)
Pin 6____LIGHT GREEN (or VIOLET/WHITE)
Pin 7____PINK
Pin 8____NOT USED
Pin 9____NOT USED
Pin 10___NOT USED
Pin 11___WHITE/BLACK
Pin 12___NOT USED
Pin 13___NOT USED
Pin 14___NOT USED
Pin 15___NOT USED
Pin 16___PINK

Tester