// This function will check to see if the current browser is IE and, if it is,//	replace all PNG <img> references with alpha-transparency-enabled versions//	in-place.//// Known bugs://	- Does not affect non-<img> images (e.g. backgrounds)//	- Does not respect altered positioning from borders (i.e. an <img> with a 2-pixel//		CSS border will still be positioned at the absolute top and left when changed)//	- No handling of images added after the code is runvar pngFix = function() {	if(!window.event) { return }	// if we're here, we should be in IE	var images = document.images	var img, replacement, blankImg	// now, for each image, check if it's a PNG. If so, we want to replace it	for(var i in images) {		img = images[i]				if(/.*\.png$/i.test(img.src)) {			blankImg = img.src.split(/\.nsf/, 1)[0] + ".nsf/design/blank.gif"					img.style.height = img.height			img.style.width = img.width			img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + img.src + "', sizingMethod='crop')"			img.src = blankImg		}	}}
