/*
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";

/*wistiti*/
ejs_banimageUrll[2] = "http://www.wistiti.fr/homev3/imagesV3/bandeaux/Wistiti120x90.gif";
ejs_banurll[2] = "http://www.wistiti.fr/HomeV2/Particulier.asp?partenaire=65685";

/*Prizee*/
ejs_banimageUrll[3] = "http://www.prizee.com/images/pub/prizeeb13.gif";
ejs_banurll[3] = "http://www.prizee.com/?refer=Saramaya2";

/*TRIBALSHOP*/
ejs_banimageUrll[4] = "http://perso.wanadoo.fr/saramaya/tribal.gif";
ejs_banurll[4] = "http://84.96.22.12/tribalshop/FMPro?-db=tribalshopengine&-format=loggin.html&-lay=base&partner=l.bony@boursorama.com&-new=";


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()",14000);
   }

AffichePubl();
