Hi there Elaine, same problem here......
It's probably a faulty poweramp relais which switches between the headphone socket and the speakers.
Probably has to be replaced....not sure though....
I intend to replace this part myself (not easy to access :-(
or reconnect it with a solderbolt(?) if a loose connection is acting up....
Paul, November 2007