Listen to really upbeat music, have alot of soda, and don't lay down. If you are allowed on your computer at night, have an IM convo with a friend (but let them know you're also working). Interaction helps keep you up. If you're motivated to keep talking to someone it helps