I assume you have checked all the fuses.
Have you checked the wiring between the roof and the tailgate? Hopefully it's just the connectors, but you may have nipped the wires.
You may have to pull down the roof lining at the back to access the connectors.
astragal, November 2009