// JavaScript Document
$(function(){
$("a[rel='imgrelmodel']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
if(!title)title =' ';
return 'Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'';
}});
$("a[rel='imgrelmodel2']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
if(!title)title =' ';
return 'Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'';
}});
$("a[rel='imgrelmodel3']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
if(!title)title =' ';
return 'Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'';
}});
$("a[rel='imgrelmodel4']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
if(!title)title =' ';
return 'Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'';
}});
$("a[rel='imgrelmodel5']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
return 'Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'';
}});
$("a[rel='imgrelmodel6']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
if(!title)title =' ';
return 'Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'';
}});
$("a[rel='imgrelmodel7']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
if(!title)title =' ';
return 'Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'';
}});
$("a[rel='imgrelmodel8']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
if(!title)title =' ';
return 'Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'';
}});
$("a[rel='imgrelmodel9']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
if(!title)title =' ';
return 'Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'';
}});
$("a[rel='imgrelmodel10']").fancybox({
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
return 'Photo ' + (currentIndex + 1) + ' / ' + currentArray.length +' '+ title +'';
}});
});