<!-- Retrouve la version de l'internet Explorer -->
var N=navigator.appName; var V=navigator.appVersion;
var version="?"; var nom=N; var os="?"; var langue="?";
if (N=="Microsoft Internet Explorer") {
	langue=navigator.systemLanguage
	version=V.substring(V.indexOf("MSIE",0)+5,V.indexOf(";",V.indexOf("MSIE",0)));
	if (V.indexOf("Win",0)>0) {
		if ( V.indexOf(";",V.indexOf("Win",0)) > 0 ) {
			os=V.substring(V.indexOf("Win",0),V.indexOf(";",V.indexOf("Win",0)));
		} else {
			os=V.substring(V.indexOf("Win",0),V.indexOf(")",V.indexOf("Win",0)));
		}
	}
	if (V.indexOf("Mac",0)>0) {
		os="Macintosh";
		version=V.substring(V.indexOf("MSIE",0)+5,V.indexOf("?",V.indexOf("MSIE",0)));
	}
}
<!-- Fin de retrouve la version de l'internet Explorer -->

<!-- Fonction permettant d'afficher un PNG sur tout type de browser...  normalement -->
function gestion_png(NameImg) {
	<!-- Si c'est Internet Explorer version 6, on affiche le PNG avec les changements--> 
	if (N=="Microsoft Internet Explorer" && (version.substring(0,1) == "6" ||  version.substring(0,3) == "5.5") && os.substring(0,3) == "Win") {
		img  =  document.images[NameImg];
		imgID    = (img.id) ? "id='" + img.id + "' " : ""; 
		imgClass= (img.className) ? "class='" + img.className + "' " : ""; 
		imgTitle= (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "; 
		imgStyle= "display:inline-block;" + img.style.cssText; 
		if (img.align == "left") { imgStyle = "float:left;"  + imgStyle; } else if (img.align == "right"){ imgStyle = "float:right;" + imgStyle; } 
		if (img.parentElement.href)   { imgStyle = "cursor:hand;" + imgStyle; } 
		strNewHTML = '<span '+imgID+imgClass+imgTitle+' style="width:'+img.width+'px; height:'+img.height+'px;'+imgStyle+';'+'filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\''+img.src+'\', sizingMethod=\'scale\');"></span>';
		img.outerHTML = strNewHTML; 
	} 
	else {
		<!-- Si c'est Internet Explorer autre version que 7 et qu'on est sur Windows ou encore -->  
		if((N=="Microsoft Internet Explorer" && version.substring(0,1) != "7" && os.substring(0,3) == "Win"))  {
			img = document.images[NameImg];
			imgSrc = img.src
			imgSrc = imgSrc.substring(0,imgSrc.lastIndexOf("."))+".gif";
			img.src = imgSrc
		}
	}
}