Ok, I need some information. I need to know what each of these pins do on the headlights:

Light #1 - AFL Xenon:

Light #2 - AFL Xenon:

Light #3 - Halogen:

If someone could let me know what each pin is for, and also what each connects to, that would be great. If there is a harness it connects to, and someone has the harness, or even just the ends, I might be interested in purchasing them.