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

