This tutorial WON'T work any more because the online colour bug has been fixed. This project will show you how to detect whether you are online or not.