$(function() {
    $('.rounded').append(
          '<div class="corner top_left"></div>'
        + '<div class="corner top_right"></div>'
        + '<div class="corner bottom_left"></div>'
        + '<div class="corner bottom_right"></div>'
    );
    
    // force clearing of portrait blocks so they take up full height
    // of image at least (fixing weird image issue)
    $('.portrait-block').append('<div style="clear: left;"></div>');
});

