function rechnen() {
jojokp = (1 / document.formular.zuu.value);
usja = ((jojokp * document.formular.benzin.value) * 1000);
blu = (Math.round(usja * 100) / 100)
ausgabe2();
}

function ausgabe2() {
document.formular.erggi.value = blu+" ml";
}

function iffi() {
if (document.formular.pskw.value=="pstokw") pstokw();
else if (document.formular.pskw.value=="kwtops") kwtops();
}

function pstokw() {
hanswurst = (document.formular.kw.value*0.735);
hey = (Math.round(hanswurst * 100) / 100)
document.formular.ergg.value = hey+" kW";
}

function kwtops() {
langeweile = (document.formular.kw.value*1.36);
hoy = (Math.round(langeweile * 100) / 100)
document.formular.ergg.value = hoy+" PS";
}

function iffi22() {
if (document.formular.mpkm.value=="kmtomp") kmtomp();
else if (document.formular.mpkm.value=="mptokm") mptokm();
}

function kmtomp() {
hanswurst11 = (document.formular.mph.value*1.609344);
hey11 = (Math.round(hanswurst11 * 100) / 100)
document.formular.ergg22.value = hey11+" km/h";
}

function mptokm() {
langeweile11 = (document.formular.mph.value/1.609344);
hoy11 = (Math.round(langeweile11 * 100) / 100)
document.formular.ergg22.value = hoy11+" mph";
}