function maxwax(daten) {

	new Ajax(url, {
		method: 'post',
		data: daten,
		onRequest: function(){
			if($('ldrdiv'))  $('ldrdiv').innerHTML=spinner;
		},
		update: $(log),
		onComplete: function() {
			// LOADER
			if($('ldrdiv')) $('ldrdiv').innerHTML='&nbsp;';

			// Menüaufklappschalter
			var trigger = 'X';
			var aktiv = 'Y';
			var show_pic_lightbox = 'Z';
			var open_shadowbox = 0;
			var item_id = 0;
			var incfile = 0;

			var arr_daten = daten.split("&");

			for(var z = 0; z < arr_daten.length; z++) {
				var arr_pair = arr_daten[z].split("=");
				if(arr_pair[0] == 'trigger')    trigger = arr_pair[1];
				if(arr_pair[0] == 'aktiv')      aktiv = arr_pair[1];
				if(arr_pair[0] == 'sbox')  open_shadowbox = arr_pair[1];
				if(arr_pair[0] == 'item_id')  item_id = arr_pair[1];
				if(arr_pair[0] == 'lightbox') show_pic_lightbox = arr_pair[1];
				if(arr_pair[0] == 'includefile')  incfile = arr_pair[1];
			}

			if(trigger != 'X') {
				document.getElementById(trigger).style.display = 'block';
				document.getElementById(aktiv).style.display = 'none';
			}

			// D A T E P I C K E R
			$$('input.DatePicker').each( function(el){
				new DatePicker(el);
			});

			// L I G H T B O X
			if(show_pic_lightbox != 'Z') {
				var picpath;
				if(location.hostname == 'www.toelzer-kasladen.de') {
					picpath = 'http://www.toelzer-kasladen.de/files/fxc_veranstaltungen/img_gross/'+show_pic_lightbox;
				}
				else {
					picpath = 'http://transfernix/web_max/toelzer_kasladen/files/fxc_veranstaltungen/img_gross/'+show_pic_lightbox;
				}
				Lightbox.show(picpath, '');
			}

			if(open_shadowbox == 1) {
				//var shadowbox_url = 'timer.html';
				Shadowbox.init({
					// let's skip the automatic setup because we don't have any
					// properly configured link elements on the page
					skipSetup: true
				});

				// open a welcome message
				Shadowbox.open({
						title:      'ANMELDUNG ZU KAESE- UND WEINDEGUSTATIONEN',
						type:       'iframe',
						content:    'inc/anmelden_degustation.php',
						width:      540,
						height:     450
				});
				if($('zeige_info'))  alert('OK');
			}

			if($$('div.info_'+item_id)) {
				var el = $$('div.info_'+item_id);
			}

			if(incfile == 'perf.php') {
				$('ajaxausgabe').style.display = 'block';
				$('perf_close').addEvent('click', function() {
					$('ajaxausgabe').setStyle('display','none');
				});
			}

		}
	}).request();
}