function fixPNG(all) {
//   	$$('img[src$=png]').each(function(el){
//   		var div   = new Element('span', {
//   			'styles' : {
//   				'filter'  : "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + el.src + "', sizing='crop')",
//   				'width'   : el.offsetWidth + 'px',
//   				'height'  : el.offsetHeight + 'px',
//   				'display' : 'inline-block',
//   				'float'   : 'none'
//   			}
//   		});
//		div.id = el.id;
//		div.src = el.src;
//		div.alt = el.alt;
//		div.title = el.title;
//		if(el.parentNode != null){
//   			el.replaceWith(div);
//   		}
//	});
	if(window.ie6) {
		for (var i = document.images.length - 1, img = null; (img = document.images[i]); i--) {
			if (img.src.match(/\.png$/i) != null) {
				if (((all == 'all') || (img.name != 'nofix')) || (all == img.name)) {
					var src = img.src;
					img.style.width = (img.width == 0) ? "16px" : img.width + "px";
					img.style.height = (img.height == 0) ? "16px" : img.height + "px";
					img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='scale')"
					img.src = "img/blank.gif";
				}
			}
		}
	}
}
if(window.ie6){
	window.addEvent('domready', fixPNG);
}