//Enregistre les valeurs et données saisies dans des zones de texte cachées
//pour traitement dans formulaire suivant.
function enregistrementValeurs(){
	
	window.parent.mainFrame.form1.texteNumDep.value = window.parent.mainFrame.form1.selectNumDep.options[window.parent.mainFrame.form1.selectNumDep.selectedIndex].text;
	window.parent.mainFrame.form1.indexSituation.value = window.parent.mainFrame.form1.selectSituation.selectedIndex;
	
    window.parent.mainFrame.form1.valeurFamillePrescripteur.value = window.parent.mainFrame.form1.selectFamillePrescripteur.selectedIndex;
    /*alert (window.parent.mainFrame.form1.valeurFamillePrescripteur.value );*/
    window.parent.mainFrame.form1.texteReseauPrimalliance.value = window.parent.mainFrame.form1.checkReseauPrimalliance.checked;

    window.parent.mainFrame.form1.PsiPlancherSousCombles.value = window.parent.mainFrame.form1.PsiPlancherSousCombles.value;
    window.parent.mainFrame.form1.PsiPlancherBas.value = window.parent.mainFrame.form1.PsiPlancherBas.value;
    window.parent.mainFrame.form1.PsiPlancherIntermediaire.value = window.parent.mainFrame.form1.PsiPlancherIntermediaire.value;
    window.parent.mainFrame.form1.coeffH.value = window.parent.mainFrame.form1.coeffH.value;	

	window.parent.mainFrame.form1.texteSituation.value = window.parent.mainFrame.form1.selectSituation.options[window.parent.mainFrame.form1.selectSituation.selectedIndex].text;
	window.parent.mainFrame.form1.valeurVolume.value = window.parent.mainFrame.form1.hauteur.value*window.parent.mainFrame.form1.surface.value;
	window.parent.mainFrame.form1.valeurIsolation.value = window.parent.mainFrame.form1.selectIsolation.selectedIndex;
	/*if(window.parent.mainFrame.form1.valeurIsolation.value>=7)
		window.parent.mainFrame.form1.valeurIsolation.value=7;*/
	window.parent.mainFrame.form1.texteStructureMurExterieur.value = window.parent.mainFrame.form1.selectStructureMurExterieur.options[window.parent.mainFrame.form1.selectStructureMurExterieur.selectedIndex].text;
	window.parent.mainFrame.form1.texteStructurePlancherBas.value = window.parent.mainFrame.form1.selectStructurePlancherBas.options[window.parent.mainFrame.form1.selectStructurePlancherBas.selectedIndex].text;
	window.parent.mainFrame.form1.texteStructurePlancherIntermediaire.value = window.parent.mainFrame.form1.selectStructurePlancherIntermediaire.options[window.parent.mainFrame.form1.selectStructurePlancherIntermediaire.selectedIndex].text;
	window.parent.mainFrame.form1.texteStructureToitureSousCombles.value = window.parent.mainFrame.form1.selectStructureToitureSousCombles.options[window.parent.mainFrame.form1.selectStructureToitureSousCombles.selectedIndex].text;
	window.parent.mainFrame.form1.texteStructurePlancherSousCombles.value = window.parent.mainFrame.form1.selectStructurePlancherSousCombles.options[window.parent.mainFrame.form1.selectStructurePlancherSousCombles.selectedIndex].text;
	window.parent.mainFrame.form1.texteStructurePorteExterieure.value = window.parent.mainFrame.form1.selectStructurePorteExterieure.options[window.parent.mainFrame.form1.selectStructurePorteExterieure.selectedIndex].text;
	window.parent.mainFrame.form1.texteStructureBaiesSansFermeture.value = window.parent.mainFrame.form1.selectStructureBaiesSansFermeture.options[window.parent.mainFrame.form1.selectStructureBaiesSansFermeture.selectedIndex].text;
	window.parent.mainFrame.form1.texteStructureBaiesAvecFermeture.value = window.parent.mainFrame.form1.selectStructureBaiesAvecFermeture.options[window.parent.mainFrame.form1.selectStructureBaiesAvecFermeture.selectedIndex].text;

	window.parent.mainFrame.form1.texteIsolantMurExterieur.value = window.parent.mainFrame.form1.selectIsolantMurExterieur.options[window.parent.mainFrame.form1.selectIsolantMurExterieur.selectedIndex].text;
	window.parent.mainFrame.form1.texteIsolantPlancherBas.value = window.parent.mainFrame.form1.selectIsolantPlancherBas.options[window.parent.mainFrame.form1.selectIsolantPlancherBas.selectedIndex].text;
	window.parent.mainFrame.form1.texteIsolantToitureSousCombles.value = window.parent.mainFrame.form1.selectIsolantToitureSousCombles.options[window.parent.mainFrame.form1.selectIsolantToitureSousCombles.selectedIndex].text;
	window.parent.mainFrame.form1.texteIsolantPorteExterieure.value = window.parent.mainFrame.form1.selectIsolantPorteExterieure.options[window.parent.mainFrame.form1.selectIsolantPorteExterieure.selectedIndex].text;
	window.parent.mainFrame.form1.texteIsolantBaiesSansFermeture.value = window.parent.mainFrame.form1.selectIsolantBaiesSansFermeture.options[window.parent.mainFrame.form1.selectIsolantBaiesSansFermeture.selectedIndex].text;
	window.parent.mainFrame.form1.texteIsolantBaiesAvecFermeture.value = window.parent.mainFrame.form1.selectIsolantBaiesAvecFermeture.options[window.parent.mainFrame.form1.selectIsolantBaiesAvecFermeture.selectedIndex].text;


	window.parent.mainFrame.form1.valeurForme.value = window.parent.mainFrame.form1.selectForme.selectedIndex;
	window.parent.mainFrame.form1.valeurFormeExt.value = window.parent.mainFrame.form1.selectFormeExt.selectedIndex;
	window.parent.mainFrame.form1.valeurVentilation.value = window.parent.mainFrame.form1.selectVentilation.selectedIndex;
	window.parent.mainFrame.form1.valeurRythme.value = window.parent.mainFrame.form1.selectRythme.selectedIndex;
	window.parent.mainFrame.form1.valeurNiveauUsage.value = window.parent.mainFrame.form1.selectNiveauUsage.selectedIndex;
	window.parent.mainFrame.form1.valeurCuisson.value = window.parent.mainFrame.form1.selectCuisson.selectedIndex;
	window.parent.mainFrame.form1.valeurEnergieChauffageECS.value = window.parent.mainFrame.form1.selectEnergieChauffageECS.selectedIndex;
	window.parent.mainFrame.form1.valeurSystemeChauffage.value = window.parent.mainFrame.form1.selectSystemeChauffage.selectedIndex;
	window.parent.mainFrame.form1.valeurChaudiere.value = window.parent.mainFrame.form1.selectChaudiere.selectedIndex;
	window.parent.mainFrame.form1.valeurProductionECS.value = window.parent.mainFrame.form1.selectProductionECS.selectedIndex;
}
