What is the minimum required distance from a shower to an electrical outlet?
It must be GFCI (2009 residential codes, chapter 29):


  E3902.1 Bathroom receptacles. All
  125-volt, single-phase, 15- and
  20-ampere receptacles installed in
  bathrooms shall have ground-fault
  circuit-interrupter protection for
  personnel.


VA building codes are online: http://www.ecodes.biz/ecodes_support/Free_Resources/Virginia2009/09Residential/09Residential_main.html