 function bann(){
	code_html = codebann[chiffre];
	//changement = 10; // Temps en secondes avant la rotation
	document.getElementById("pavepub").innerHTML = code_html;
	chiffre = Math.floor(Math.random()*1); // chiffre = parseInt(Math.random()*x); x est le nombre total de bannières différentes
	//window.setTimeout("bann()", (changement*1000));
 }
  // chaque codebann[x] contient la bannière en flash
  // les fichiers *.swf doivent se trouver à la racine des pages où le script est chargé
  codebann = new Array()
  //codebann[0] = '<div style="border: 1px solid #000000;height: 90px;width:510px;vertical-align: bottom; margin: 0px 0px 0px;"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="510" height="90">      <param name="movie" value="banners/cnam.swf">      <param name="quality" value="high">      <embed src="banners/cnam.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="510" height="90"></embed>    </object></div>';
	codebann[0] = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="468" height="60">'+
								'<param name="movie" value="bandeaux/bannerTIM.swf" />'+
								'<param name="quality" value="high" />'+
								'<embed src="bandeaux/bannerTIM.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60"></embed>'+
								'</object>';
	//codebann[1] = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="468" height="60">'+
	//							'<param name="movie" value="bandeaux/bannerCoca.swf" />'+
	//							'<param name="quality" value="high" />'+
	//							'<embed src="bandeaux/bannerCoca.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60"></embed>'+
	//							'</object>'
	//codebann[2] = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="468" height="60">'+
	//							'<param name="movie" value="bandeaux/bannerRLASSUR.swf" />'+
	//							'<param name="quality" value="high" />'+
	//							'<embed src="bandeaux/bannerRLASSUR.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60"></embed>'+
	//							'</object>';
	//codebann[1] = '<a href="http://www.laboduformulateur.com/index.php/concoursalacrea.html" target="_Blank" class="nolien"><img src="bandeaux/bannerCosmetic.gif" height="60" width="468" border="0" /></a>';

	//codebann[2] = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="468" height="60">'+
	//							'<param name="movie" value="bandeaux/bannerHaribo.swf" />'+
	//							'<param name="quality" value="high" />'+
	//							'<embed src="bandeaux/bannerHaribo.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60"></embed>'+
	//							'</object>'

	//codebann[3] = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="468" height="60">'+
	//							'<param name="movie" value="bandeaux/bannerSynergie.swf" />'+
	//							'<param name="quality" value="high" />'+
	//							'<embed src="bandeaux/bannerSynergie.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="468" height="60"></embed>'+
	//							'</object>'

	//codebann[4] = '<img src="bandeaux/bannerOpt.gif" height="60" width="468" border="0" />';
	
	//codebann[3] = '<img src="bandeaux/bannerOfina.gif" height="60" width="468" border="0" />';

  chiffre = Math.floor(Math.random()*1); // chiffre = parseInt(Math.random()*x); x est le nombre total de bannières différentes