function jumpErika(targ,selObj,restore){ //v3.0
  paket = selObj.options[selObj.selectedIndex].value;
  if(paket == '') return false;
		
  eval(targ+".location='../20paketloesungen/paketdetail.html?pk="+paket+"'");
  if (restore) selObj.selectedIndex=0;
}

function updateKassenzettel(id, name) {
//		alert(value);
	if(name) produkt = name;
	else produkt = id;
		
	if(produkt == '') {
		new Ajax.Updater('kassenzettel', 'kassenzettel.html', {
			encoding: 'iso-8859-15'
		});	
	} else {
		new Ajax.Updater('kassenzettel', 'kassenzettel.html', {
			parameters: produkt+"="+$F(id) ,
			encoding: 'iso-8859-15'
		});
	}
}

function updateIdent(kammerValue, identElement, kammerHash) {
	var ident = kammerHash.get(kammerValue);
	if(Object.isUndefined(ident)) {
		ident = '<option value="">Bitte w&auml;hlen Sie eine K&ouml;rperschaft aus</option>';
	}
	identElement.update(ident);
}

function openNewWindow(theURL,winName,features) {
	//console.log(theURL);
	var newWindow = window.open(theURL,winName,features);
//	newWindow.focus();
}
