var PNGFix = {
	fix: function(element) {
		var eleToFix = $(element);
		if(!eleToFix) return;
		var backgroundPNG = eleToFix.getStyle('background-image');
		var content = eleToFix.innerHTML;
		backgroundPNG = backgroundPNG.replace('url(', '');
		backgroundPNG = backgroundPNG.replace(')', '');
		
		var newBackground = new Element('div');
		var newContainer = new Element('div');
		eleToFix.innerHTML = '';
		eleToFix.insert(newBackground, {position:'top'});
		eleToFix.insert(newContainer, {position:'top'});
		Element.absolutize(newBackground);
		Element.absolutize(newContainer);
		
		newBackground.setStyle({
			top:0,
			left:0,
			width:eleToFix.getWidth(),
			height:eleToFix.getHeight(),
			background:'none',
			filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src="+backgroundPNG+", sizingMethod='scale');"
		});
		
		newContainer.setStyle({
			top:0,
			left:0,
			width:eleToFix.getWidth(),
			height:eleToFix.getHeight()					  
		});
		newContainer.update(content);
		
		eleToFix.setStyle({
			background: 'none'	
		});
	}
};