Keep your impedances as low as possible on I/O, and place significant impedance between the electronics, and the outside world. Small caps inside those impedances, to swamp any energy that does get through, plus steering diodes to bleed it off to VCC or gnd as appropriate. Build from dissipative materials, conductive may get you in worse trouble from the magnetic field pulses when discharges happen. Tie any unavoidable floating metal to circuit ground through 1k or so to limit current. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist