﻿function jqPngFix() {

	//ie6 png transperency fix
	if($.browser.msie != false && $.browser.version < 7) {

		$("img[src*=.png], img[src*=.PNG]").each( function () {

			var img = $(this);

			img.css({
				"width": img.width(),
				"height": img.height(),
				"filter": "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + img.attr("src") + "', sizingMethod='scale')"
			});

			img.attr("src", "/images/blank.gif");

		});

		$('#holly').css({
			"zIndex": -1
		});

		$('#container #footer').css('width', 560);
		$('p.rkh').css('right', -380);


	} else if($.browser.msie != false && $.browser.version >= 7) {

		$('#holly').css({
			"zIndex": -1
		});

		$('#container #footer').css('width', 560);

		$('p.rkh').css('right', -380);

	;}

}
$( function() {
	jqPngFix();
});