<!-- Script pour l'affichage des png transparents sous cette merde de IE qui sait pas faire tout seul  -->

function IE_CorrectAlpha_PNG(){ 
for(i=0; i<document.images.length; i++){ 
img    = document.images[i]; 
imgExt  = img.src.substring(img.src.length-3, img.src.length); 
imgExt  = imgExt.toUpperCase(); 
if (imgExt == "PNG"){ 
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; 
i = i-1; 
}
}
		if ( document.all )
			{
				var images_list = document.getElementsByTagName( '*' );
				for ( var i = 0 ; i < images_list.length; i++ )
					{
						var image_name = images_list[ i ].currentStyle.backgroundImage.replace( /url[s]*()+/, '' );
						image_name     = image_name.replace( /(")+/g, '' );
						image_name     = image_name.substr( 1, image_name.length - 1 );
						image_name     = image_name.substr( 0, image_name.length - 1 );
						if ( image_name.substring( image_name.length - 3, image_name.length ) == 'png' )
							{
								images_list[ i ].runtimeStyle.backgroundImage = "url( './correct_transparent_png.gif' )";
								images_list[ i ].runtimeStyle.filter          = "progid:DXImageTransform.Microsoft.AlphaImageLoader( src='" + image_name + "', sizingMethod='scale' )";
							}
					}
			}
		
		return true;
	}

window.attachEvent("onload", IE_CorrectAlpha_PNG); 

<!-- Fin du Script pour l'affichage des png transparents  -->
