function fixpng(img,width,height) {
	if(!document.all) {
		return;
	}
	if (version < 5.5 || version >= 7) {
		return;
	}
	if(img && img.src && pngxp.test(img.src)) {
		var imgName = img.src;
		var imgID = (img.id) ? "id='" + img.id + "' " : "";
		var imgClass = (img.className) ? "class='" + img.className + "' " : "";
		var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' ";
		var imgStyle = "display:inline-block;" + img.style.cssText;
		if (img.align == "left") imgStyle = "float:left;" + imgStyle;
		if (img.align == "right") imgStyle = "float:right;" + imgStyle;
		if (img.parentElement.href) imgStyle = "cursor:pointer;" + imgStyle;
		var strNewHTML = "<span " + imgID + imgClass + imgTitle
			+ " style=\"" + "width:" + width + "; height:" + height + ";" + imgStyle + ";"
			+ "filter:" +AlphaPNGfix
			+ "(src='" + img.src + "',enabled='true', sizingMethod='scale');\"></span>";
		if (img.useMap) {
			strNewHTML += "<img style=\"position:relative; left:-" + width + ";"
						+ "height:" + height + ";width:" + width +"\" "
						+ "src=\"" + PIXELGIF + "\" usemap=\"" + img.useMap 
						+ "\" border=\"" + img.border + "\">";
		}
		img.outerHTML = strNewHTML;
	} 
}
