Sparticle spectroscopy and electroweak symmetry breaking with gauge-mediated supersymmetry breaking