function umrech() { checkform () var b=document.form.geld.value; var d=0; if (document.form.currency.selectedIndex == 0) { if (document.form.devis.selectedIndex == 0){d = 13.7603;} if (document.form.devis.selectedIndex == 1){d = 40.3399;} if (document.form.devis.selectedIndex == 2){d = 1.95583;} if (document.form.devis.selectedIndex == 3){d = 5.94573;} if (document.form.devis.selectedIndex == 4){d = 6.55957;} if (document.form.devis.selectedIndex == 5){d = 2.20371;} if (document.form.devis.selectedIndex == 6){d = 0.787564;} if (document.form.devis.selectedIndex == 7){d = 1936.27;} if (document.form.devis.selectedIndex == 8){d = 40.3399;} if (document.form.devis.selectedIndex == 9){d = 200.482;} if (document.form.devis.selectedIndex == 10){d = 166.386;} var x = b*d; document.form.euro.value = ""; var z=Math.round(x*100)/100 if(document.form.rund[0].checked == true){document.form.euro.value = z;} else {document.form.euro.value = x;} } else { if (document.form.currency.selectedIndex == 1) { if (document.form.devis.selectedIndex == 0){d = 13.7603;} if (document.form.devis.selectedIndex == 1){d = 40.3399;} if (document.form.devis.selectedIndex == 2){d = 1.95583;} if (document.form.devis.selectedIndex == 3){d = 5.94573;} if (document.form.devis.selectedIndex == 4){d = 6.55957;} if (document.form.devis.selectedIndex == 5){d = 2.20371;} if (document.form.devis.selectedIndex == 6){d = 0.787564;} if (document.form.devis.selectedIndex == 7){d = 1936.27;} if (document.form.devis.selectedIndex == 8){d = 40.3399;} if (document.form.devis.selectedIndex == 9){d = 200.482;} if (document.form.devis.selectedIndex == 10){d = 166.386;} var x = b/d; document.form.euro.value = ""; var z=Math.round(x*100)/100 if(document.form.rund[0].checked == true){document.form.euro.value = z;} else {document.form.euro.value = x;} } } } function checkform () { if (document.form.geld.value == "") alert ("Betrag eingeben"); document.form.geld.focus (); document.form.geld.select (); }