while driving everything shut off as if the key had been turned to off. reset the key and in started right bacl up and ran fine. Next time I tried to start it, turned the key to glow plug and nothing, reset key and everything was fine. Next time turn the key to glow plug warm up then tried to turn engine over and complete electrical loss, no gauges, no powere windows, no radio. Reset key and tried again same issue except no glow plug went immediately to no electrical power. During one of the attempts I heard a firm clicking near the middle of the dash or firewall not sure which. Both batteries are fully charged. Wondering if there is a solenoid (clicking sounded suspect) problem or maybe the key switch. Don't know where to start. Any help would be appreciated. Thanks to all