/*
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] = "http://www.magikbiz.com/PM_BannerGet.aspx?GUID=D5C1AA9D-5329-48D2-AE4F-AD2AC3DF3F3D&CODE=GAINS&APP=7";
ejs_banurl[0] = "http://sonneriesdiscount.magikmobile.com/";

ejs_banimageUrl[1] = "http://selftelecom.fr/z/st/fr/ban/audioturf_bandeau.gif";
ejs_banurl[1] = "http://12245.selftelecom.fr";

ejs_banimageUrl[2] = "http://radio-net.ifrance.com/banniere_radio_net.jpg";
ejs_banurl[2] = "http://www.radionetfrance.eu";

ejs_banimageUrl[3] = "http://selftelecom.fr/z/st/fr/ban/st_468x60_4.gif";
ejs_banurl[3] = "http://12245.selftelecom.fr";

ejs_banimageUrl[4] = "http://www.magikpass.com/images/mp468.gif";
ejs_banurl[4] = "http://www.magikpass.com/default.aspx?SPGUID=68AB1658-A41E-40B5-A05C-2823DEC68C9C";

ejs_banimageUrl[5] = "http://www.magikbiz.com/images/banners/mgm468/mgb011.gif";
ejs_banurl[5] = "http://sonneriesdiscount.magikmobile.com";

ejs_banimageUrl[6] = "http://pronocourse.ifrance.com/montantegagnante/banniere_montante.JPG";
ejs_banurl[6] = "http://www.montantegagnante.fr.st";

ejs_banimageUrl[7] = "http://s.creapub.ifrance.com/banniere_jeu_sms.bmp";
ejs_banurl[7] = "http://s.creapub.ifrance.com";

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()",10000);
   }

AffichePub();
