LIONz User

var alreadyloading = false;
var content;
var nextpage = $('a[title="next page"]').attr('href');
$(window).scroll(function() {
    if ($('body').height() <= ($(window).height() + $(window).scrollTop())) {
        if (alreadyloading == false) {
            var url = nextpage;
            alreadyloading = true;
            $.post(url, function(pagedata) {
                content = $(pagedata).find('.lista2t tbody tr');
                nextpage = $(pagedata).find('a[title="next page"]').attr('href');
                $('.lista2t tbody').children().last().after(content);
                console.log(content)
                console.log(nextpage)
                                RARBGPLUS();
                alreadyloading = false;
            });
        }
    }
});