function PNGFix()
{
	window[ ( this._self = "PNGFixObject" ) ] = this;
};
PNGFix.prototype.init = function()
{
	clearTimeout( this._timer );
	if ( !this._execInit() )
		this._timer = setTimeout( this._self + ".init();", 40 );
};
PNGFix.prototype._execInit = function()
{
	if ( document && document.body && document.body.firstChild ) //  DOM Available
	{
		if ( document.all && typeof XMLHttpRequest == "undefined" ) //  IE < 7
		{
			var aImage = document.getElementsByTagName( "img" );
			for ( var i = 0; i < aImage.length; ++i )
				if ( aImage[ i ].src.match( /\.png/ ) )
				{
					var sPNG = aImage[ i ].src;
					aImage[ i ].style.width   = aImage[ i ].width + "px";
					aImage[ i ].style.height  = aImage[ i ].height + "px";
					aImage[ i ].src           = "/media/images/misc/clear.gif";
					aImage[ i ].style.filter  = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + sPNG + "', sizingMethod='scale')";
				}
		}
		return true;
	}
	return false;
};
( new PNGFix() ).init();

