/*
Gestion de banni&egrave;re
SCRIPT EDITE SUR L'EDITEUR JAVASCRIPT
http://www.editeurjavascript.com
*/

ejs_banurl = new Array;
ejs_banimageUrl=new Array;

ejs_banimageUrl[0] = "http://xtrem-cine.com/07/01.jpg";
ejs_banurl[0] = "http://www.actionflashgame.org";

ejs_banimageUrl[1] = "http://xtrem-cine.com/07/01 (1).jpg";
ejs_banurl[1] = "http://www.divx-top.net/in.php?id_site=17";

ejs_banimageUrl[2] = "http://xtrem-cine.com/07/01 (2).jpg";
ejs_banurl[2] = "http://www.films-divx.com/in.php?id=337";

ejs_banimageUrl[3] = "http://xtrem-cine.com/07/01 (3).jpg";
ejs_banurl[3] = "http://top50streaming.genhit.com/in/xtremdivx";

ejs_banimageUrl[4] = "http://xtrem-cine.com/07/01 (4).jpg";
ejs_banurl[4] = "http://www.emuletop.com/fr/index.php?a=in&u=wcovers";


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

AffichePub();

