/*
Gestion de banni&egrave;re
SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/

ejs_banurll = new Array;
ejs_banimageUrll=new Array;

/*uvtel*/
ejs_banimageUrll[0] = "http://perso.wanadoo.fr/saramaya/uvtelpetit.gif";
ejs_banurll[0] = "http://www.uvtel-agent.com/Agent_Network/Agent_Banner_FR.asp?referredby=7705";

/*promovacances*/
ejs_banimageUrll[1] = "http://www.poliris.com/z/poliris/pmv_logos/petitpmv.gif";
ejs_banurll[1] = "http://saramaya.pa.promovacances.com";

/*allomundo*/
ejs_banimageUrll[2] = "http://www.allomundo.com/templates/images/90X60.gif";
ejs_banurll[2] = "http://www.allomundo.com/index.php?sponsorid=2839818&page=abracada";

/*wistiti*/
ejs_banimageUrll[3] = "http://www.wistiti.fr/homev3/imagesV3/bandeaux/Wistiti120x90.gif";
ejs_banurll[3] = "http://www.wistiti.fr/HomeV2/Particulier.asp?partenaire=65685";

affiche = false;

function AffichePubl()
   {
   if(!affiche)
      {
      numimagel= Math.round(Math.random()*(ejs_banurll.length-1));
      document.write ('<A HREF="#" onClick="window.open(ejs_banurll[numimagel],\'_blank\')"><IMG SRC="' + ejs_banimageUrll[numimagel] + '" BORDER=0 NAME=ejs_banpubl></A>')
      affiche = true;
      }
   else
      {
      if(numimagel == (ejs_banurll.length-1))
         numimagel = 0;
      else
         numimagel++;
      document.ejs_banpubl.src=ejs_banimageUrll[numimagel];
      }
   setTimeout("AffichePubl()",13000);
   }

AffichePubl();
