/*! jquery Tocify - v1.2.0 - 2012-12-31 * Copyright (c) 2012 Greg Franko; Licensed MIT */ (function(e){"use strict";e(window.jQuery,window,document)})(function(e,t,n,r){"use strict";e.widget("toc.tocify",{version:"1.2.0",options:{context:"body",selectors:"h1, h2, h3",showAndHide:!0,showEffect:"slideDown",showEffectSpeed:"medium",hideEffect:"slideUp",hideEffectSpeed:"medium",smoothScroll:!0,smoothScrollSpeed:"medium",scrollTo:0,showAndHideOnScroll:!0,highlightOnScroll:!0,highlightOffset:40,theme:"twitterBootstrap",extendPage:!0,extendPageOffset:!0,history:!0},_create:function(){var e=this;e.items=[],e._generateToc(),e._addCSSClasses(),e._setEventHandlers(),t.addEventListener("load",function(){e._setActiveElement(),e.element.bind("extend.tocify",function(){e._setActiveElement()})},!1)},_generateToc:function(){var t=this,n,r;this.options.selectors.indexOf(",")!==-1?n=e(this.options.context).find(this.options.selectors.replace(/ /g,"").substr(0,this.options.selectors.indexOf(","))):n=e(this.options.context).find(this.options.selectors.replace(/ /g,"")),n.each(function(n){r=e("