Gulp
This is to SamToo:
I had the same situation. (Which didn't work out and is also the reason why I'm saying all this)
What i would've done if i could redo that situation is:
Wait out, DON'T HOPE, take any chance you get.
Try to stay as cool as possible (==> Not letting it get to your heart.) about this while still maintaining a good bond with that girl.
This may be hard and may require some "faking".
Faking in the sense of 'Not (trying to be) meaning it.'
This because you should not let it get to you in an emotional way, only in a 'calculated' way. (Don't feel from your heart but act from your brain.)
This faking is also important to let her know that if she'd break up with her bf, you're there for her.
If things work out and she goes for you and everything seems to be in good order, THEN, and ONLY THEN let it get to you in an emotional way.
If nothing happens after a good while, let it pass and focus on other girls. (That's my way of getting over girls.)
(I've written this with the main objective to not get hurt if nothing happens but at the same time giving it a very good chance to let things happen.)