var posit=new Array() ; var negat=new Array();
posit[0] ="js_css/avant.jpg" ; negat[0]="js_css/avantneg.jpg";
posit[1] ="js_css/apres.jpg" ; negat[1]="js_css/apresneg.jpg";
posit[2] ="js_css/liens.jpg" ; negat[2]="js_css/liensneg.jpg";
posit[3] ="js_css/liste.jpg" ; negat[3]="js_css/listeneg.jpg";
posit[4] ="js_css/livres.jpg" ; negat[4]="js_css/livresneg.jpg";
posit[5] ="js_css/quidonc.jpg" ; negat[5]="js_css/quidoncneg.jpg";
posit[6] ="js_css/couchsol.jpg" ; negat[6]="js_css/couchsolneg.jpg";
posit[7] ="js_css/paonjour.jpg" ; negat[7]="js_css/paonjourneg.jpg";
posit[8] ="js_css/papimont.jpg" ; negat[8]="js_css/papimontneg.jpg";
posit[9] ="js_css/vignettes.jpg" ; negat[9]="js_css/vignettesneg.jpg";
posit[10] ="js_css/diaporama.jpg" ; negat[10]="js_css/diaporamaneg.jpg";
posit[11] ="js_css/gsylvain.jpg" ; negat[11]="js_css/gsylvainneg.jpg";
posit[12] ="js_css/ecrire.jpg" ; negat[12]="js_css/ecrireneg.jpg";
var imagiconeposit= new Array;var imagiconenegat= new Array;var nomimage;
var imagphotosucc=new Array; var imagphotomont=new Array;var imagphotolitt=new Array;
function echange(nomimage,numb) {
 document.images[nomimage].src=negat[numb-1];}
function remplace(nomimage,numb) {
 document.images[nomimage].src=posit[numb-1];}
function allerliste() {window.location="fleurshtm/cadreliste.htm"};

var photsucc=new Array();var photmont=new Array();var photlitt=new Array();var x=-1;
photsucc[++x]="caralluma_hespe";photmont[x]="ancolie_a";photlitt[x]="alkanna_tinctoria2";
photsucc[++x]="astrophy_cap";photmont[x]="edelweiss_b";photlitt[x]="ciste_cotonneux";
photsucc[++x]="faucaria";photmont[x]="gentianelle";photlitt[x]="cynoglosse_crete";
photsucc[++x]="kalan_marnieriana040130";photmont[x]="bulbocode";photlitt[x]="iris_jaune1";
photsucc[++x]="sempervivum_arachnoideum";photmont[x]="digitale";photlitt[x]="lavatere_maritime";
photsucc[++x]="lithops_terricolor";photmont[x]="marguerites_2980";photlitt[x]="mauve_sylvestre";
photsucc[++x]="notocactus_uebel1";photmont[x]="linaire_alpes";photlitt[x]="allium_roseum4";
photsucc[++x]="echinocereus_viri";photmont[x]="campanule_izo";photlitt[x]="knautia_arvensis";
photsucc[++x]="aloe_mitriformis";photmont[x]="chardon-penche";photlitt[x]="asterolide_maritime0";
photsucc[++x]="schlum_christmas1";photmont[x]="centau_bleuet";photlitt[x]="teucrium_polium";

function precharge1() {for (i=0;i<posit.length;i++) {imagiconeposit[i]=new Image();imagiconeposit[i].src=posit[i];};
         for (i=0;i<negat.length;i++) {imagiconenegat[i]=new Image();imagiconenegat[i].src=negat[i];};
         for (i=0;i<photmont.length;i++) {imagphotomont[i]=new Image();imagphotomont[i].src="fleurshtm/m_images/"+photmont[i]+"_v.jpg"};
         for (i=0;i<photsucc.length;i++) {imagphotosucc[i]=new Image();imagphotosucc[i].src="fleurshtm/g_images/"+photsucc[i]+"_v.jpg"};
         for (i=0;i<photlitt.length;i++) {imagphotolitt[i]=new Image();imagphotolitt[i].src="fleurshtm/l_images/"+photlitt[i]+"_v.jpg"};
         }

var nunu=0;var susu=0;var momo=0;var lili=0;
function affi_ima() {var cpte=Math.floor(Math.random()*10);
                        if (nunu==0) {if (cpte==susu) {cpte=9-cpte;};
                                     	document.images["imsucc"].src="fleurshtm/g_images/"+photsucc[cpte]+"_v.jpg";susu=cpte};
                        if (nunu==1) {if (cpte==momo) {cpte=9-cpte;};
                                     	document.images["immont"].src="fleurshtm/m_images/"+photmont[cpte]+"_v.jpg";momo=cpte};
                        if (nunu==2) {if (cpte==lili) {cpte=9-cpte;};
                                     	document.images["imlitt"].src="fleurshtm/l_images/"+photlitt[cpte]+"_v.jpg";lili=cpte};
                        nunu=(nunu+1)%3;timeimgs();}
function timeimgs() {chrono=setTimeout("affi_ima(nunu)",1000);}
/* FIN DES SCRIPTS GENERAUX */

