hey i cant remember exactly but:
the middle wire is not used.
One side there is a pair of wires that are a amber light on the switch, the other side is another pair of wires that are your switching wires. on one side Use a 6v power source to find out which side the amber light lights up with.
now from your spotty loom there should be a negative switching wire that comes live when high beam is on. A return wire and a constant positive supply wire.
now the pos supply wire goes to one side of the amber light wires. the other light wire goes to the return wire from ya spottys. Now for the switching wires, one side of the switch wire goes to the negative switching wire from the spotty loom the other wire from the switch goes to the negative side of the light which is also the return wire to the loom.
hope this is right im only going by memory lol
a test light and multimeter are ya friend
to make sure ya got it right lol
hope this helps ya
Cheers Troy