Switching 18V

You need to drive the relay with a transistor. You can find the driver circuit herehttp://arduino.cc/playground/uploads/Main/relays.pdf