ejs_banurl = new Array;
ejs_banimageUrl=new Array;

ejs_banimageUrl[0] = "plasma01.jpg";
ejs_banurl[0] = "http://www.chevtel.com";

ejs_banimageUrl[1] = "plasma02.jpg";
ejs_banurl[1] = "http://www.chevtel.com";

ejs_banimageUrl[2] = "plasma03.jpg";
ejs_banurl[2] = "http://www.chevtel.com";

ejs_banimageUrl[3] = "plasma04.jpg";
ejs_banurl[3] = "http://www.chevtel.com";

ejs_banimageUrl[4] = "plasma02.jpg";
ejs_banurl[4] = "http://www.chevtel.com";

affiche = false;

function AffichePub()
   {
   if(!affiche)
      {
      numimage1= Math.round(Math.random()*(ejs_banurl.length-1));
      document.write ('<A HREF="#" onClick="window.open(ejs_banurl[numimage1],\'_blank\')"><IMG SRC="' + ejs_banimageUrl[numimage1] + '" BORDER=0 NAME=ejs_banpub></A>')
      affiche = true;
      }
   else
      {
      if(numimage1 == (ejs_banurl.length-1))
         numimage1 = 0;
      else
         numimage1++;
      document.ejs_banpub.src=ejs_banimageUrl[numimage1];
      }
   setTimeout("AffichePub()",3000);
   }

AffichePub();