ejs_banurl = new Array;
ejs_banimageUrl=new Array;

ejs_banimageUrl[0] = "images/slogan1.gif";
ejs_banurl[0] = "";

ejs_banimageUrl[1] = "images/slogan2.gif";
ejs_banurl[1] = "";

ejs_banimageUrl[2] = "images/slogan3.gif";
ejs_banurl[2] = "";

ejs_banimageUrl[3] = "images/slogan4.gif";
ejs_banurl[3] = "";

ejs_banimageUrl[3] = "images/slogan5.gif";
ejs_banurl[3] = "";
affiche = false;

function AffichePub()
 {
 if(!affiche)
 {
 numimage= Math.round(Math.random()*(ejs_banurl.length-1));
 document.write ('<IMG SRC="' + ejs_banimageUrl[numimage] + '" BORDER=0 NAME=ejs_banpub>')
 affiche = true;
 }
 else
 {
 if(numimage == (ejs_banurl.length-1))
 numimage = 0;
 else
 numimage++;
 document.ejs_banpub.src=ejs_banimageUrl[numimage];
 }
 setTimeout("AffichePub()",10000);
 }

AffichePub();
