Toutes les bandes-annonces (9)
';
confSlideShow['v']['iLyROoafvmE8'] = new Array(Array);
confSlideShow['v']['iLyROoafvmE8']['urlMovie'] = 'iLyROoafvmE8';
confSlideShow['v']['iLyROoafvmE8']['alt'] = 'Bande-annonce';
confSlideShow['v']['iLyROoafvmE8']['prev'] = 'iLyROoafvGWq';
confSlideShow['v']['iLyROoafvmE8']['next'] = 'iLyROoafvGWL';
confSlideShow['v']['iLyROoafvmE8']['index'] = 1;
confSlideShow['v']['iLyROoafvGWL'] = new Array(Array);
confSlideShow['v']['iLyROoafvGWL']['urlMovie'] = 'iLyROoafvGWL';
confSlideShow['v']['iLyROoafvGWL']['alt'] = 'Teaser - prix Nobel';
confSlideShow['v']['iLyROoafvGWL']['prev'] = 'iLyROoafvmE8';
confSlideShow['v']['iLyROoafvGWL']['next'] = 'iLyROoafvGW9';
confSlideShow['v']['iLyROoafvGWL']['index'] = 2;
confSlideShow['v']['iLyROoafvGW9'] = new Array(Array);
confSlideShow['v']['iLyROoafvGW9']['urlMovie'] = 'iLyROoafvGW9';
confSlideShow['v']['iLyROoafvGW9']['alt'] = 'Teaser - protection des multinationales';
confSlideShow['v']['iLyROoafvGW9']['prev'] = 'iLyROoafvGWL';
confSlideShow['v']['iLyROoafvGW9']['next'] = 'iLyROoafvGWj';
confSlideShow['v']['iLyROoafvGW9']['index'] = 3;
confSlideShow['v']['iLyROoafvGWj'] = new Array(Array);
confSlideShow['v']['iLyROoafvGWj']['urlMovie'] = 'iLyROoafvGWj';
confSlideShow['v']['iLyROoafvGWj']['alt'] = 'Teaser - autonomie alimentaire';
confSlideShow['v']['iLyROoafvGWj']['prev'] = 'iLyROoafvGW9';
confSlideShow['v']['iLyROoafvGWj']['next'] = 'iLyROoafvGWQ';
confSlideShow['v']['iLyROoafvGWj']['index'] = 4;
confSlideShow['v']['iLyROoafvGWQ'] = new Array(Array);
confSlideShow['v']['iLyROoafvGWQ']['urlMovie'] = 'iLyROoafvGWQ';
confSlideShow['v']['iLyROoafvGWQ']['alt'] = 'Teaser - biologie des sols';
confSlideShow['v']['iLyROoafvGWQ']['prev'] = 'iLyROoafvGWj';
confSlideShow['v']['iLyROoafvGWQ']['next'] = 'iLyROoafvGWB';
confSlideShow['v']['iLyROoafvGWQ']['index'] = 5;
confSlideShow['v']['iLyROoafvGWB'] = new Array(Array);
confSlideShow['v']['iLyROoafvGWB']['urlMovie'] = 'iLyROoafvGWB';
confSlideShow['v']['iLyROoafvGWB']['alt'] = 'Teaser - croissance';
confSlideShow['v']['iLyROoafvGWB']['prev'] = 'iLyROoafvGWQ';
confSlideShow['v']['iLyROoafvGWB']['next'] = 'iLyROoafvGWA';
confSlideShow['v']['iLyROoafvGWB']['index'] = 6;
confSlideShow['v']['iLyROoafvGWA'] = new Array(Array);
confSlideShow['v']['iLyROoafvGWA']['urlMovie'] = 'iLyROoafvGWA';
confSlideShow['v']['iLyROoafvGWA']['alt'] = 'Teaser - le plein';
confSlideShow['v']['iLyROoafvGWA']['prev'] = 'iLyROoafvGWB';
confSlideShow['v']['iLyROoafvGWA']['next'] = 'iLyROoafvGWF';
confSlideShow['v']['iLyROoafvGWA']['index'] = 7;
confSlideShow['v']['iLyROoafvGWF'] = new Array(Array);
confSlideShow['v']['iLyROoafvGWF']['urlMovie'] = 'iLyROoafvGWF';
confSlideShow['v']['iLyROoafvGWF']['alt'] = 'Teaser - pathologie végétale';
confSlideShow['v']['iLyROoafvGWF']['prev'] = 'iLyROoafvGWA';
confSlideShow['v']['iLyROoafvGWF']['next'] = 'iLyROoafvGWq';
confSlideShow['v']['iLyROoafvGWF']['index'] = 8;
confSlideShow['v']['iLyROoafvGWq'] = new Array(Array);
confSlideShow['v']['iLyROoafvGWq']['urlMovie'] = 'iLyROoafvGWq';
confSlideShow['v']['iLyROoafvGWq']['alt'] = 'Teaser - poulets sans plumes';
confSlideShow['v']['iLyROoafvGWq']['prev'] = 'iLyROoafvGWF';
confSlideShow['v']['iLyROoafvGWq']['next'] = 'iLyROoafvmE8';
confSlideShow['v']['iLyROoafvGWq']['index'] = 9;
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'] + "/9 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", "iLyROoafvmE8");
//-->