// JavaScript Document
// <script type="text/javascript" src="fonctions.js"></script>

var popUpWin=0;
function popUpWindow(URLStr, left, top, width, height)
{
  if(popUpWin)
  {
    if(!popUpWin.closed) popUpWin.close();
  }
  popUpWin = open(URLStr, 'popUpWin', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=true,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
//-->

function ChangeStatut(formulaire) {
if(formulaire.regagree.checked == true) {formulaire.validation.disabled = false }
if(formulaire.regagree.checked == false) {formulaire.validation.disabled = true }
}


<!--
<!--
function VerifFormulaire(which) 
{
	var ok=true;
	var triche = false;
	if (document.images) 
	{
		for (i=0;i<which.length;i++) 
		{
			var verif1=which.elements[i];
			if (verif1.name.substring(0,8)=="required") 
			{
				if (((verif1.type=="text"||verif1.type=="textarea"||verif1.type=="password")&& verif1.value=='')||(verif1.type.toString().charAt(0)=="s"&& verif1.selectedIndex==0)) 
				{
					ok=false;
					break;
				}
			}
			if (verif1.name.substring(0.5)=="ident")
			{
				if (verif1.value !="")
				{
					triche=true;
					break; 
				}
			}
		}
	}
	if (!ok) 
	{
		NomChamp=verif1.name.substring(8,30).toUpperCase();
		alert("Remplissez s'il vous plaît le champ "+NomChamp+" !")
		return false;
	}
	else
	{
	if (triche==true)
		return false
		else
		{if (which.ident.value!="")
		return false
	else
		return true
	}
}
	<!-- if (which.ident.value!="")  -->
		<!-- alert("1"); -->
	<!-- alert("2"); -->
}
function VerifFormulaireORG(which) 
{
	var ok=true;
	if (document.images) 
	{
		for (i=0;i<which.length;i++) 
		{
			var verif1=which.elements[i];
			if (verif1.name.substring(0,8)=="required") 
			{
				if (((verif1.type=="text"||verif1.type=="textarea"||verif1.type=="password")&& verif1.value=='')||(verif1.type.toString().charAt(0)=="s"&& verif1.selectedIndex==0)) 
				{
					ok=false;
					break;
				}
			}
		}
	}
	if (!ok) 
	{
		NomChamp=verif1.name.substring(8,30).toUpperCase();
		alert("Remplissez s'il vous plaît le champ "+NomChamp+" !")
		return false;
	}
	else
	{
	if (which.ident.value!="")
		return false
	else
		return true
	}
	<!-- if (which.ident.value!="")  -->
		<!-- alert("1"); -->
	<!-- alert("2"); -->
}

            // -->

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function MM_setTextOfLayer(objName,x,newText) { //v4.01
  if ((obj=MM_findObj(objName))!=null) with (obj)
    if (document.layers) {document.write(unescape(newText)); document.close();}
    else innerHTML = unescape(newText);
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_changeProp(objName,x,theProp,theValue) { //v6.0
  var obj = MM_findObj(objName);
  if (obj && (theProp.indexOf("style.")==-1 || obj.style)){
    if (theValue == true || theValue == false)
      eval("obj."+theProp+"="+theValue);
    else eval("obj."+theProp+"='"+theValue+"'");
  }
}

function formater(nombre, taille) {
  if (isNaN(nombre)) return "";
  var chaine = nombre.toString();
  while (chaine.length < taille) chaine = "0" + chaine;
  return chaine;
}

function tronque(nombre,coef)
{
	nombre=nombre * coef;// on calcule le prix en fonction du coef
	nombre=nombre.toString(); 			// on convertit en chaine
	ii=nombre.indexOf(".");			// on cherche la position de .
	if (ii<1) {					// si pas de .
		nombre=nombre+".00";				// on ajoute .00 pour faire une chaine correcte
		ii=nombre.indexOf(".");			// et on recherche de nouveau le .
	}
	deb=nombre.substr(0,ii);		// On recupere le debut avant le .
	fin=nombre.substr(ii+1,2)		// On recupere la fin apres le .
	x=fin.length;//alert(nombre);alert(x);
	if (x==0){fin=fin+".00";}
	if (x==1) { fin=fin+"0";}
	//alert(fin);
	
	nombre=deb+"."+fin;				// On recompose la chaine
	//nombre=parseFloat(nombre);			// On convertit la chaine en nombre
	return nombre;
}
	
	
function monetaire(nombre, monnaie) {
  nombre = arrondir(nombre, 2);
  return nombre + " " + monnaie;
}

function arrondir(nombre, decimales) {
  if (isNaN(nombre)) return "";
  if (decimales == 0) {
     var n = Math.round(nombre);
     return n.toString();
  }
  else if (decimales > 0) {
     if (document.all) var undefined; // Netscape 4 ne connaît pas la constante "undefined"
     var p10 = Math.pow(10, decimales);
     var n = Math.round(nombre * p10);
     n = n.toString();
     var point = n.length - decimales;
     if (point >= 0) n = n.substring(0, point) + "." + n.substring(point);
     else n = "0." + formater(n, decimales);
  }
  else {
     var p10 = Math.pow(10, -decimales);
     var n = Math.round(nombre / p10) * p10;
     n = n.toString();
  }
  if (nombre.signe_decimal == undefined) return n;
  else return n.replace(".", nombre.signe_decimal);
}

function UpdatePrix(numligne,nbligne)
{
	var pr,pr1,pu,pru,pt,p,pf;
	//alert(document.getElementById("quantity"+numligne).value);
	//alert(document.getElementById("xfile"+numligne).value);
	pr=document.getElementById("MFormat"+numligne).value*document.getElementById("quantity"+numligne).value;//prix * quantite
	pu=document.getElementById("MFormat"+numligne).value;// prix unitaire
	pru=monetaire(pu,"€");// arrondi + euro
	document.getElementById("unit2"+numligne).firstChild.nodeValue=pru;// affiche prix unit
	pr1=monetaire(pr,"€");// arrondi + euro
	document.getElementById("prix2"+numligne).firstChild.nodeValue=pr1;// affiche prix total
	//document.getElementById("prix"+numligne).value=pr;
	//document.getElementById("prix2"+numligne).value=pr;
	//alert(document.getElementById("prix2"+numligne).id);
	pt=0;
	for(var i=1; i<nbligne+1; i++)
	{
	p=document.getElementById('prix2'+i).firstChild.nodeValue;
	pf=parseFloat(p);
	//document.getElementById("unit2"+i).firstChild.nodeValue=pf;
	
	pt=pt+pf;
	}
	//p=document.getElementById('prix2'+numligne).firstChild.nodeValue;
	pt=monetaire(pt,"€");// arrondi + euro
	document.getElementById("total").firstChild.nodeValue="Montant total de votre commande : "+pt;
}

function UpdatePrixPapier(numligne,nbligne,coeff)
{
	var pr,pr1,pu,pru,pt,p,pf,pp,deb,fin,ii;
	//alert(document.getElementById("quantity"+numligne).value);
	//alert(document.getElementById("xfile"+numligne).value);
	pu=document.getElementById("MFormat"+numligne).value * coeff;// prix unitaire
	//pu=parseInt(pu*1000)/1000;

	// On tronque a 2 decimales pour ne pas avoir de problemes d'arrondi
	pu=pu.toString(); 			// on convertit en chaine
	ii=pu.indexOf(".");			// on cherche la position de .
	if (ii<1) {					// si pas de .
		pu=pu+".00";				// on ajoute .00 pour faire une chaine correcte
		ii=pu.indexOf(".");			// et on recherche de nouveau le .
	}
	deb=pu.substr(0,ii);		// On recupere le debut avant le .
	fin=pu.substr(ii+1,2)		// On recupere la fin apres le .
	pu=deb+"."+fin;				// On recompose la chaine
	pu=parseFloat(pu);			// On convertit la chaine en nombre


	pr=pu*document.getElementById("quantity"+numligne).value;// On calcule le prix * quantite
	
	// On tronque a 2 decimales pour ne pas avoir de problemes d'arrondi
	pr=pr.toString(); 			// on convertit en chaine
	ii=pr.indexOf(".");			// on cherche la position de .
	if (ii<1) {					// si pas de .
		pr=pr+".00";				// on ajoute .00 pour faire une chaine correcte
		ii=pr.indexOf(".");			// et on recherche de nouveau le .
	}
	deb=pr.substr(0,ii);		// On recupere le debut avant le .
	fin=pr.substr(ii+1,2)		// On recupere la fin apres le .
	pr=deb+"."+fin;				// On recompose la chaine
	pr=parseFloat(pr);			// On convertit la chaine en nombre
	
	pru=monetaire(pu,"€");		// arrondi + euro
	document.getElementById("unit2"+numligne).firstChild.nodeValue=pru;// on affiche le prix unitaire sur la page
	
	pr1=monetaire(pr,"€");// arrondi + euro
	document.getElementById("prix2"+numligne).firstChild.nodeValue=pr1;// on affiche le prix total sur la page
	//document.getElementById("prix"+numligne).value=pr;
	//document.getElementById("prix2"+numligne).value=pr;
	//alert(document.getElementById("prix2"+numligne).id);
	pt=0;
	for(var i=1; i<nbligne+1; i++)
	{
	p=document.getElementById('prix2'+i).firstChild.nodeValue;
	pf=parseFloat(p);
	//document.getElementById("unit2"+i).firstChild.nodeValue=pf;
	
	pt=pt+pf;
	}
	//p=document.getElementById('prix2'+numligne).firstChild.nodeValue;
	pt=monetaire(pt,"€");// arrondi + euro
	document.getElementById("total").firstChild.nodeValue="Montant total de votre commande : "+pt;
	document.getElementById("xtarif"+numligne).value=pu;// MAJ du prix * coeff
}

function UpdatePrixPapierMod(numligne,nbligne,coeff,lepapier)
{
	var pr,pr1,pu,pru,pt,p,pf,pp,deb,fin,ii;
	//alert(document.getElementById("quantity"+numligne).value);
	//alert(document.getElementById("xfile"+numligne).value);
	pu=document.getElementById("MFormat"+numligne).value * coeff;// prix unitaire
	//pu=parseInt(pu*1000)/1000;

	// On tronque a 2 decimales pour ne pas avoir de problemes d'arrondi
	pu=pu.toString(); 			// on convertit en chaine
	ii=pu.indexOf(".");			// on cherche la position de .
	if (ii<1) {					// si pas de .
		pu=pu+".00";				// on ajoute .00 pour faire une chaine correcte
		ii=pu.indexOf(".");			// et on recherche de nouveau le .
	}
	deb=pu.substr(0,ii);		// On recupere le debut avant le .
	fin=pu.substr(ii+1,2)		// On recupere la fin apres le .
	pu=deb+"."+fin;				// On recompose la chaine
	pu=parseFloat(pu);			// On convertit la chaine en nombre

	pr=pu*document.getElementById("quantity"+numligne).value;// On calcule le prix * quantite
	
	// On tronque a 2 decimales pour ne pas avoir de problemes d'arrondi
	pr=pr.toString(); 			// on convertit en chaine
	ii=pr.indexOf(".");			// on cherche la position de .
	if (ii<1) {					// si pas de .
		pr=pr+".00";				// on ajoute .00 pour faire une chaine correcte
		ii=pr.indexOf(".");			// et on recherche de nouveau le .
	}
	deb=pr.substr(0,ii);		// On recupere le debut avant le .
	fin=pr.substr(ii+1,2)		// On recupere la fin apres le .
	pr=deb+"."+fin;				// On recompose la chaine
	pr=parseFloat(pr);			// On convertit la chaine en nombre
	
	pru=monetaire(pu,"€");		// arrondi + euro
	document.getElementById("unit2"+numligne).firstChild.nodeValue=pru;// on affiche le prix unitaire sur la page
	
	pr1=monetaire(pr,"€");// arrondi + euro
	document.getElementById("prix2"+numligne).firstChild.nodeValue=pr1;// on affiche le prix total sur la page
	//document.getElementById("prix"+numligne).value=pr;
	//document.getElementById("prix2"+numligne).value=pr;
	//alert(document.getElementById("prix2"+numligne).id);
	pt=0;
	for(var i=1; i<nbligne+1; i++)
	{
	p=document.getElementById('prix2'+i).firstChild.nodeValue;
	pf=parseFloat(p);
	//document.getElementById("unit2"+i).firstChild.nodeValue=pf;
	
	pt=pt+pf;
	}
	//p=document.getElementById('prix2'+numligne).firstChild.nodeValue;
	pt=monetaire(pt,"€");// arrondi + euro
	document.getElementById("total").firstChild.nodeValue="Montant total de votre commande : "+pt;
	//alert(tabproduitcoeff['Produit'][1]);
	document.getElementById("xPapier"+numligne).value=tabproduitcoeff['Produit'][lepapier];// MAJ du nom du papier
	document.getElementById("xtarif"+numligne).value=pu;// MAJ du prix * coeff
}

function UpdateQuality(numligne,longphoto,largphoto)
{
	var r,s,t,rapphoto,rappapier,rapfinal,hpapecran,largimg,hautimg,decal;
	var largeurcolonne=120;
	s=document.getElementById("MFormat"+numligne).selectedIndex;
//alert(document.getElementById("MFormat["+numligne+"]").options[s].value);
	t=tabformat['longueur'][s];
	r=Math.round(longphoto/t)*2.54;
	
	var boite = eval("document.getElementById('boite'+numligne)") ;
	var imgboite = eval("document.getElementById('imgboite'+numligne)") ;
	var img = eval("document.getElementById('imgqual'+numligne)") ;
	var imgbulle = eval("document.getElementById('imgrapp'+numligne)") ;
	document.getElementById("xformat"+numligne).value=tabformat['format'][s];
	
	decal=0;
	rapphoto=longphoto/largphoto;
	rappapier=tabformat['longueur'][s]/tabformat['largeur'][s];;
	rapfinal=(rapphoto/rappapier)*tabformat['longueur'][s];// longueur de la photo sur le papier en cm
	hpapecran=(largeurcolonne/tabformat['longueur'][s])*tabformat['largeur'][s];// hauteur du papier sur ecran
		
	boite.style.width=largeurcolonne+'px'; // Dimensions de la boite rouge
	boite.style.height=hpapecran+'px';

	largimg=(rapfinal*largeurcolonne)/tabformat['longueur'][s];
	hautimg=hpapecran;
	
	if (rapfinal>tabformat['longueur'][s]) // le calcul est plus grand que le papier en longueur
		{ 
		rapfinal=(tabformat['longueur'][s]/rapfinal)*tabformat['largeur'][s];// on calcule la hauteur
		largimg=largeurcolonne;
		hautimg=(rapfinal/tabformat['largeur'][s])*hpapecran;
		decal=hautimg/2;
		}
		// format papier ecran = 90 x hpapecran
	
	imgboite.width=largimg;
	imgboite.height=hautimg;

rapbas=rapphoto/1.05;
raphaut=rapphoto*1.05;

if (rappapier>=rapbas && rappapier<=raphaut)
{
	imgbulle.src="images/l_green.gif" ;
	document.getElementById('form'+numligne).firstChild.nodeValue=" Format correct";
	}
else 
{
	imgbulle.src="images/l_red2.gif" ;
	document.getElementById('form'+numligne).firstChild.nodeValue=" ATTENTION : Format incorrect.";
	}

	//document.getElementById('pix'+numligne).height=decal;
	//document.getElementById('imgrapp'+numligne).firstChild.nodeValue=rapfinal;

if (r<50)
	{
	img.src = "images/qualite0.gif" ;
	document.getElementById('txtqual'+numligne).firstChild.nodeValue=" Qualité médiocre";
	}
	else if (r>=50&r<100)
	{img.src = "images/qualite1.gif" ;
	document.getElementById('txtqual'+numligne).firstChild.nodeValue=" Qualité insuffisante";
	}
	else if (r>=100&r<150)
	{img.src = "images/qualite2.gif" ;
	document.getElementById('txtqual'+numligne).firstChild.nodeValue=" Qualité moyenne";
	}
	else if (r>=150&r<200)
	{img.src = "images/qualite3.gif" ;
	document.getElementById('txtqual'+numligne).firstChild.nodeValue=" Qualité bonne";
	}
	else if (r>=200)
	{img.src = "images/qualite4.gif" ;
	document.getElementById('txtqual'+numligne).firstChild.nodeValue=" Qualité excellente";
	}
}

function UpdateQualityEnTest(numligne,longphoto,largphoto)
{
	var r,s,t,rapphoto,rappapier,rapfinal,hpapecran,largimg,hautimg,decal;
	var largeurcolonne=120;
	s=document.getElementById("MFormat"+numligne).selectedIndex;
//alert(document.getElementById("MFormat["+numligne+"]").options[s].value);
	t=tabformat['longueur'][s];
	r=Math.round(longphoto/t)*2.54;
	
	var boite = eval("document.getElementById('boite'+numligne)") ;
	var imgboite = eval("document.getElementById('imgboite'+numligne)") ;
	var img = eval("document.getElementById('imgqual'+numligne)") ;
	var imgbulle = eval("document.getElementById('imgrapp'+numligne)") ;
	document.getElementById("xformat"+numligne).value=tabformat['format'][s];
		
	decal=0;
	rapphoto=longphoto/largphoto;
	rappapier=tabformat['longueur'][s]/tabformat['largeur'][s];;
	rapfinal=(rapphoto/rappapier)*tabformat['longueur'][s];// longueur de la photo sur le papier en cm
	hpapecran=(largeurcolonne/tabformat['longueur'][s])*tabformat['largeur'][s];// hauteur du papier sur ecran
		
	boite.style.width=largeurcolonne+'px'; // Dimensions de la boite rouge
	boite.style.height=hpapecran+'px';

	largimg=(rapfinal*largeurcolonne)/tabformat['longueur'][s];
	hautimg=hpapecran;
	
	if (rapfinal>tabformat['longueur'][s]) // le calcul est plus grand que le papier en longueur
		{ 
		rapfinal=(tabformat['longueur'][s]/rapfinal)*tabformat['largeur'][s];// on calcule la hauteur
		largimg=largeurcolonne;
		hautimg=(rapfinal/tabformat['largeur'][s])*hpapecran;
		decal=hautimg/2;
		}
		// format papier ecran = 90 x hpapecran
	
	imgboite.width=largimg;
	imgboite.height=hautimg;

rapbas=rapphoto/1.05;
raphaut=rapphoto*1.05;

if (rappapier>=rapbas && rappapier<=raphaut)
{
	imgbulle.src="images/l_green.gif" ;
	document.getElementById('form'+numligne).firstChild.nodeValue=" Format correct";
	}
else 
{
	imgbulle.src="images/l_red2.gif" ;
	document.getElementById('form'+numligne).firstChild.nodeValue=" ATTENTION : Format incorrect.";
	}

	//document.getElementById('pix'+numligne).height=decal;
	//document.getElementById('imgrapp'+numligne).firstChild.nodeValue=rapfinal;
document.getElementById("dddform"+numligne).value=tabformat['largeur'][s];
document.getElementById("dddform1"+numligne).value=tabformat['longueur'][s];

if (r<50)
	{
	img.src = "images/qualite0.gif" ;
	document.getElementById('txtqual'+numligne).firstChild.nodeValue=" Qualité médiocre";
	}
	else if (r>=50&r<100)
	{img.src = "images/qualite1.gif" ;
	document.getElementById('txtqual'+numligne).firstChild.nodeValue=" Qualité insuffisante";
	}
	else if (r>=100&r<150)
	{img.src = "images/qualite2.gif" ;
	document.getElementById('txtqual'+numligne).firstChild.nodeValue=" Qualité moyenne";
	}
	else if (r>=150&r<200)
	{img.src = "images/qualite3.gif" ;
	document.getElementById('txtqual'+numligne).firstChild.nodeValue=" Qualité bonne";
	}
	else if (r>=200)
	{img.src = "images/qualite4.gif" ;
	document.getElementById('txtqual'+numligne).firstChild.nodeValue=" Qualité excellente";
	}
}

function UpdateQualityORG(numligne,longphoto,largphoto)
{
	var r,s,t,rapphoto,rappapier,rapfinal,hpapecran,largimg,hautimg,decal;
	var largeurcolonne=120;
	
	s=1;
	r=Math.round(longphoto/40)*2.54;
	var boite = eval("document.getElementById('boite'+numligne)") ;
	var imgboite = eval("document.getElementById('imgboite'+numligne)") ;
	var img = eval("document.getElementById('imgqual'+numligne)") ;
	var imgbulle = eval("document.getElementById('imgrapp'+numligne)") ;
	
	document.getElementById("xformat"+numligne).value=tabformat['format'][0];
	
	decal=0;
	rapphoto=longphoto/largphoto;
	rappapier=tabformat['longueur'][s]/tabformat['largeur'][s];;
	rapfinal=(rapphoto/rappapier)*tabformat['longueur'][s];// longueur de la photo sur le papier en cm
	hpapecran=(largeurcolonne/tabformat['longueur'][s])*tabformat['largeur'][s];// hauteur du papier sur ecran
		
	boite.style.width=largeurcolonne+'px'; // Dimensions de la boite rouge
	boite.style.height=hpapecran+'px';

	largimg=(rapfinal*largeurcolonne)/tabformat['longueur'][s];
	hautimg=hpapecran;
	
	if (rapfinal>tabformat['longueur'][s]) // le calcul est plus grand que le papier en longueur
		{ 
		rapfinal=(tabformat['longueur'][s]/rapfinal)*tabformat['largeur'][s];// on calcule la hauteur
		largimg=largeurcolonne;
		hautimg=(rapfinal/tabformat['largeur'][s])*hpapecran;
		decal=hautimg/2;
		}
	
	imgboite.width=largimg;
	imgboite.height=hautimg;

rapbas=rapphoto/1.05;
raphaut=rapphoto*1.05;

if (rappapier>=rapbas && rappapier<=raphaut)
{
	imgbulle.src="images/l_green.gif" ;
	document.getElementById('form'+numligne).firstChild.nodeValue=" Format correct";
}
else 
{
	imgbulle.src="images/l_red2.gif" ;
	document.getElementById('form'+numligne).firstChild.nodeValue=" ATTENTION : Format incorrect.";
}

if (r<50)
	{
	img.src = "images/qualite0.gif" ;
	document.getElementById('txtqual'+numligne).firstChild.nodeValue=" Qualité médiocre";
	}
	else if (r>=50&r<100)
	{img.src = "images/qualite1.gif" ;
	document.getElementById('txtqual'+numligne).firstChild.nodeValue=" Qualité insuffisante";
	}
	else if (r>=100&r<150)
	{img.src = "images/qualite2.gif" ;
	document.getElementById('txtqual'+numligne).firstChild.nodeValue=" Qualité moyenne";
	}
	else if (r>=150&r<200)
	{img.src = "images/qualite3.gif" ;
	document.getElementById('txtqual'+numligne).firstChild.nodeValue=" Qualité bonne";
	}
	else if (r>=200)
	{img.src = "images/qualite4.gif" ;
	document.getElementById('txtqual'+numligne).firstChild.nodeValue=" Qualité excellente";
	}
}
//-->


