help wiring an inverter into a campervan
I'd like to get a power inverter to power a Wii in my campervan. The van has mains sockets inside which can be used when the van is hooked up to a site power outlet.
I was wondering if there's a way to wire the inverter into these sockets so that they can be run off the battery, but so that when you plug the van into the mains, the inverter won't be fried. (Would that even happen? What would happen if you plugged an inverter's outputs into the mains?!) I'm thinking that some kind of relay might do the trick, but I really don't know the first thing about relays...
Thanks for any help.