

function ShowMoreEvents(i, id, uid){
	
	
	document.getElementById( 'AjaxLoader1' ).style.display = 'block';

	
	new Ajax.Request('/fileadmin/tauchbar/kalender/mod.ajax.events.php?lim=' + i + '&id=' + id + '&uid=' + uid,
	  {
	  	method: 'get', 
		onSuccess: function(transport){		 
	  	 document.getElementById( 'output' ).innerHTML = transport.responseText;
		},
    	onFailure: function(){ alert('Something went wrong...') }
	  });


}

function CheckEventDate(Param1){
	
	new Ajax.Request('/fileadmin/tauchbar/kalender/mod.ajax.checkdate.php?par=' + Param1,
	  {
	  	method: 'get', 
		onSuccess: function(transport){
	  	 document.getElementById( 'ErrEventDate' ).innerHTML = transport.responseText;
		},
    	onFailure: function(){ alert('Something went wrong...') }
	  });

}

function ShowWallPosts(i, id, uid){
	
	new Ajax.Request('/fileadmin/tauchbar/kalender/mod.ajax.showposts.php?lim=' + i + '&id=' + id + "&uid=" + uid,
	  {
	  	method: 'get', 
		onSuccess: function(transport){		 
	  	 document.getElementById( 'WallPosts' ).innerHTML = transport.responseText;
		},
    	onFailure: function(){ alert('Something went wrong...') }
	  });
}

function ShowMoreWallPosts(i, id, uid){
	document.getElementById( 'AjaxLoader2' ).style.display = 'block';
	ShowWallPosts(i, id, uid);
}


