function iepng(imgObj){
	if (!ismsie6x()) return;
	imgObj.onload = null;
	imgObj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ imgObj.src+ "',sizingMethod='scale')";
	imgObj.src = '/img/void.gif';
}

function iepngbg(objId,png,mthd){
	if (!ismsie6x()) return;
	if (document.getElementById(''+ objId)) {
		var obj=document.getElementById(''+ objId);
		var mthd=(mthd)?mthd:"image";
		obj.style.backgroundImage='none';
		obj.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ png+ "',sizingMethod='"+ mthd+ "')";
	}
}

function ismsie6x(){
	/* Use Object Detection to detect IE6 */
	var  m = document.uniqueID /*IE*/
		&& document.compatMode  /*>=IE6*/
		&& !window.XMLHttpRequest /*<=IE6*/
		&& document.execCommand;
	try { if (!!m) m("BackgroundImageCache", false, true); /* =IE6 */ }
	catch(ex) { };
	return !!m;
}
