$(document).ready(function() {
	if (/MSIE (5\.5|6)/i.test(navigator.userAgent) && navigator.platform == "Win32") {
		$("img").live("load ready change propertychange", function() {
			var blankSrc = "/images/blank.gif";

			if (!this.filters || this.src.substr(this.src.length - blankSrc.length) == blankSrc || (this.width == 28 && this.height == 30)) return;

			if (/\.png$/i.test(this.src)) {
				var w = this.width, h = this.height;
				if (!this.realSrc) this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod='scale')";
				this.realSrc = this.src;
				this.src = blankSrc;
				this.width = w;
				this.height = h;
				with (this.filters.item("DXImageTransform.Microsoft.AlphaImageLoader")) {
					src = this.realSrc;
					enabled = true;
				}
			} else if (this.realSrc) {
				this.filters.item("DXImageTransform.Microsoft.AlphaImageLoader").enabled = false;
			}
		});
	}
});

