if (window.attachEvent) { window.attachEvent("onload", fixPNGs, false); }

var supported = /MSIE (5\.5)|[6789]/.test(navigator.userAgent) && navigator.platform == "Win32";

function fixPNGs() {
	if (supported) {
		aImgs	= document.getElementsByTagName("img");
		
		for (var i=0; i<aImgs.length; i++) {
			thisImg = aImgs[i];
			if (thisImg.src.indexOf(".png") > -1) {
				thisHeight	= thisImg.height;
				thisWidth	= thisImg.width;
				
				src			= thisImg.src;
				thisImg.src = "img/1px.gif";
				thisImg.alt	= src;
				thisImg.runtimeStyle.filter		= "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" +
													src + "',sizingMethod='scale')";
				
				thisImg.runtimeStyle.width		= thisWidth + "px";
				thisImg.runtimeStyle.height		= thisHeight + "px";
			}
		}
	}
}