function finDevis(){	if (document.getElementById){		Bouton = document.getElementById("BT_EnvoyerConfMail");	}else if (document.all) {		Bouton = document.document.all["BT_EnvoyerConfMail"];	}	Bouton.click();}function formNext(ind){	var form=eval(ind)+1;	var frm;	frm=document.forms[0];		if(valideChamp(ind)){		if(form==3){			// Modifier la valeur de categ quand un champ sera dispo pour connaitre le nom de la cat\u00E9gorie !			var categ="<b>"+frm.Categ.value+"</b>";			var libelle="<b>"+frm.Libelle.value+"</b>";			var ville="<b>"+frm.QUE_Ville_div1.value+"</b>";			var cp="<b>"+frm.QUE_CodePostal_div1.value+"</b>";			var vous="<b>"+frm.QUE_Resume_Vous.value+"</b>";			var type="<b>"+frm.QUE_Resume_TypeHab.value+"</b>";			var etat="<b>"+frm.QUE_Resume_Etat.value+"</b>";					if( frm.QUE_VousEtes_Autre.value != ""){				vous="Autre : "+frm.QUE_VousEtes_Autre.value;			}			if( frm.QUE_TypeHabitat_Autre.value != ""){				type="Autre : "+frm.QUE_TypeHabitat_Autre.value;			}					var resum="<br>Vous avez demand\u00E9 un devis pour \u00AB " + libelle+ " \u00BB dans la ville de " + ville + " (" + cp + ").<br><br>Vous \u00EAtes :<br>" + vous + "<br><br>Type d\u2019habitat ou local :<br>" + type + "<br><br>Etat de l\u2019habitat ou du local :<br>" + etat + "<br><br><p onclick='javascript:formPrev(document.forms[0].Compteur.value);;' style='cursor:pointer;'>> modifier</p>";		}			if (document.getElementById){			document.getElementById("div"+ind).style.display = "none";			document.getElementById("div"+form).style.display = "inline";					if (form != 1){				document.getElementById("formPrec").style.display = "inline";			}			if (form==3){				document.getElementById("formSuiv").style.display = "none";				document.getElementById("formFin").style.display = "inline";							document.getElementById("divResume").innerHTML = resum;			}else{				document.getElementById("formSuiv").style.display = "inline";				document.getElementById("formFin").style.display = "none";			}			document.getElementById("Avct"+form).style.backgroundImage = "url('/"+dbpath+"/FondAvctForm_"+form+".jpg')";			document.getElementById("Avct"+form).style.color = "#333333";			//document.getElementById("chpDiv"+form).focus();			//Bouton = document.getElementById("BT_SaveTmp");		}else if (document.all) {			document.all["div"+ind].style.display = "none";			document.all["div"+form].style.display = "inline";						if (form != 1){				document.all["formPrec"].style.display = "inline";			}			if (form==3){				document.all["formSuiv"].style.display = "none";				document.all["formFin"].style.display = "inline";							document.all["divResume"].innerHTML = resum;			}else{				document.all["formSuiv"].style.display = "inline";				document.all["formFin"].style.display = "none";			}			document.all["Avct"+form].style.backgroundImage = "url('/"+dbpath+"/FondAvctForm_"+form+".jpg')";			document.all["Avct"+form].style.color = "#333333";			//document.all["chpDiv"+form].focus();					//Bouton = document.all["BT_SaveTmp"];		}		if (form==3){			frm.Resume.value=resum;		}		frm.Compteur.value=form;		self.location.hash="ancreAvct";		//Bouton.click();	}}/**********************************************************************************************/function formPrev(ind){	var form=eval(ind)-1;	var frm;	frm=document.forms[0];			if (document.getElementById){		document.getElementById("div"+ind).style.display = "none";		document.getElementById("div"+form).style.display = "inline";				if (form != 3){			document.getElementById("formSuiv").style.display = "inline";			document.getElementById("formFin").style.display = "none";		}		if (form==1){			document.getElementById("formPrec").style.display = "none";		}else{			document.getElementById("formPrec").style.display = "inline";		}		document.getElementById("Avct"+ind).style.backgroundImage = "url('/"+dbpath+"/FondAvctForm_"+ind+"_gris.jpg')";		document.getElementById("Avct"+ind).style.color = "#AAAAAA";		//document.getElementById("chpDiv"+form).focus();			}else if (document.all) {		document.all["div"+ind].style.display = "none";		document.all["div"+form].style.display = "inline";				if (form != 3){			document.all["formSuiv"].style.display = "inline";			document.all["formFin"].style.display = "none";		}		if (form==1){			document.all["formPrec"].style.display = "none";		}else{			document.all["formPrec"].style.display = "inline";		}		document.all["Avct"+ind].style.backgroundImage = "url('/"+dbpath+"/FondAvctForm_"+ind+"_gris.jpg')";		document.all["Avct"+ind].style.color = "#AAAAAA";		//document.all["chpDiv"+form].focus();			}	frm.Compteur.value=form;	self.location.hash="ancreAvct";}