I've had a similar and yet completely different issue with my Jeep. A few years back my brother-in-law installed a new stereo in the Jeep and screwed the wiring up. When I would start her up all the gauges would max out, drop to minimum and then to wherever they were supposed to go, that and the odometer wouldn't log trips that were under about 8 miles. On top of that the radio wouldn't save the station presets or the time. After a while (and after I moved to a new place that had a garage) I pulled the head unit out of the dash and started tracing wires and also checked fuses, sure enough the fuse for the stereo itself was blown (which explained the radio memory issue), I replaced the fuse and set the stations on the radio and all was good. That is until I left her sitting in the driveway for an entire weekend without driving her, Monday morning rolled around and my battery was dead dead dead, so dead it wouldn't even click the solenoid. So I got a jumpstart from a friend and drove to work. That night I traced the stereo wires again (more carefully this time) and found that the constant hot lead (that I replaced the fuse for) and the Ignition hot lead had been wired together, so whenever the fuse was in place I was effectively powering the ECU and everything else, which is what killed the battery. The only problem I have now is that if I shut off the ignition before I turn off the Head Lights they will turn off when I turn the knob to the "Parking Lights Only" position but will turn on again when I turn the knob to "all off", and I have to cycle the knob again to turn the Head Lights all the way off, but if I turn the lights off before the ignition there are no issues.
I would say check all you fuses, since there was no issue until you plugged the fogs in. The alarm would feed the lights through a different circuit which would be why they still work with that. I know that my tail lights and dash lights are on the same primary circuit, and that my foglight and headlight relays are separated to each side (left side on 1 fuse, right side on another fuse). I'm assuming that the Hi-Beam that's not working is on the same side as the foglight you plugged in?? if so I can about guarantee it's a fuse issue. The fogs are probably wired together off of one of the "side circuits" (probably the same circuit as the Hi-Beam you lost use of). Now, as to why you lost the dash and taillights as well, I have no idea.
__________________
|