
document.write('<form name="Keypad" action="">');
document.write('<table cellpadding="5" cellspacing="0" class="tour info">');
document.write('<tr><td colspan="2" align="left">');
document.write('<input name="ReadOut" type="text" size="5" value="1" /><b>Euro</b>&nbsp;&nbsp;');
document.write('<input name="ReadOut2" type="text" size="5" value="1.8" /><b>DT</b>');
document.write('</td></tr><tr><td><left>');
document.write("<input name='btnNeg' type='button'  value='Euro > DT ' onclick='FE()' style='background-color:#adabab' onmouseover=\"this.style.color='#ff001e'\" onmouseout=\"this.style.color='#ffffff'\" onmousedown=\"this.style.color='#ffffff'\" />");
document.write('</left></td><td><left>');
document.write("<input name='btnPercent' type='button' value='Euro < DT ' onclick='EF()' style='background-color:#adabab' onmouseover=\"this.style.color='#ff001e'\" onmouseout=\"this.style.color='#ffffff'\" onmousedown=\"this.style.color='#ffffff'\" />");
document.write('</left></td></tr><tr class="unite"><td><center>');
document.write("<input name='btnClear' type='button' value='Effacer' onclick='Clear()' style='background-color:#adabab' title='Annulation des saisies' onmouseover=\"this.style.color='#ff001e'\" onmouseout=\"this.style.color='#ffffff'\" onmousedown=\"this.style.color='#ffffff'\" />");
document.write('</center></td><td><left>');
document.write('</left></td></tr></table></form>');
var FKeyPad = document.Keypad;
var Accum = 0;
var FlagNewNum = false;
var PendingOp = "";
function Clear () {
FKeyPad.ReadOut.value = "1";
FKeyPad.ReadOut2.value = "1.8";
Accum = 0;
PendingOp = "";
}
function FE () {
FKeyPad.ReadOut2.value = (Math.round ((parseFloat(FKeyPad.ReadOut.value) * 1.8) *100))/100;
}
function EF () {
FKeyPad.ReadOut.value = (Math.round ((parseFloat(FKeyPad.ReadOut2.value) * (1/1.8)) *100))/100;
}
function faq () {
ouvreWindow("pop_euro.php",'','toolbar=no,scrollbars=no,resizable=yes',590,235);
}


