// gestion des rollover sous ie
sfHover = function() {
  if (document.getElementById("menu")) {
    changeTags(document.getElementById("menu").getElementsByTagName("li"));
  }
}

function changeTags(ellt) {
  for(var i=0; i<ellt.length; i++) {
    ellt[i].onmouseover=function() {
      this.className+=" over";
    }
    ellt[i].onmouseout=function() {
      this.className=this.className.replace(new RegExp(" over\\b"), "");
    }
  }
}

if (window.attachEvent) {
  window.attachEvent("onload", sfHover);
}

// général : chargement des swf
function getSwf(id, swf, width, height, bgcolor, flashvars) {
  if (AC_FL_RunContent == 0) {
		alert("This page requires AC_RunActiveContent.js.");
	} else {
		AC_FL_RunContent(
			'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
			'width', width,
			'height', height,
			'src', swf,
			'quality', 'high',
			'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
			'align', 'middle',
			'play', 'true',
			'loop', 'true',
			'scale', 'showall',
			'wmode', 'window',
			'devicefont', 'false',
			'id', id,
			'bgcolor', bgcolor,
			'name', id,
			'menu', 'true',
			'allowFullScreen', 'false',
			'allowScriptAccess','sameDomain',
			'movie', swf,
			'salign', '',
			'flashvars', flashvars
			); //end AC code
	}
}


