Are these HID lights that are replacing factory headlights? Or are they offroad lights that are HID and you are using the factory foglight switch to activate?
1) Do yourself a favor and just stay clear of any factory wires and DO NOT tap into any of them!
2) If they are a set of HID offroad lights, then go directly to the sPOD.
The ECU, TIPM is utilizing a CAN-Bus / MUX system which is programmed to recognize specific voltages or voltage change range. If it sees a different reading from those simple wires that you tapped into, it will try and adjust the voltage which in turn messes with your HID's!
STAY AWAY FROM CAN-Bus unless you are a highly skilled
-John the sPOD guy
switches jeeps panels jk-forum carling contura led switch windshield