function NavIE()
{
	if (/MSIE (\d+\.\d+);/.test(navigator.userAgent)){ //test for MSIE x.x;
		var ieversion=new Number(RegExp.$1) // capture x.x portion and store as a number
		if (ieversion>=8){
			var listPays = document.getElementById("list_pays");
			if(listPays){
				listPays.onmouseleave = function() {

					  // generate a new function
					  // (the first parameter is the argument list (here: empty),
					  // the second parameter is the code you want to execute)
					  var x = new Function ("", "changer()"); 

					  // execute the new function
					  x(); 
				   };
				}
		}
		else if (ieversion>=7){
		
			var listPays = document.getElementById("list_pays");
			if(listPays){
			listPays.onmouseleave = function() {

				  // generate a new function
				  // (the first parameter is the argument list (here: empty),
				  // the second parameter is the code you want to execute)
				  var x = new Function ("", "changer()"); 

				  // execute the new function
				  x(); 
			   };
			}
		}
		else{
			var listPays = document.getElementById("list_pays");
			if(listPays){
				listPays.onmouseleave = function() {
					// generate a new function
					// (the first parameter is the argument list (here: empty),
					// the second parameter is the code you want to execute)
					var x = new Function ("", "changer()"); 
					// execute the new function
					x(); 
			   };
			}
		
		}
	}
	else{
	var listPays = document.getElementById("list_pays");
		if(listPays){
			listPays.setAttribute("onmouseout", "changer();");
		}
	}
}
