function IE_CorrectAlpha_PNG( ) {

	var msie = navigator.appVersion.indexOf("MSIE");
	var blnIE = false;

	if ((msie != -1) && (navigator.userAgent.toLowerCase().indexOf("opera") == -1))
	{
		var vers = parseFloat(navigator.appVersion.substring(msie+5, msie+8));
		if (vers < 7.0)
			blnIE = true;
	}

	if (blnIE)
	{

		//On loop dans toutes les images
		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 + "' ";
				imgName= (img.name) ? "name='" + img.name + "' " : "";
				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 + imgName + ' 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;
	
			}
		}
	}
}
