Event.onContentReady('footer', function() {
    Dom.setStyle(this, 'cursor', 'pointer');
    Event.on(this, 'click', function() {
        var h2 = $$('h2', this)[0];
        var p = $$('p', this)[0];
        if(Dom.hasClass(h2, 'opened')) {
            Dom.replaceClass(h2, 'opened', 'closed');
            Dom.hide(p);
        } else {
            Dom.replaceClass(h2, 'closed', 'opened');
            Dom.show(p);
        }
    });
});
