It ought to be fairly easy to do this, but you'll need to dig into your wiring.
To trigger fogs from parking lights, find the foglight relay and change the wiring so the trigger line comes from the parking lights instead of the lowbeams.
The trick now is to make them go off when the highbeams...