/* * A jQuery plugin by Brian Holt that will search the selected blocks for * specially-defined footnote elements. If found, these elements will be * moved to a footnotes section and links to and from the footnotes will * be created. * * See http://www.planetholt.com/articles/jQuery-Footnotes * for full documentation. * * By default, footnotes will be found in SPANs with the footnote class, * and in BLOCKQUOTEs with a TITLE attribute. * * Thanks to CSSNewbies.com for the general idea, which I have enhanced * and implemented with as a jQuery plugin. * * Copyright 2008-2009 Brian Holt. * Licensed under the LGPL license. See * http://www.gnu.org/licenses/lgpl-3.0-standalone.html * * Version 1.2.2 */ (function(c){c.fn.footnotes=function(d){var e=c.extend({},c.fn.footnotes.defaults,d);return this.each(function(f){b("INFO: Building footnotes for "+(f+1)+"...",e.debugMode);c(e.footnotes,this).addClass(e.autoFootnoteClass);var h=(""===e.contentBlock)?c(this):c(e.contentBlock,this),g=e.orderedList?"
    ":"