This code is released under the GPL by Addy Osmani at AddyOsmani.com. You may modify the code in any way you wish but you may not sell this code for profit. 
Your license to use this code is extended for use on personal websites, business sites, blogs, charitable websites and website pages. You may not include this code in any form in a template that is being sold for profit (such as those being sold through the Envato network). Other than that, feel free to use this code for anything your heart desires!

Thanks and if you enjoyed the code and article please remember to leave me a comment or retweet - it just takes a sec :)

All the best
Addy