I would also like to know the miracle cure!! My little girl is a year old and she goes through stages of constant barking.
I have tried squirting her with water, telling her off, rolled up newspaper and I am finally trying a sonic collar which I think is helping a little.
When she starts barking we have tried to distract her with food or toys but that doesn't work either she is just to persistant about whatever it is she is barking at.
We have finally come to the conclusion that she is just a barker but we do feel bad for the neighbours sometimes.