
	function get_result_php(paramName, paramValue, objId, method, php) {						
			var xhr_object 	= null;	
			
			document.getElementById(objId).style.display = "block";
			
			if(window.XMLHttpRequest) { // Firefox
			   xhr_object = new XMLHttpRequest();
			} else if(window.ActiveXObject) { // Internet Explorer
			   xhr_object = new ActiveXObject("Microsoft.XMLHTTP");
			} else { // XMLHttpRequest non supporté par le navigateur
			   alert("XMLHttpRequest non supporté par ce navigateur.");
			   return;
			}
			var php = '../scripts/get_avocats.php';
	
			data = paramName + "=" + paramValue;	
			
			xhr_object.open(method, php, true);
			
			xhr_object.onreadystatechange = function() {
			   if(xhr_object.readyState == 4) {
					document.getElementById(objId).innerHTML = xhr_object.responseText;	  
			   } 
			}
			
			xhr_object.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
			xhr_object.send(data);
			return true;
	}
	
	
	
	