// JavaScript Document


ejs_banurl = new Array;
ejs_banimageUrl=new Array;

ejs_banimageUrl[0] = "http://www.vitamineh.com/vitamineh.gif";
ejs_banurl[0] = "http://www.vitamineh.com/";

ejs_banimageUrl[1] = "http://www.moustiq.com/pix/bans/bann1.gif";
ejs_banurl[1] = "http://www.moustiq.com/index2.php?id=is2548";

ejs_banimageUrl[2] = "http://www.a-seins.com/images/rabbitfinder.gif";
ejs_banurl[2] = "http://www.rabbitfinder.com/refer.php3?login=9178";

ejs_banimageUrl[3] = "http://www.finder-x.com/pub/pub2.gif";
ejs_banurl[3] = "http://www.finder-x.com/index.php?id=2030";

ejs_banimageUrl[4] = "http://www.roadsexe.com/ban3.gif";
ejs_banurl[4] = "http://www.roadsexe.com/index.php?id=1197";

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()",8000);
   }

AffichePub();

