JavaScript: Countdown to Page

Hey Everyone,

I was wondering how I could go about making a small page like what they have when you visit where it has a little counter counting down the time it will take to get to the main page of

I know it’s gotta be simple, but I can’t find any information anwhere…