// JavaScript Document

ejs_banurl = new Array;
ejs_banimageUrl=new Array;

ejs_banimageUrl[0] = "/bannieres/b7.gif";
ejs_banurl[0] = "http://www.gestion-geneen.ca";

ejs_banimageUrl[1] = "/bannieres/b6.gif";
ejs_banurl[1] = "http://www.lafontpresse.fr";

ejs_banimageUrl[2] = "/bannieres/b9.gif";
ejs_banurl[2] = "http://www.voluptart.com";

ejs_banimageUrl[3] = "/bannieres/b2.gif";
ejs_banurl[3] = "http://jean-claude-sensemat.blogspot.com";

ejs_banimageUrl[4] = "/bannieres/b1.gif";
ejs_banurl[4] = "http://www.aparapar.com";

ejs_banimageUrl[5] = "/bannieres/b3.gif";
ejs_banurl[5] = "http://www.lip.fr";

ejs_banimageUrl[6] = "/bannieres/b8.gif";
ejs_banurl[6] = "http://www.authenticonly.org";

ejs_banimageUrl[7] = "/bannieres/b4.gif";
ejs_banurl[7] = "http://www.facebook.com/group.php?gid=87458130498";

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();
