Toutes les vidéos (1)
Toutes les photos (6)
';
confSlideShow['v']['iLyROoafrZcH'] = new Array(Array);
confSlideShow['v']['iLyROoafrZcH']['urlMovie'] = 'iLyROoafrZcH';
confSlideShow['v']['iLyROoafrZcH']['alt'] = 'Vidéo';
confSlideShow['v']['iLyROoafrZcH']['prev'] = 'iLyROoafrZcH';
confSlideShow['v']['iLyROoafrZcH']['next'] = 'iLyROoafrZcH';
confSlideShow['v']['iLyROoafrZcH']['index'] = 1;
confSlideShow['p'] = new Array();
confSlideShow['p'][419830] = new Array(Array);
confSlideShow['p'][419830]['alt'] = 'Les Belles Miettes';
confSlideShow['p'][419830]['copy'] = '©Les Belles Miettes';
confSlideShow['p'][419830]['urlBig'] = 'http://photos.cityvox.com/photos_gd/246/103/419830_480x480.jpg';
confSlideShow['p'][419830]['descriptif'] = 'Modifié par la rédaction de Cityvox';
confSlideShow['p'][419830]['prev'] = 419947;
confSlideShow['p'][419830]['next'] = 419831;
confSlideShow['p'][419830]['index'] = 1;
confSlideShow['p'][419831] = new Array(Array);
confSlideShow['p'][419831]['alt'] = 'Les Belles Miettes';
confSlideShow['p'][419831]['copy'] = '©Les Belles Miettes';
confSlideShow['p'][419831]['urlBig'] = 'http://photos.cityvox.com/photos_gd/247/103/419831_480x480.jpg';
confSlideShow['p'][419831]['descriptif'] = 'Modifié par la rédaction de Cityvox';
confSlideShow['p'][419831]['prev'] = 419830;
confSlideShow['p'][419831]['next'] = 419832;
confSlideShow['p'][419831]['index'] = 2;
confSlideShow['p'][419832] = new Array(Array);
confSlideShow['p'][419832]['alt'] = 'Les Belles Miettes';
confSlideShow['p'][419832]['copy'] = '©Les Belles Miettes';
confSlideShow['p'][419832]['urlBig'] = 'http://photos.cityvox.com/photos_gd/248/103/419832_480x480.jpg';
confSlideShow['p'][419832]['descriptif'] = 'Modifié par la rédaction de Cityvox';
confSlideShow['p'][419832]['prev'] = 419831;
confSlideShow['p'][419832]['next'] = 419833;
confSlideShow['p'][419832]['index'] = 3;
confSlideShow['p'][419833] = new Array(Array);
confSlideShow['p'][419833]['alt'] = 'Les Belles Miettes';
confSlideShow['p'][419833]['copy'] = '©Les Belles Miettes';
confSlideShow['p'][419833]['urlBig'] = 'http://photos.cityvox.com/photos_gd/249/103/419833_480x480.jpg';
confSlideShow['p'][419833]['descriptif'] = 'Modifié par la rédaction de Cityvox';
confSlideShow['p'][419833]['prev'] = 419832;
confSlideShow['p'][419833]['next'] = 419852;
confSlideShow['p'][419833]['index'] = 4;
confSlideShow['p'][419852] = new Array(Array);
confSlideShow['p'][419852]['alt'] = 'Les Belles Miettes';
confSlideShow['p'][419852]['copy'] = '©Les Belles Miettes';
confSlideShow['p'][419852]['urlBig'] = 'http://photos.cityvox.com/photos_gd/12/104/419852_480x480.jpg';
confSlideShow['p'][419852]['descriptif'] = 'Modifié par la rédaction de Cityvox';
confSlideShow['p'][419852]['prev'] = 419833;
confSlideShow['p'][419852]['next'] = 419947;
confSlideShow['p'][419852]['index'] = 5;
confSlideShow['p'][419947] = new Array(Array);
confSlideShow['p'][419947]['alt'] = 'Les Belles Miettes';
confSlideShow['p'][419947]['copy'] = '©Les Belles Miettes';
confSlideShow['p'][419947]['urlBig'] = 'http://photos.cityvox.com/photos_gd/107/104/419947_480x480.jpg';
confSlideShow['p'][419947]['descriptif'] = 'Modifié par la rédaction de Cityvox';
confSlideShow['p'][419947]['prev'] = 419852;
confSlideShow['p'][419947]['next'] = 419830;
confSlideShow['p'][419947]['index'] = 6;
var current = new Array();
function viewPhotoVideo(type, numero) {
jQuery(".slideshowProfil img, .am-container img").removeClass("current");
jQuery("#"+type+"Thumb"+numero).addClass("current");
jQuery("#photoVideoViewer").show();
if (!elementInViewport(document.getElementById("photoVideoViewer"), 180)) { /*barre connexion + marge pour voir la photo bouger*/
jQuery("html,body").animate({scrollTop:jQuery("#photoVideoViewer").offset().top-40},100,"swing");
}
/*Load photo ou vidéo*/
if (type == "p") {
jQuery("#spinContainer").remove();
var opts = { lines: 12, length: 5, width: 2, radius: 10, color: "#000", speed: 1, trail: 60, shadow: false };
jQuery("#spinner").prepend('
');
var posiDiv = jQuery("#spinner").position();
var wid = 80;
var hei = 40;
var x = posiDiv.left + ((jQuery("#spinner").width() - wid) / 2);
var y = posiDiv.top + 225;
jQuery("#spinContainer").css("height", hei + "px");
jQuery("#spinContainer").css("width", wid + "px");
jQuery("#spinContainer").css("position", "absolute");
jQuery("#spinContainer").css("top", y + "px");
jQuery("#spinContainer").css("left", x + "px");
var target = document.getElementById("spinContainer");
var spinner = new Spinner(opts).spin(target);
jQuery("#viewer").html("
");
jQuery("#imgViewer").load(function() {jQuery("#spinContainer").remove();jQuery("#viewer").append(confSlideShow[type][numero]['alt']);});
jQuery("#controls .step").html(confSlideShow[type][numero]['index'] + "/6 photos");
} else {
var reg=new RegExp("(@@urlMovie@@)", "g");
jQuery("#viewer").html(videoPlayerObjectString.replace(reg, confSlideShow[type][numero]['urlMovie']) + "
"+confSlideShow[type][numero]['alt']);
jQuery("#controls .step").html(confSlideShow[type][numero]['index'] + "/1 vidéos");
}
/*Reload RM, seulement si on change de photo ou video */
if (current.length!==0) {
jQuery("#iframeRM").remove();
var theframe = jQuery('
');
jQuery("body").append(theframe);
jQuery("#iframeRM").load(function(){
var dataRM = jQuery("#iframeRM").contents().find("#pubcarreRefresh").html();
var RMClean = jQuery(dataRM).html(); /* Ceci permet de supprimer les tags SCRIPT du code, pour ne pas les rejouer quand on l injecte à droite */
if (RMClean) {
jQuery("#pubcarre").empty().html(RMClean);
}
});
}
current = new Array(type, numero);
}
//-->