	function loadContent(elementid,url,async){
		if (typeof async == "undefined") {
		    async = true;
		  }
		var ajax = new Ajax.Updater(
         elementid,        // DIV id (XXX: doesnt work?)
         url,        // URL
         {                // options
         method:'get',
         evalScripts:true,
         asynchronous:async,
         onComplete: function() {
         	new Effect.Highlight(elementid);
			$(elementid).innerHTML = req.responseText;
			}
		});
		
	}


	function blindme(element){
	  	new Effect.toggle(element,'blind',{duration:0.5});
	  	var toggleicon = $(element.id+'icon');
	  	
	  	if(toggleicon.src == '/buttons/plus.png') {
	  		toggleicon.src = '/buttons/minus.png';
	  	} else {
	  		toggleicon.src = '/buttons/plus.png';
	  	}
	  }


	function disconnect(){
	    	$('logininfo').innerHTML = "Veuillez patienter pendant la déconnection.";
	    	var ajax = new Ajax.Updater(
	        	 'logininfo',        // DIV id (XXX: doesnt work?)
	        	 '/modules/login/disconnect_user.php',        // URL
	        	 {                // options
	        	 method:'post',
	        	 asynchronous:true, 
	        	 evalScripts:true,
	         	onComplete: function() {
	         		new Effect.Highlight('logininfo');
					$('logininfo').innerHTML = req.responseText;}
					});

	    }