$.fn.fixPNG = function(){
	var version = navigator.appVersion.split(";");
	var version = version[1].replace("MSIE ","");
	parseFloat(version);
    if ((version >= 5.5) && (version < 7) && (document.body.filters)){
       $(this).each(function(i){
			var isPNG = (this.src.substr(this.src.length-3,3)=='png'?true:false);
			if(isPNG){
				this.id = ((this.id) ? this.id  : "PNG_FIXED_"+i);
				var imgID = "id='" + this.id + "' ";
				var imgClass = (this.className) ? "class='" + this.className + "' " : ""
				var imgTitle = (this.title) ? 
							 "title='" + this.title  + "' " : "title='" + this.alt + "' "
				var imgStyle = "display:inline-block;" + this.style.cssText
				var strNewHTML = "<span " + imgID + imgClass + imgTitle
						  + " style=\"" + "width:" + this.width 
						  + "px; height:" + this.height 
						  + "px;" + imgStyle + ";"
						  + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
						  + "(src=\'" + this.src + "\', sizingMethod='scale');\"></span>";
				this.outerHTML = strNewHTML;
			}
	   });
    }
}