var $j = jQuery.noConflict(); 

$j(function() {

    $j(".link-post").click(function() {
    
        window.location = $j(this).find(".tumblr-link a").attr("href");
    
    });

});

$j(function(){

    var offset = 5;
		
    $j("#postContainer").load("/random/");
    $j("#another").click(function(){
        
        offset = offset+5;
    
        $j("#postContainer")
            .fadeOut()
            .load("/random/?offset="+offset, function() {
                $j(this).fadeIn();
            });
            
        return false;
    });

});

