function info_block(){

alert("Vous avez été bloqué par l'utilisateur !");

return false;

}





//Browser Support Code

function ajaxFunction(act){

	var ajaxRequest;  // The variable that makes Ajax possible!

	

	try{

		// Opera 8.0+, Firefox, Safari

		ajaxRequest = new XMLHttpRequest();

	} catch (e){

		// Internet Explorer Browsers

		try{

			ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");

		} catch (e) {

			try{

				ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");

			} catch (e){

				// Something went wrong

				alert("Your browser broke!");

				return false;

			}

		}

	}

	

	var postBody = 'from_ajax=1&act='+act;

		new Ajax.Request('include/ajax.php', {method:'post', postBody:postBody,onLoading: showLoad, onComplete: hideLoad, onSuccess: 

			function(t){ 

			

					document.getElementById('level').innerHTML='<select></select>';

				

				document.getElementById('level').innerHTML=t.responseText;

			}

		});	  

}



//Browser Support Code

function ajaxCity(act){

	var ajaxRequest;  // The variable that makes Ajax possible!

	

	try{

		// Opera 8.0+, Firefox, Safari

		ajaxRequest = new XMLHttpRequest();

	} catch (e){

		// Internet Explorer Browsers

		try{

			ajaxRequest = new ActiveXObject("Msxml2.XMLHTTP");

		} catch (e) {

			try{

				ajaxRequest = new ActiveXObject("Microsoft.XMLHTTP");

			} catch (e){

				// Something went wrong

				alert("Your browser broke!");

				return false;

			}

		}

	}

	

	var postBody = 'from_ajax=1&city='+act;

		new Ajax.Request('include/ajax.php', {method:'post', postBody:postBody,onLoading: showLoad, onComplete: hideLoad, onSuccess: 

			function(t){ 

			

					document.getElementById('city').innerHTML='<select></select>';

				

				document.getElementById('city').innerHTML=t.responseText;

			}

		});	  

}

function showLoad(){

  var width=((document.body.offsetWidth)/2)+100;

  var height=((document.body.offsetHeight)/2)/2;

	$('loading').style.visibility='visible';

	$('loading').style.left=width;

	$('loading').style.top=height;

}



function hideLoad(){

	$('loading').style.visibility='hidden';

}

//-->

