The two house batteries on my sailboat (connected in parallel) went dead and wouldn't hold a recharge. I bought two new ones. When I connected them, exactly like before, there was a loud popping noise in the electrical panel or at the battery selector switch. Then I found that the automatic bilge pump was running continuously ... perhaps the cause of the dead batteries in the first place? Then I discovered that several piece of my electronics are suddenly inoperable: the ICOM VHF radio, the Sony stereo, the Raymarine autopilot. Testing shows that power is going to the equipment, so it doesn't seem to be a fuse problem, but nothing shows on the display (except on the autopilot, which shows a "Seatalk Fail" error message), and the equipment doesn't work. Also, three cabin fans, which are wired thru interior lights and are connected to the "interior lights" switch on the electrical panel, don't work, although the cabin lights themselves do work. Also, the siren that's supposed to sound when you turn the diesel engine ignition switch doesn't operate. Other equipment is okay, including the GPS, the depth finder (which goes to the same switch on the electrical panel as the inoperable autopilot), and others. What could have caused this? A lightning strike? Does it sound like I need to replace all the inoperable equipment?