function remove_calendar(id) {
		var myAjax = new Ajax.Request("/events/loeschen/"+id, 
					{method: 'post', onComplete: function() {alert('Eintrag wurde gelöscht');$('count').innerHTML = eval($('count').innerHTML)-1;Effect.BlindUp($('id_'+id));}
					});
		return false;
	
}

function remove_gallery(id) {
		var myAjax = new Ajax.Request("/pics/loeschen/"+id, 
					{method: 'post', onComplete: function() {alert('Galerie wurde gelöscht');Effect.BlindUp($('id_'+id));}
					});
		return false;
	
}

function remove_news(id) {
		var myAjax = new Ajax.Request("/news/rpc/", 
					{method: 'post', postBody: "action=remove_news&id="+id, onComplete: function() {Effect.BlindUp($('item_'+id));}
					});
		return false;
	
}

function remove_gallery_back(id) {
		var myAjax = new Ajax.Request("/pics/loeschen/"+id, 
					{method: 'post', onComplete: function() {alert('Galerie wurde gelöscht'); history.back(); }
					});
		return false;
	
}

function add_to_news(id, param1, param2) {
		var myAjax = new Ajax.Request("/news/rpc/", 
					{method: 'post', postBody: "action=add_to_news&id="+id+"&module="+param1+"&template="+param2, onComplete: function() {alert('Zu den News hinzugefügt'); }
					});
		return false;
	
}