$("a[rel='fancybox-listpage']").fancybox({
openEffect: "none",
closeEffect: "none",
beforeShow: function() {
this.title = 'Image ' + (this.index + 1) + ' of ' + this.group.length + (this.title ? ' - ' + this.title : '');
},
});