var Ellington = window.Ellington || {};


/*
 * Module
 */

Ellington.Module = (function($) {
  return function(element) {
    if ($(element+' h2').length > 1) {
      $(element).accordion({header: 'h2', autoHeight: false});
    }
  };
})(jQuery);


jQuery(document).ready(function($) {
  Ellington.Module('.module');
});
