Hi Guys

looking for a Diagram that tells me what wire is what when it comes to the wiring of a MKIV Headlight

ie a list that corresponds colour to function or what ever.

i have a loom out of a wreck that had the plugs smashed off so im trying to work out whats what.. i cant look at my car either as it is a 12pin HID set up

also i notice that there are 3 or 4 separate earths.. do certain bulbs need to be hooked up to certain earths?

your help would be appreciated if anyone has any of this such information

its rather urgent :/