It has a 5 pin relay:

That plugs in to this:

On the relay each in is labeled:
30
85
86
87 (middle)
87
And the wires come off them are as follows
30 - Red, which is an open ended wire...
85 - Black, which has both and open ended wire and a wire going to the sunroof swich
86 - Orrange, which is an open ended wire
87 (middle) - Red, goes to switch
87 - Blank-no wire
Can anyone help?