I am so sorry for your friends loss, she will be in my thoughts.
One of my friends who I had know since I was 10 died a couple of years ago, and we were told at school the next day. It wa really hard and awful. You have to let nature run its course, the pain she feels will one day ease. Just be there for her, plenty of hugs, keep her busy doing things, one of the best things is just to listen to her. When I was told that my dad had liver cancer (about a month ago) and who is now really sick and may die. My friends have been great. As soon as they had been told there were round my uni halls taking me out - I was never alone for a minute and it helped take my mind of things. Let herknow that you will be there night or day for her, my friends have been and have had frantic phone calls from me at around 11pm.
The most importantly be patient. She may yell at you and be nasty, but she probably doesn't mean it.
I hope it helps. We are all her for you on the boards. If you want someone to talk to, email or pm me.