Mhh it is a bit more difficult...
I have never done these things but I saw a topic to talk about the beginning of the game when you get up.
http://www.frictionalgames.com/forum/thr...light=wake
Look the code in first post.
If it is the same as yours, except that the one is to get up, you may be changing a few lines to his to do the opposite...
FadeOut(0); // Instantly fades the screen out. (Good for starting the game)
FadeIn(20); // Amount of seconds the fade in takes
FadeOut (0) means that it is directly on the screen to black.