if ($.browser.msie && $.browser.version == 6)
{
	$(function() {
		$("img:not(.noPNGfix)").each(function() {
			if (/\.png$/.test(this.src)) {
				$(this).wrap("<span class='"+this.className+"' style='filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true,sizingMethod=scale,src=\""+this.src+"\");height:"+this.offsetHeight+"px;width:"+this.offsetWidth+"px;display:block;position:relative;background:url(images/blank.gif);'></span>");
				$(this).css('display','none');
			}
		});
	});
	
	window._initIE6FixedPosition = function(element)
	{
		element.style.right = '';
		element.style.bottom = '';
		$(window).scroll(function() {
			$(element).css({
				position: 'absolute',
				top		: document.documentElement.scrollTop + 'px',
				left	: document.documentElement.scrollLeft + 'px',
				width   : (document.documentElement.offsetWidth - 21) + 'px',
				height  : document.documentElement.offsetHeight + 'px'
			});
		});
	}
}
