

// Cette zone est lue en premier (appelée par famille.htm, la variable apub doit donc être définie ici et non dans fond() qui n'est traité qu'après
var apub,nbpub;
var dat = new Date();
im= new Array();
attente= new Array (1000,'../pub/pub_attente.gif','#');
distri= new Array (13000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_distriesb13000.gif','../univers/'+urlParam["l"]+'/partenaire'+urlParam["l"]+'.htm?l='+urlParam["l"]);
diffuseur= new Array (10000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_diffuseur10000.gif','../docs'+urlParam["l"]+'/'+urlParam["l"]+'_diffuseur.htm?p2=redynam?p3=4?l='+urlParam["l"]);
brosse= new Array (10000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_brosse10000.gif','../boutique/famille.htm?p2=cosmeto?p3=1?l='+urlParam["l"]);
ioniseur= new Array (12000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_ioniseur12000.gif','../boutique/famille.htm?p2=redynam?p3=4?l='+urlParam["l"]);
entraineur= new Array (11000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_entraineur11000.gif','../boutique/famille.htm?p2=bienetre?p3=2?l='+urlParam["l"]);
testpie= new Array (6000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_testpie6000.gif','../boutique/famille.htm?p2=pie?p3=1?l='+urlParam["l"]);
foulard= new Array (8000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_foulard8000.gif','../boutique/famille.htm?p2=bienetre?p3=1?l='+urlParam["l"]);
cristal= new Array (13000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_cristal13000.gif','../boutique/famille.htm?p2=pie?p3=1?l='+urlParam["l"]);
selC= new Array (28000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_selC28000.gif','../boutique/famille.htm?p2=cosmeto?p3=1?l='+urlParam["l"]);
pyramide=new Array (9000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_pyramide9000.gif','../boutique/famille.htm?p2=pie?p3=0?l='+urlParam["l"]);
semelleA= new Array (10000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_semelleA10000.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_semelles_cuir.htm?p2=redynam?p3=2?l='+urlParam["l"]);
semelleB= new Array (10000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_semelleB10000.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_semelles_cuir.htm?p2=redynam?p3=2?l='+urlParam["l"]);
gouttelumiere= new Array (13000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_gouttelumiere13000.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_goutte_lumiere.htm?p2=redynam?p3=1?l='+urlParam["l"]);
lotus= new Array (16000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_lotus16000.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_lotus.htm?p2=redynam?p3=3?l='+urlParam["l"]);
sets= new Array (13000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_sets13000.gif','../boutique/famille.htm?p2=bienetre?p3=1?l='+urlParam["l"]);
sets1= new Array (10000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_sets10000.gif','../boutique/famille.htm?p2=bienetre?p3=1?l='+urlParam["l"]);
douchette= new Array (32200,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_douchette32200.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_douchette.htm?p2=maison?p3=4?l='+urlParam["l"]);
electroprotect1= new Array (16000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_electroprotect216000.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_prise.htm?p2=maison?p3=3?l='+urlParam["l"]);
electroprotect2= new Array (14000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_electroprotect114000.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_prise.htm?p2=maison?p3=3?l='+urlParam["l"]);
pie= new Array (10000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_pie10000.gif','../boutique/famille.htm?p2=pie?p3=1?l='+urlParam["l"]);
sweethome= new Array (75000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_poudres75000.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_sweethome.htm?p2=maison?p3=3?l='+urlParam["l"]);
baumier= new Array (41800,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_baumier41800.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_baumier.htm?p2=cosmeto?p3=0?l='+urlParam["l"]);
carteelectro= new Array (50400,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_carteelectromag50400.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_carte_electro.htm?p2=maison?p3=3?l='+urlParam["l"]);
galet= new Array (41200,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_Galets-bleus41200.gif','../boutique/famille.htm?p2=pie?p3=0?l='+urlParam["l"]);
privilege= new Array (31700,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_carteprivilege31700.gif','../privilege/'+urlParam["l"]+'/presentation'+urlParam["l"]+'.htm');
lifeair= new Array (45700,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_lifeair45700.gif','../boutique/famille.htm?p2=maison?p3=2?l='+urlParam["l"]);
catalyseur= new Array (61100,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_catalyseur61100.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_catalyseur_ataraxya.htm?p2=maison?p3=4?l='+urlParam["l"]);
creme= new Array (47400,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_cremeessence47400.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_creme_ataraxya.htm?p2=cosmeto?p3=0?l='+urlParam["l"]);
catalyseurpiscine= new Array (38200,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_catalyseurpiscine38200.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_catalyseur_piscine.htm?p2=maison?p3=4?l='+urlParam["l"]);
superbird=new Array (51950,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_superbird51950.gif','../boutique/famille.htm?p2=cosmeto?p3=2?l='+urlParam["l"]);
plante=new Array (57690,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_poudreplante57690.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_poudreplante.htm?p2=maison?p3=5?l='+urlParam["l"]);
luxia=new Array (62110,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_luxianova62110.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_amp_luxianova.htm?p2=maison?p3=2?l='+urlParam["l"]);
boules= new Array (51450,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_bouleslavage51450.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_boulesdelavage.htm?p2=maison?p3=4?l='+urlParam["l"]);
patch= new Array (64000,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_patch_harmonisant64000.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_patchportable.htm?p2=pie?p3=3?l='+urlParam["l"]);
espace= new Array (60300,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_espace-regeneration_60300.gif','../boutique/frame.htm?l=fr?p2=divers?p3=0?p4=13?l='+urlParam["l"]);
tain= new Array (60800,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_espacetain_60300.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_espace_regeneration.htm?l=fr?p2=divers?p3=0?p4=13?l='+urlParam["l"]);
caen= new Array (60300,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_espacecaen_60300.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_espace_regeneration.htm?l=fr?p2=divers?p3=0?p4=13?l='+urlParam["l"]);
orleans= new Array (60300,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_espaceorleans_60300.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_espace_regeneration.htm?l=fr?p2=divers?p3=0?p4=13?l='+urlParam["l"]);
arcachon= new Array (60300,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_espacearcachon_60300.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_espace_regeneration.htm?l=fr?p2=divers?p3=0?p4=13?l='+urlParam["l"]);
toulouse= new Array (60300,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_espacetoulouse_60300.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_espace_regeneration.htm?l=fr?p2=divers?p3=0?p4=13?l='+urlParam["l"]);
ury= new Array (60300,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_espaceury_60300.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_espace_regeneration.htm?l=fr?p2=divers?p3=0?p4=13?l='+urlParam["l"]);
dax= new Array (60300,'../pub/'+urlParam["l"]+'/pub'+urlParam["l"]+'_espacedax_60300.gif','../docs'+urlParam["l"]+'/doc'+urlParam["l"]+'_espace_regeneration.htm?l=fr?p2=divers?p3=0?p4=13?l='+urlParam["l"]);

if (urlParam["l"]=="fr") {
im[0] = attente;
im[1] = patch;
im[2] = semelleA;
im[3] = galet;
im[4] = boules;
im[5] = douchette;

nbpub=5;
}

if (urlParam["l"]=="en") {
im[0] = attente;
im[1] = carteelectro;
im[2] = semelleA;
im[3] = douchette;
im[4] = baumier;
im[5] = distri;
im[6] = semelleB;
im[7] = diffuseur;
im[8] = brosse;
im[9] = galet;
im[10] = entraineur;

nbpub=10;
}

if (urlParam["l"]=="es") {
im[0] = attente;
im[1] = brosse;
im[2] = carteelectro;
im[3] = semelleA;
im[4] = distri;
im[5] = semelleB;
im[6] = douchette;
im[7] = diffuseur;
nbpub=7;
}
if (urlParam["l"]=="nl") {
im[0] = attente;
im[1] = entraineur;
im[2] = sweethome;
im[3] = brosse;
im[4] = semelleA;
im[5] = catalyseur;
im[6] = douchette;
im[7] = semelleB;
im[8] = carteelectro;
im[9] = distri;
nbpub=9;
}

apub= dat.getSeconds()%nbpub+1;


function pub(){
document.write('<A HREF="#" onClick="ImgDest(); return(false);"><IMG SRC="../pub/pub_attente.gif" BORDER=0 ALT="Cliquez pour découvrir le produit."  NAME=defil></A>');
defilimg();
}

function ImgDest() {
if (apub!=0) document.location.href = im[apub-1][2];
else document.location.href= "#";
}

function defilimg() {
if (apub== nbpub+1) apub= 1;
document.defil.src = im[apub][1];
setTimeout("defilimg()",im[apub][0]);
apub++;
}
