Toutes les bandes-annonces (6)
';
confSlideShow['v']['iLyROoafII3B'] = new Array(Array);
confSlideShow['v']['iLyROoafII3B']['urlMovie'] = 'iLyROoafII3B';
confSlideShow['v']['iLyROoafII3B']['alt'] = 'Bande annonce (vf)';
confSlideShow['v']['iLyROoafII3B']['prev'] = 'iLyROoafMW2W';
confSlideShow['v']['iLyROoafII3B']['next'] = 'iLyROoafIIkK';
confSlideShow['v']['iLyROoafII3B']['index'] = 1;
confSlideShow['v']['iLyROoafIIkK'] = new Array(Array);
confSlideShow['v']['iLyROoafIIkK']['urlMovie'] = 'iLyROoafIIkK';
confSlideShow['v']['iLyROoafIIkK']['alt'] = 'Bande annonce (vo)';
confSlideShow['v']['iLyROoafIIkK']['prev'] = 'iLyROoafII3B';
confSlideShow['v']['iLyROoafIIkK']['next'] = 'iLyROoafJR_1';
confSlideShow['v']['iLyROoafIIkK']['index'] = 2;
confSlideShow['v']['iLyROoafJR_1'] = new Array(Array);
confSlideShow['v']['iLyROoafJR_1']['urlMovie'] = 'iLyROoafJR_1';
confSlideShow['v']['iLyROoafJR_1']['alt'] = 'Teaser (vf)';
confSlideShow['v']['iLyROoafJR_1']['prev'] = 'iLyROoafIIkK';
confSlideShow['v']['iLyROoafJR_1']['next'] = 'iLyROoafJzuj';
confSlideShow['v']['iLyROoafJR_1']['index'] = 3;
confSlideShow['v']['iLyROoafJzuj'] = new Array(Array);
confSlideShow['v']['iLyROoafJzuj']['urlMovie'] = 'iLyROoafJzuj';
confSlideShow['v']['iLyROoafJzuj']['alt'] = 'Teaser (vost)';
confSlideShow['v']['iLyROoafJzuj']['prev'] = 'iLyROoafJR_1';
confSlideShow['v']['iLyROoafJzuj']['next'] = 'iLyROoafMW2e';
confSlideShow['v']['iLyROoafJzuj']['index'] = 4;
confSlideShow['v']['iLyROoafMW2e'] = new Array(Array);
confSlideShow['v']['iLyROoafMW2e']['urlMovie'] = 'iLyROoafMW2e';
confSlideShow['v']['iLyROoafMW2e']['alt'] = 'Teaser 2 (vf)';
confSlideShow['v']['iLyROoafMW2e']['prev'] = 'iLyROoafJzuj';
confSlideShow['v']['iLyROoafMW2e']['next'] = 'iLyROoafMW2W';
confSlideShow['v']['iLyROoafMW2e']['index'] = 5;
confSlideShow['v']['iLyROoafMW2W'] = new Array(Array);
confSlideShow['v']['iLyROoafMW2W']['urlMovie'] = 'iLyROoafMW2W';
confSlideShow['v']['iLyROoafMW2W']['alt'] = 'Teaser 2 (vo)';
confSlideShow['v']['iLyROoafMW2W']['prev'] = 'iLyROoafMW2e';
confSlideShow['v']['iLyROoafMW2W']['next'] = 'iLyROoafII3B';
confSlideShow['v']['iLyROoafMW2W']['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'] + "/0 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'] + "/6 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);
}
viewPhotoVideo("v", "iLyROoafII3B");
//-->