Only Include jQuery if it Hasn’t Already Been Included

By Forrest Smith - Drempd.com

If jQuery gets included twice, things break.  Because of various nested documents with server-side scripts, I encountered a few situations were jQuery would occassionally be included twice.  To check, and make sure to only include it once, you can use the following: