var xhr = null;  
	 
			function getXhr(){
				if(window.XMLHttpRequest) 
				   xhr = new XMLHttpRequest(); 
				else if(window.ActiveXObject){  
				   try {
			                xhr = new ActiveXObject("Msxml2.XMLHTTP");
			            } catch (e) {
			                xhr = new ActiveXObject("Microsoft.XMLHTTP");
			            }
				}
				else { 
				   alert("Votre navigateur ne supporte pas les objets XMLHTTPRequest..."); 
				   xhr = false; 
				} 
			}
			function ChangeImage(id){				
				getXhr();	
				document.getElementById('photographie').innerHTML = '<table><tr><td height="180"><img src="img/indicator.gif"></td></tr></table>';
				xhr.onreadystatechange = function(){
				
				if(xhr.readyState == 4 && xhr.status == 200){
						leselect = xhr.responseText;						
						document.getElementById('photographie').innerHTML = leselect;
					}
				}
				xhr.open("POST","include/ajax/php/AfficheImage.php",true);
				xhr.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
				xhr.send("id="+id);
			}