// Add PNG fixing on IE6:
if ($.browser.msie && parseInt($.browser.version) < 7) // TODO: As of jQuery 1.3, $.browser is deprecated and will be removed. We should use some other approach, perhaps $.support.opacity (although this seems to target all IEs? (http://docs.jquery.com/Utilities/jQuery.support))
{
	// First the page once loaded:
	$(document).ready(function() {
		fix_ie6_pngs();
	});
	
	// And also each template once it has been processed and inserted into the DOM:
	$('[wtvmeta*=template]').livequery(function() {
		fix_ie6_pngs({root : (is_empty($(this).attr('id')) ? document : $(this).attr('id'))});
	});
}
