ejs_banurl2 = new Array;
ejs_banimageUrl2=new Array;

ejs_banimageUrl2[0] = "itembasket/fau-pco-ch-0670.jpg;itembasket/vai-pco-cb-0372.jpg;itembasket/mtv-pco-cb-0083.jpg;itembasket/lit-tet-tin-302.jpg;itembasket/sdb-pco-sn-0964d.jpg;itembasket/cab-pco-cb-0842.jpg";
ejs_banurl2[0] = "armchair-bamboo-teak-wood-furniture-01.html#justclick;dressers-bamboo-teak-wood-furniture-01.html#justclick;tv-hi-fi-cabinet-bamboo-teak-wood-furniture-02.html#justclick;bed-bamboo-teak-wood-furniture-02.html#justclick;bathroom-sink-bamboo-teak-wood-furniture-03.html#justclick;cabinet-bamboo-teak-wood-furniture-06.html#justclick";

ejs_banimageUrl2[1] = "itembasket/chb-sde-sd-071.jpg;itembasket/arm-pco-cb-0009.jpg;itembasket/eta-pco-dc-0453.jpg;itembasket/cht-pco-ch-0984.jpg;itembasket/cha-pco-ch-0214.jpg;itembasket/bur-pco-tb-0612.jpg";
ejs_banurl2[1] = "bank-bamboo-teak-wood-furniture-04.html#justclick;wardrobe-bamboo-teak-wood-furniture-02.html#justclick;shelves-bamboo-teak-wood-furniture-06.html#justclick;stool-bamboo-teak-wood-furniture-02.html#justclick;chair-bamboo-teak-wood-furniture-03.html#justclick;desk-bamboo-teak-wood-furniture-03.html#justclick";

ejs_banimageUrl2[2] = "itembasket/sdb-pco-sn-0939.jpg;itembasket/coi-pco-cb-0232.jpg;itembasket/cha-pco-ch-0700b.jpg;itembasket/tab-nor-anf-040.jpg;itembasket/vai-pco-cb-0737.jpg;itembasket/com-abs-f-219.jpg";
ejs_banurl2[2] = "bathroom-sink-bamboo-teak-wood-furniture-02.html#justclick;dressing-table-bamboo-teak-wood-furniture-02.html#justclick;chair-bamboo-teak-wood-furniture-01.html#justclick;coffee-table-bamboo-teak-wood-furniture-05.html#justclick;dressers-bamboo-teak-wood-furniture-01.html#justclick;chest-of-drawers-bamboo-teak-wood-furniture-04.html#justclick";

img_url2  = new Array;
lien_url2  = new Array;
img_url2[0]  = ejs_banimageUrl2[0].split(/;/);
lien_url2[0] = ejs_banurl2[0].split(/;/);
img_url2[1]  = ejs_banimageUrl2[1].split(/;/);
lien_url2[1] = ejs_banurl2[1].split(/;/);
img_url2[2]  = ejs_banimageUrl2[2].split(/;/);
lien_url2[2] = ejs_banurl2[2].split(/;/);

affiche2 = false;

function AffichePub2()
   {
   if(!affiche2)
      {
      numimage2= Math.round(Math.random()*(ejs_banurl.length-1));
      	document.write ('<td><div align="right"><A HREF="#" onClick="window.open(lien_url2[numimage2][0],\'_blank\')"><IMG SRC="' + img_url2[numimage2][0] + '" BORDER=0 alt= "click and have a look" NAME="ejs_banpub20"></A></div></td>')
      	document.write ('<td><div align="right"><A HREF="#" onClick="window.open(lien_url2[numimage2][1],\'_blank\')"><IMG SRC="' + img_url2[numimage2][1] + '" BORDER=0 alt= "click and have a look" NAME="ejs_banpub21"></A></div></td>')
      	document.write ('<td><div align="right"><A HREF="#" onClick="window.open(lien_url2[numimage2][2],\'_blank\')"><IMG SRC="' + img_url2[numimage2][2] + '" BORDER=0 alt= "click and have a look" NAME="ejs_banpub22"></A></div></td>')
      	document.write ('<td><div align="center"><A HREF="#" onClick="window.open(lien_url2[numimage2][3],\'_blank\')"><IMG SRC="' + img_url2[numimage2][3] + '" BORDER=0 alt= "click and have a look" NAME="ejs_banpub23"></A></div></td>')
      	document.write ('<td><div align="left"><A HREF="#" onClick="window.open(lien_url2[numimage2][4],\'_blank\')"><IMG SRC="' + img_url2[numimage2][4] + '" BORDER=0 alt= "click and have a look" NAME="ejs_banpub24"></A></div></td>')
      affiche2 = true;
      }
   else
      {
      if(numimage2 == 2) 
	  {
         numimage2 = 0;
	  }
      else	
	  {
         numimage2++;
      }
   	document.ejs_banpub20.src=img_url2[numimage2][0];
   	document.ejs_banpub21.src=img_url2[numimage2][1];
   	document.ejs_banpub22.src=img_url2[numimage2][2];
   	document.ejs_banpub23.src=img_url2[numimage2][3];
   	document.ejs_banpub24.src=img_url2[numimage2][4];
	}
   setTimeout("AffichePub2()",3000);
   }

AffichePub2();
