Google diode and/or look on elb for specifics on that inquiry. I don't know what specific diode you'd require but its basically an electronic device which only permits electricity to flow one way.
Drawing power from the high beams- if you are only using it to trigger a relay, I would not worry. If you are using it for anything more than a trigger and/or to power anything other than the OEM high beams, I would worry/not do it at all.
The diode would prevent any random/stray currents (electricity) from flowing back into the high beam wire, which could in theory bugger with the computer/blow fuses, etc. (on the very off chance the relay shorted out, or the aftermarket light itself, or some other random event).