ejs_banurl = new Array;
ejs_banimageUrl=new Array;
ejs_bantype=new Array;


ejs_banimageUrl[0] = "//static.info-algerie.com/media/Lkeria-immobiler-algerie.jpg";
ejs_banurl[0] = "//www.lkeria.com/";
ejs_bantype[0] = "img";

ejs_banimageUrl[1] = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="//fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="728" height="90" id="w_flash_728_397"><param name="movie" value="//static.lkeria.com/pub/pub_sovac_728x90.swf"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><param name="wmode" value="transparent" /><embed src="//static.lkeria.com/pub/pub_sovac_728x90.swf" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="728" height="90"></embed></object>';
ejs_banurl[1] = "https://info-algerie.com/";
ejs_bantype[1] = "obj";

affiche = false;


function AffichePub()
   {
   
   if(!affiche)
      {
      numimage= Math.round(Math.random()*(ejs_banurl.length-1));
    
      affiche = true;
	  if (ejs_bantype[numimage] == "img")	 
		{
			document.write ('<div id="pubLkeria"></div> <A rel="nofollow" HREF="#" onClick="window.open(ejs_banurl[numimage],\'_blank\')"><IMG SRC="' + ejs_banimageUrl[numimage] + '" BORDER=1 NAME=ejs_banpub></A>');				
		}
	 else 
		{
		document.write ('<div id="pubLkeria"></div> '+ ejs_banimageUrl[numimage]);				
		}
      }
   else
      {
      if(numimage == (ejs_banurl.length-1))
         numimage = 0;
      else
         numimage++;
		 
	  if (ejs_bantype[numimage] == "img")	 
		{
		document.getElementById("pubLkeria").innerHTML ="";
		document.ejs_banpub.src=ejs_banimageUrl[numimage];
		document.ejs_banpub.style.display="";	
		
		}
	 else 
		{
		document.ejs_banpub.style.display="none";
		document.ejs_banpub.src="";
		document.getElementById("pubLkeria").innerHTML =ejs_banimageUrl[numimage]; 		
		
		}
      }
   setTimeout("AffichePub()",15000);
   }

AffichePub();