var nbAffiche=0; var winx = screen.width; var maxAcceptLarge=0; var maxAcceptHaut=0; var posiMaxHaut=0; var posiMaxLarge=0; var varLeft=0; var varTop=0; var noPage=1; var tmpPage=0; var totalAffiche=0; var totalSkip=0; var totalSkipper=0; var testSize=0; var indice=0; var i=0; var nbRangee=0; var backTop=0; var num1=0; var num2=0; var num3=0; var num4=0; var avis=0; var reste=0; var autreAVenir=0; var titre='allo toi'; var tempMax=30; var agt=navigator.userAgent.toLowerCase(); var is_nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1)); var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1)); var is_nav6 = 0; if (document.getElementById) { is_nav6=true; } if (unescape(location.search.substr(1))) {noPage = parseInt(unescape(location.search.substr(1))); } if (winx > 800) { largEcran=1024; maxAcceptLarge=800; maxAcceptHaut=600; posiMaxHaut=700; posiMaxLarge=975; } else { largEcran=800; maxAcceptLarge=600; maxAcceptHaut=400; posiMaxHaut=500; posiMaxLarge=750; } ; function creerwindow(imageParam, nbImage, sub_titre) { if (is_ie) { document.open('ouvfen.htm?a1='+imageParam+'&a2='+nbImage+'&a3='+sub_titre+'&a4=1&a5=fin',imageParam,'width=400,height=400,scrollbars=0,resizable=no,toolbar=no,location=no,top=20,left=20'); } if (is_nav) { window.open('ouvfen.htm?a1='+imageParam+'&a2='+nbImage+'&a3='+sub_titre+'&a4=1&a5=fin',imageParam,'width=400,height=400,scrollbars=0,resizable=1,toolbar=no,location=no,top=20,left=20'); } } function affimage(imageEntree,nouveau,nbImage,parm_titre) { totalSkip = (noPage -1 ) *10; if (totalSkipper < totalSkip) { totalSkipper++;} else { if (totalAffiche == 20) { autreAVenir=1; } if (totalAffiche < 20) { if (nbAffiche==6) { document.write('\n'); nbAffiche=0; nbRangee++; } if (nbAffiche==0) { document.write('
\n'); } document.write('
'); if (largEcran==800 & is_ie) { backTop = nbRangee * 46; document.write('
'); } document.write(''); document.write(''+parm_titre+'\n'); if (largEcran==800 & is_ie) { document.write('
'); } if (is_ie) { testSize = 0; document.write('
'); document.write(''+parm_titre+'
\n'); } if (!is_ie) { if(nouveau=="new") { document.write('
New\n'); } else { document.write('
 \n'); } } nbAffiche++; totalAffiche++; } } } function finimage() { document.write('
\n'); document.write('
'); backTop = 0; if (largEcran==800) { backTop = nbRangee * 46; } if (is_ie) { document.write('
'); } document.write(''); if (noPage > 1) { tmpPage = noPage -1; if (is_ie | is_nav6) { document.write(''); } if (!is_ie & !is_nav6) { document.write(''); } } document.write(''); if (autreAVenir==1) { tmpPage = noPage +1; if (is_ie | is_nav6) { document.write(''); } if (!is_ie & !is_nav6) { document.write(''); } } document.write('
'); document.write('
'); if (is_ie) { document.write('
'); } document.write('
'); document.write(''); }