function pngfix_ie ()
{
	alert("a");
	if (window.ActiveXObject && !window.XMLHttpRequest)  // ie6 only
	{
	var img,is,imgn,i = document.images.length;
	while(i--)
   {
		  img = document.images[i];
		  imgn = img.src.toUpperCase();
		  
		  if (imgn.substring(imgn.length-3, imgn.length) == "PNG")
		  {
			 is = "display:inline-block;" + img.style.cssText;
			 if (img.align == "left") is = "float:left;" + is;
			 if (img.align == "right") is = "float:right;" + is;
			 if (img.parentElement.href) is = "cursor:hand;" + is;
			 img.outerHTML = "<span " + ((img.id) && "id='" + img.id + "' " || "") + ((img.className) && "class='" + img.className + "' " || "") + ((img.title) && "title='" + img.title + "' " || "title='" + img.alt + "' ")
			 + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + is + ";filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'" + img.src + "\', sizingMethod='scale');\"></span>";
		  }
	   }
	}
	window._onload();
}

window._onload = window.onload;
window.onload = pngfix_ie;
