Toyota Repair: 1982 toyota pickup headlights, low beams, headlight bulbs


Question
Hi Ted,
my question is I'm trying to fix the headlights on my 1982 toyota pickup, and i need to know what the individual prongs on the back of the main headlight bulbs do, there is 1 horizontal prong with 2 vertical prongs below it to both sides, on each bulb. I believe the top prong which has a green stripped wire running into it is the ground, but i am not sure. however the other vertical prongs which on both head lights have 1 yellow stripped wire, going into one of the prongs, then a black stripped wire going into the remaining prong on the passenger side, and a white stripped wire going into the remainin prong on the drivers side. I couln't figure it out in the wiring diagram and would appreciate any insight you have, I hope that descrription makes sense.
thanks alot
brad moschetti  

Answer
On the left headlight the red/white wire go to the top, on the right side, the red/black go to the top horizontal connector.
On both sides the red/yel go to the outside prong and the red/green to the inside prong, the high/low beams are turned on by the switch and the circuit is grounded to the headlight relay,  there is no direct ground connection to the headlights.