$(function(){
    $('a.footnote').click(function(){
        var text = $('#footnotes ol li:eq(' + (parseInt(this.text) - 1) + ')').text();;
        var dialog = new Boxy("<p>" + text + "</p>", {title: '&nbsp;', show: false, center: false, fixed: false});

        dialog.show();
        dialog.resize(450, 200);

        return false;
    });
/*
    $('a.footnote').tooltip({
        track: true,
        delay: 0,
        showURL: false,
        opacity: 1,
        fixPNG: true,
        showBody: " - ",
        extraClass: "pretty fancy",
        top: -5,
        left: 5,
        bodyHandler: function() {
            return $('#footnotes ol li:eq(' + (parseInt(this.text) - 1) + ')').text();
        }
    });
*/
});


