Line shape study of three-photon ionization through intermediate states of Rb atoms.