/*
 * Hide longtexts and create links to expand
 */

(function($) { // hide the namespace
    $(function () {
        $('.trigger').click(function() {
            $('#p'+this.id).slideToggle(300);
        });
    });
})(jQuery);

/*
 * Equal height fluent li in home (for same length vertical bars)
 */
$(function() {
    var H = 0;
    $("#main-content.home .features li").each(function(i) {
        var h = $("#main-content.home .features li").eq(i).height();
        if(h>H) H = h;
    });
    $("#main-content.home .features li").height(H);
});
