﻿/* ie6 png fix */
img,
.png {
	behavior:expression((function () {
		window.__isPng=window.__isPng || function (src) { return src.toLowerCase().indexOf('.png')>-1; };
		window.__fixPng=window.__fixPng || function (el) {
			var pngSource,sizingMethod;
			if (el.nodeName.toLowerCase()=="img" && window.__isPng(el.src)) {
				pngSource=el.src;
				sizingMethod="image";
				el.src="Resources/en-US/css/transparent.gif";
			} else if (window.__isPng(el.currentStyle.backgroundImage)) {
				pngSource=el.currentStyle.backgroundImage.replace('u'+'rl("','').replace('")','');
				sizingMethod=el.currentStyle.backgroundRepeat=="no-repeat" ? "crop" : "scale";
				el.runtimeStyle.backgroundImage="none";
			}
			if (pngSource) el.runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImage"+"Loader(src='"+pngSource+"', sizingMethod='"+sizingMethod+"')";
		};
		this.runtimeStyle.behavior="none";
		var that=this;
		this.attachEvent("onpropertychange",function (e) {
			if (e.propertyName=="src" || (e.propertyName.indexOf("style.")==0 && e.propertyName.indexOf("Image")>-1)) window.__fixPng(that);
		});
		window.__fixPng(this);
	}).call(this));
}
/*data:image/gif;base64,R0lGODlhCgAKAID/AMDAwAAAACH5BAEAAAAALAAAAAAKAAoAQAIIhI+py+0PYysAOw==*/
