I have a 2004 Trailblazer EXT 4X4. The other night while driving my headlights went out. I was in the parking lot of my destination, luckily. I played with the switch changing from off to auto to manual, nothing. Being not far from home I decided to try to get home. As i was driving the lights came back on. I also noticed that there were no headlights,brake lights, or reverse lights upon locking or unlocking the vehicle. The next day I went out to go to work and they were working, on the way they went out again, and came back on after a bit. When got off work I went to the internet to find answers. After reading things from trailvoy, and other sites, I checked the relays by switching #45 and #46, nothing. Checked all the fuses in both fuse boxes front and rear, all good. As I scratched my head over this, something told me to cover the ambient light sensor. Upon covering the sensor I had low beams, of course no dtl's. I also had the light that come when you unlock (keyfob), but not when I locked it. The temporary fix is good for now but, I would like to fix it right. Since the light do work with the als covered could it still be the wires to the headlights, or maybe the ALS? Any further help with this problem would be greatly appreciated