$(document).ready(
	function(){
		if ((/MSIE ((5\.5)|6)/.test(navigator.userAgent)&&navigator.platform=="Win32")){
			p=$('img[src$=.png]');
			p.each(function(){
				if(!this.complete){
					this.onload=function(){
						d(this)
					}
				}else{
					d(this)
				}
			}
			);
			$('*').each(
				function(){
				//	c(this)
				}
			)
		}
	}
);


function a(s){
	return'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+s+'",sizingMethod="scale")'
}

function b(p){
	i=p.currentStyle['backgroundImage'].replace(/^url|[\(""\)]/g,'');
	p.style.background='';
	p.runtimeStyle.filter=a(i)
}

function d(p){
	n=document.createElement('div');
	n.style.width=p.width;
	n.style.height=p.height;
	n.className=p.className;
	n.onload=function(){};
	n.runtimeStyle.filter=a(p.src);
	$(p).after(n).remove();
}

function c(e){
	s=e.currentStyle['backgroundImage'];
	if(s!='none'&&/\.png"\)$/i.test(s)){
		b(e)
	}
	
}
