  function calculThis(){
  
    var an  = $F("FF_EURO_AN");   
    var francs  = $F("FF_EURO_FR");

    var dataForm = "posted=true&an="+an+"&francs="+francs;

  	var url = "francs-euros-constants-calc.php";

	if ((an == '') || (francs == '')) {return (false)};
  	o_options = new Object();
  	o_options = {method: 'post',parameters: dataForm, onComplete:myFunction};
  	new Ajax.Request(url,o_options); 
  
    function myFunction(response){
      $("FF_EURO_EUROS").value = response.responseText;
	}
  }


function raz()
{
	document.Calc.an.value = "";
	document.Calc.francs.value = "";
	document.Calc.euros.value = "";
}


function calc_ff()
{
	document.Calc.method = "POST";
	document.Calc.action ="<?php echo $_SERVER['PHP_SELF']; ?>";
	document.Calc.submit();
}

