// JavaScript Document

function berechnung(formName) {
	
	var wert1 = 0;
	var preis = 70;
	
	var radio = document.form63.feeOne;
	
	for(var i=0;radio[i];i++){
	    if(radio[i].checked) { wert1 = radio[i].value; }
		}
	
	var anzahlPersonen = document.form63.nr_persons.value;
	
	var totalPreis = anzahlPersonen*preis;
	
	document.form63.t_evening.value = totalPreis;
	
	if ( wert1 == 0 ) {
		alert("please select a radiobutton!");
	} else { 
		document.form63.amount.value = totalPreis*1 + wert1*1;
	}
	
	
	}