document.write('<form name="monForm" method="post" action="http://register.dolfi.fr/formation/formulaire.php">');document.write('<input name="ref" type="hidden" />');document.write('<input name="niveau" type="hidden" />');document.write('<input name="titre" type="hidden" />');document.write('<input name="jourDebut" type="hidden" />');document.write('<input name="jourFin" type="hidden" />');document.write('<input name="dureeEnJours" type="hidden" />');document.write('<input name="dureeEnHeures" type="hidden" />');document.write('<input name="tarifHT" type="hidden" />');document.write('</form>');function utf8_encode( string ){	string = string.replace(/\r\n/g,"\n");	var utftext = "";	for (var n = 0; n < string.length; n++) {		var c = string.charCodeAt(n);		if (c < 128) {			utftext += String.fromCharCode(c);		}		else if((c > 127) && (c < 2048)) {			utftext += String.fromCharCode((c >> 6) | 192);			utftext += String.fromCharCode((c & 63) | 128);		}		else {			utftext += String.fromCharCode((c >> 12) | 224);			utftext += String.fromCharCode(((c >> 6) & 63) | 128);			utftext += String.fromCharCode((c & 63) | 128);		}	}	return utftext;}function submitFormulaire(ref, niveau, titre, jourDebut, jourFin,dureeEnJours,dureeEnHeures,tarifHT){	document.monForm.ref.value = ref;	document.monForm.niveau.value = niveau;		document.monForm.titre.value = utf8_encode( titre );	document.monForm.jourDebut.value = jourDebut;	document.monForm.jourFin.value = jourFin;	document.monForm.dureeEnJours.value = dureeEnJours;	document.monForm.dureeEnHeures.value = dureeEnHeures;	document.monForm.tarifHT.value = tarifHT;	document.monForm.submit();}
