/* VERSIONING : Build 5 : Date Tue Jul 31 2007 10:05:53 GMT+0100 (GMT Daylight Time) */
// JavaScript Document

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+"')"; // apply the filter stuff that makes IE do it's magic
			is[x].src = "images/spacer.gif"; // replace the image with a clear gif so that the filter can show through
		}
	}
}