File: //var/www/awara-logistics.com/fancybox/fancybox.js
var t = jQuery.noConflict();
t(document).ready(function() {
t.fn.getTitle = function() {
var arr = t("a.fancybox");
t.each(arr, function() {
var title = t(this).children("img").attr("title");
t(this).attr('title',title);
})
}
// Supported file extensions
var thumbnails = 'a:has(img)[href$=".bmp"],a:has(img)[href$=".gif"],a:has(img)[href$=".jpg"],a:has(img)[href$=".jpeg"],a:has(img)[href$=".png"],a:has(img)[href$=".BMP"],a:has(img)[href$=".GIF"],a:has(img)[href$=".JPG"],a:has(img)[href$=".JPEG"],a:has(img)[href$=".PNG"]';
t(thumbnails).addClass("fancybox").attr("rel","group").getTitle();
t("a[rel=group]").fancybox({
'imageScale': false,
'transitionIn' : 'none',
'transitionOut' : 'none',
'titlePosition' : 'over',
'titleFormat' : function(title, currentArray, currentIndex, currentOpts) {
return '<span id="fancybox-title-over"> ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' ' +
title : '') + '</span>';
}
});
});