$(function() {
    //initialize prettyPhoto
    $("a[rel^='prettyPhoto']").prettyPhoto();
});