$(document).ready(function() {
    $("a[rel=hosts]").fancybox({
            "transitionIn"	: "elastic",
            "transitionOut"	: "elastic",
            "titlePosition"     : "over",
            "titleFormat"	: function(title, currentArray, currentIndex, currentOpts) {
                return "<span id=\'fancybox-title-over\'>Image " + (currentIndex + 1) + " / " + currentArray.length + (title.length ? " &nbsp; " + title : "") + "</span>";
            }
    });
});
$(document).ready(function() {
    $("a[rel=surroundings]").fancybox({
            "transitionIn"	: "elastic",
            "transitionOut"	: "elastic",
            "titlePosition"     : "over",
            "titleFormat"	: function(title, currentArray, currentIndex, currentOpts) {
                return "<span id=\'fancybox-title-over\'>Image " + (currentIndex + 1) + " / " + currentArray.length + (title.length ? " &nbsp; " + title : "") + "</span>";
            }
    });
});
$(document).ready(function() {
    $("a[rel=rooms]").fancybox({
            "transitionIn"	: "elastic",
            "transitionOut"	: "elastic",
            "titlePosition"     : "over",
            "titleFormat"	: function(title, currentArray, currentIndex, currentOpts) {
                return "<span id=\'fancybox-title-over\'>Image " + (currentIndex + 1) + " / " + currentArray.length + (title.length ? " &nbsp; " + title : "") + "</span>";
            }
    });
});
$(document).ready(function() {
    $("a[rel=house]").fancybox({
            "transitionIn"	: "elastic",
            "transitionOut"	: "elastic",
            "titlePosition"     : "over",
            "titleFormat"	: function(title, currentArray, currentIndex, currentOpts) {
                return "<span id=\'fancybox-title-over\'>Image " + (currentIndex + 1) + " / " + currentArray.length + (title.length ? " &nbsp; " + title : "") + "</span>";
            }
    });
});
$(document).ready(function() {
    $("a[rel=common]").fancybox({
            "transitionIn"	: "elastic",
            "transitionOut"	: "elastic",
            "titlePosition"     : "over",
            "titleFormat"	: function(title, currentArray, currentIndex, currentOpts) {
                return "<span id=\'fancybox-title-over\'>Image " + (currentIndex + 1) + " / " + currentArray.length + (title.length ? " &nbsp; " + title : "") + "</span>";
            }
    });
});
$(document).ready(function() {
    $("a[rel=bfast]").fancybox({
            "transitionIn"	: "elastic",
            "transitionOut"	: "elastic",
            "titlePosition"     : "over",
            "titleFormat"	: function(title, currentArray, currentIndex, currentOpts) {
                return "<span id=\'fancybox-title-over\'>Image " + (currentIndex + 1) + " / " + currentArray.length + (title.length ? " &nbsp; " + title : "") + "</span>";
            }
    });
});
$(document).ready(function() {
    $("a[rel=spa]").fancybox({
            "transitionIn"	: "elastic",
            "transitionOut"	: "elastic",
            "titlePosition"     : "over",
            "titleFormat"	: function(title, currentArray, currentIndex, currentOpts) {
                return "<span id=\'fancybox-title-over\'>Image " + (currentIndex + 1) + " / " + currentArray.length + (title.length ? " &nbsp; " + title : "") + "</span>";
            }
    });
});
$(document).ready(function() {
    $("a[rel=songes]").fancybox({
            "transitionIn"	: "elastic",
            "transitionOut"	: "elastic",
            "titlePosition"     : "over",
            "titleFormat"	: function(title, currentArray, currentIndex, currentOpts) {
                return "<span id=\'fancybox-title-over\'>Image " + (currentIndex + 1) + " / " + currentArray.length + (title.length ? " &nbsp; " + title : "") + "</span>";
            }
    });
});
$(document).ready(function() {
    $("a[rel=vent]").fancybox({
            "transitionIn"	: "elastic",
            "transitionOut"	: "elastic",
            "titlePosition"     : "over",
            "titleFormat"	: function(title, currentArray, currentIndex, currentOpts) {
                return "<span id=\'fancybox-title-over\'>Image " + (currentIndex + 1) + " / " + currentArray.length + (title.length ? " &nbsp; " + title : "") + "</span>";
            }
    });
});
$(document).ready(function() {
    $("a[rel=poesie]").fancybox({
            "transitionIn"	: "elastic",
            "transitionOut"	: "elastic",
            "titlePosition"     : "over",
            "titleFormat"	: function(title, currentArray, currentIndex, currentOpts) {
                return "<span id=\'fancybox-title-over\'>Image " + (currentIndex + 1) + " / " + currentArray.length + (title.length ? " &nbsp; " + title : "") + "</span>";
            }
    });
});
$(document).ready(function() {
    $("a[rel=evasion]").fancybox({
            "transitionIn"	: "elastic",
            "transitionOut"	: "elastic",
            "titlePosition"     : "over",
            "titleFormat"	: function(title, currentArray, currentIndex, currentOpts) {
                return "<span id=\'fancybox-title-over\'>Image " + (currentIndex + 1) + " / " + currentArray.length + (title.length ? " &nbsp; " + title : "") + "</span>";
            }
    });
});
$(document).ready(function() {
    $("a[rel=accueil]").fancybox({
            "transitionIn"	: "elastic",
            "transitionOut"	: "elastic",
            "titlePosition"     : "over",
            "titleFormat"	: function(title, currentArray, currentIndex, currentOpts) {
                return "<span id=\'fancybox-title-over\'>Image " + (currentIndex + 1) + " / " + currentArray.length + (title.length ? " &nbsp; " + title : "") + "</span>";
            }
    });
});
$(document).ready(function() {
    $("a[rel=activities]").fancybox({
            "transitionIn"	: "elastic",
            "transitionOut"	: "elastic",
            "titlePosition"     : "over",
            "titleFormat"	: function(title, currentArray, currentIndex, currentOpts) {
                return "<span id=\'fancybox-title-over\'>Image " + (currentIndex + 1) + " / " + currentArray.length + (title.length ? " &nbsp; " + title : "") + "</span>";
            }
    });
});
$(document).ready(function() {
    $("a[rel=contact]").fancybox({
            "transitionIn"	: "elastic",
            "transitionOut"	: "elastic",
            "titlePosition"     : "over",
            "titleFormat"	: function(title, currentArray, currentIndex, currentOpts) {
                return "<span id=\'fancybox-title-over\'>Image " + (currentIndex + 1) + " / " + currentArray.length + (title.length ? " &nbsp; " + title : "") + "</span>";
            }
    });
});
$(document).ready(function() {
    $("a[rel=forfaits]").fancybox({
            "transitionIn"	: "elastic",
            "transitionOut"	: "elastic",
            "titlePosition"     : "over",
            "titleFormat"	: function(title, currentArray, currentIndex, currentOpts) {
                return "<span id=\'fancybox-title-over\'>Image " + (currentIndex + 1) + " / " + currentArray.length + (title.length ? " &nbsp; " + title : "") + "</span>";
            }
    });
});
