Did you recently change her diet? If yes, there is a similar thread here -
http://www.yorkietalk.com/forums/yor...rong-help.html Maybe she has an upset stomach?
Sandy threw up yellow liquid/foam a few times before. I noticed that happened when he didn't really eat the day before.