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