
<!--
function Simulate()
{
	var salBrut = document.forms[0].elements["salBrut"];
	var secu = document.forms[0].elements["secu"];
	var CoutMois = document.forms[0].elements["CoutMois"];		
	
	var salBrut2 = document.forms[0].elements["salBrut2"];
	var CoutMois2 = document.forms[0].elements["CoutMois2"];
	
	var comp_mois = document.forms[0].elements["comp_mois"];
	var comp_an = document.forms[0].elements["comp_an"];


	var nb_sal = ConvertStringToFloat(document.forms[0].elements["nb_sal"].value);
	var montant = ConvertStringToFloat(document.forms[0].elements["montant"].value);
		
	var amt_brut = nb_sal * montant;
	var amt_secu = (amt_brut * 23)/100;
	
	salBrut.value = FormatFloatXDec(amt_brut,2);
	secu.value = FormatFloatXDec(amt_secu,2);
	CoutMois.value = FormatFloatXDec(amt_brut + amt_secu,2);
	
	salBrut2.value = FormatFloatXDec(amt_brut,2);
	CoutMois2.value = FormatFloatXDec(amt_brut,2);
	
	comp_mois.value =FormatFloatXDec(amt_secu,2);
	comp_an.value =	FormatFloatXDec( amt_secu * 12,2);				

	
}
-->