var ban_html = new Array();
var fsm = "http://www.fishermag.com";
var dossier_pub = "/images/pub/";

ban_html[0]='<a href="http://www.pecheleurre.com/marque-sakura.php" target="_blank"><img src="'+fsm+dossier_pub+'sakura/sakura-468.jpg" border=0 width=468 height=60 alt="Sakura - la peche aux leurres pour passion" title="Sakura - la peche aux leurres pour passion" /></a>';
ban_html[1]='<a href="http://www.pecheleurre.com/marque-ima-japan.php" target="_blank"><img src="'+fsm+dossier_pub+'sakura/ima-468.jpg" border=0 width=468 height=60 alt="Les leurres japonais IMA" title="Les leurres japonais IMA" /></a>';
ban_html[2]='<a href="http://www.pecheweb.com/pub/sponsors/videotel/videopeche_lebarauxleurresdubord.php" target="_blank" style="border:none;"><img src="http://www.pecheweb.com/pub/sponsors/videotel/banniere.jpg" border=0 width=468 height=60 alt="Vidéo pêche : Le bar aux leurres du bord"></a>';
ban_html[3]='<a href="http://www.pecheur.com/vente-minn-kota-0,272,0,0.html?affilie=121605" target="_blank"><img src="'+fsm+dossier_pub+'navicom/468-60-minnkota.jpg" border=0 width=468 height=60 alt="Moteurs électriques Minn Kota" title="Moteurs électriques Minn Kota" /></a>';

ban_html[4]='<a href="http://www.pecheleurre.com/marque-gary-yamamoto.php" target="_blank"><img src="http://www.pecheweb.com/pub/468-60-YamamotoSenko.gif" border=0 width=468 height=60 alt="Leurres souples Gary Yamamoto" title="Leurres souples Gary Yamamoto" /></a>';

ban_html[5]='<a href="http://www.pecheleurre.com/marque-river2sea.php" target="_blank"><img src="'+fsm+dossier_pub+'sakura/river2sea-468.jpg" border=0 width=468 height=60 alt="Les leurres australien River2sea" title="Les leurres australien River2sea" /></a>';

ban_html[6]='<a href="http://www.pecheleurre.com/marque-sebile.php" target="_blank"><img src="'+fsm+dossier_pub+'sakura/468-60-sebile.jpg" border=0 width=468 height=60 alt="Les leurres SEBILE" title="Les leurres SEBILE" /></a>';

ban_html[7]='<a href="http://www.guillaumefourrier.com/blog/side-imaging-humminbird-sondeur-172" target="_blank"><img src="'+fsm+dossier_pub+'navicom/468-60-side-imaging.jpg" border=0 width=468 height=60 alt="Technologie Side Imaging sur les sondeurs Humminbird" title="Technologie Side Imaging sur les sondeurs Humminbird" /></a>';




/* nombre total de bannieres*/
var ban_tot = 8;
/*---------------------------------*/
var ban_aff=ban_rand(ban_tot); 

function ban_rand(n)
{
 var x;
 x=Math.round(Math.random()*100);
 x%=n;
 return x;
}

function ban_suiv()
{
	return (ban_aff+1>=ban_tot)?ban_aff=0:ban_aff++;
}


/*function banner()
{
 ban_suiv();
 document.write(ban_html[ban_aff]);
//setTimeout("banner('tourner')",15000);
}*/
function banner(act) {
  action=act;
  if(act=='tourner') {
	  ban_suiv();
	  if (document.layers) {
		document.layers["bulle"].document.write(ban_html[ban_aff]);
		document.layers["bulle"].document.close();
		document.layers["bulle"].visibility="show";}
	  if (document.all) {
		bulle.innerHTML=ban_html[ban_aff];
		document.all["bulle"].style.visibility="visible";
	  }
	  //modif CL 09/2001 - NS6 : celui-ci ne supporte plus document.layers mais document.getElementById
	  else if (document.getElementById) {
		document.getElementById("bulle").innerHTML=ban_html[ban_aff];
		document.getElementById("bulle").style.visibility="visible";
	  }
  }
  else {
	 document.write('<div id=bulle style=margin:0px;padding:0px;background:none;width:468;height:60;visibility:show;>'+ban_html[ban_aff]+'</div>');
  }
  setTimeout("banner('tourner')",12000);
}

