/*
Gestion de banni&egrave;re
SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/

ejs_banurl = new Array;
ejs_banimageUrl=new Array;

ejs_banimageUrl[0] = "RaidL.gif";
ejs_banurl[0] = "http://www.raidlight.com/boutique/liste_produits.cfm?type=78&num=0&code_lg=lg_fr";

ejs_banimageUrl[1] = "adspira.gif";
ejs_banurl[1] = "http://www.activasport.fr/cgi-bin/pg-shoppro.cgi?ORD=search&kw=spira&submit=Go+%21"; 

ejs_banimageUrl[2] = "TECH-SPORT.gif";
ejs_banurl[2] = "http://www.technicien-sport.com/index.php";

ejs_banimageUrl[3] = "adspira.gif";
ejs_banurl[3] = "http://www.activasport.fr/cgi-bin/pg-shoppro.cgi?ORD=search&kw=spira&submit=Go+%21";

ejs_banimageUrl[4] = "bouster.gif";
ejs_banurl[4] = "http://www.boutiquebouster.fr/chaussures.php?PHPSESSID=d24383d6e3d7486681987b1d38950f99";

ejs_banimageUrl[5] = "tpsCourse.gif";
ejs_banurl[5] = "http://www.tempscourse.com/selection.php?c1=&c2=&c3=Spira&rayon=chaussures&go=Recherche";

ejs_banimageUrl[6] = "joggerstore.gif";
ejs_banurl[6] = "http://www.joggerstore.com/marque/spira";

affiche = false;

function AffichePub()
   {
   if(!affiche)
      {
      numimage= Math.round(Math.random()*(ejs_banurl.length-1));
      document.write ('<A HREF="#" onClick="window.open(ejs_banurl[numimage],\'_blank\')"><IMG SRC="' + ejs_banimageUrl[numimage] + '" BORDER=0 NAME=ejs_banpub></A>')
      affiche = true;
      }
   else
      {
      if(numimage == (ejs_banurl.length-1))
         numimage = 0;
      else
         numimage++;
      document.ejs_banpub.src=ejs_banimageUrl[numimage];
      }
   setTimeout("AffichePub()",9000);
   }

AffichePub();
