//center last line of p
$(document).ready(function(){
    $('p').each(function(){ // change the "p" selector at will
        var $this = $(this);
        if(Math.round(parseFloat($this.css('lineHeight'), 10)) == $this.height())
            $this.addClass('oneliner');
    });
});

// jscrollpane
$(function()
{
	$('.scroll').jScrollPane();
});
