
$(window).load(function(){
 
            $('#wrapper').masonry({
                itemSelector: '.post:visible',
                columnWidth: 410, 
                animate: true, 
				singleMode: false,
                animationOptions: {
                duration: 200,
                queue: false,
                }
            });
 




/*$('#wrapper').infinitescroll({
    navSelector  : '#footer a.next',    // selector for the paged navigation 
    nextSelector : '#footer a.next',    // selector for the NEXT link (to page 2)
    itemSelector : '.post',       // selector for all items you'll retrieve
    loadingImg : 'http://lukesbeard.com/scratch/loader.gif',
    loadingText  : "<span>Loading More Awesome</span>",    
    donetext  : 'This Sucks there is No More :(',
    debug: true,
    errorCallback: function() { 
        
        $('#infscr-loading').animate({opacity: .8},2000).fadeOut('normal');     
    }
},
    // call masonry as a callback, after 1000 milliseconds
    function() {
       var newStuff = $(this);
       setTimeout(function() {
           $('#wrapper').masonry({ appendedContent: newStuff });
       }, 0);
    }
 
 
    )}
 
     
	   
	) */ 
})

