// on désactive la fonction $() de jQuery qui entre en conflit avec la fonction $() de Prototype
//jQuery.noConflict();

var flashvars = {};
var params = {};
var attributes = {};
swfobject.embedSWF("http://localhost/arbmeca/web/images/top.swf", "yz_flashcontent", "992", "155", "9.0.0", false, flashvars, params, attributes);

if(typeof yz=="undefined"){var yz={};}
if(typeof yz.page=="undefined"){yz.page={};}

function slideShow(identifiant) {

  var $active = $(identifiant + ' img.yz_imgactive');
  jQuery(identifiant + ' img').show();
  if ( $active.length == 0 ) $active = $(identifiant + ' img:last');

  var $next =  $active.next().length ? $active.next()
      : $(identifiant + ' img:first');

  $active.addClass('yz_imglastactive');

  $next.css({opacity: 0.0})
    .addClass('yz_imgactive')
    .animate({opacity: 1.0}, 1000, function() {
        $active.removeClass('yz_imgactive yz_imglastactive');
    });
}
