﻿if(navigator.userAgent.toLowerCase().indexOf('msie')>0){ // detect for IE (could be more specific to PC and version, but this works for the test)
	is = document.getElementsByTagName('IMG'); // get all images
	for(x=0; x<is.length; x++){ // cycle through those images
		if(is[x].src.indexOf('.png')){ // only do this to png files
			is[x].style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+is[x].src+"', sizingMethod='scale')"; // apply the filter stuff that makes IE do it's magic
			is[x].src = "/domains/regent/assets/style/spacer.gif"; // replace the image with a clear gif so that the filter can show through
		}
	}
}
