function malraux(){
var totalpay = 0;
var Qtmi;

totalpay = eval(document.devis.vala.value);
statusmar = eval(document.devis.statype.value);
perchargnb = eval(document.devis.pernb.value);
Qtmi = QtmiCoefCal(FamCoefCalc((totalpay * 0.9),statusmar,perchargnb));
timp = TotalImpotCalc((totalpay * 0.9),statusmar,perchargnb);

if(totalpay > 0){
	document.getElementById("realcost").innerHTML = "Déduction 10% : " + FormatNumber(totalpay * 0.1) + " \u20AC";
	document.getElementById("baseimpots").innerHTML = "Impots avant défiscalisation : " + timp + " \u20AC";
}

timpd = Qtmi * eval(document.devis.trav.value);

if(timpd > timp)
	ecoreal = timp;
else
	ecoreal = timpd;

if(ecoreal > 0)
	document.getElementById("ecot").innerHTML = "Economie réelle : " + FormatNumber(ecoreal) + " \u20AC";

if(timpd > ecoreal)
	document.getElementById("ecomax").innerHTML = "Economie maximum possible : " + FormatNumber(timpd) + " \u20AC";

}