// correcting teasers - ie6, ie7 only
function correct_teasers()
{
	if ($.browser.msie && $.browser.version <= 7)
	{
		var w = $(".teasers").width();
		var w_math = 0;
		$(".teasers li").each(function()
			{
				w_math += $(this).width();
			}
		);
		var diff = w - w_math;
		if (diff > 0)
		{
			$(".teasers .last").css({right: -diff});
			$(".teasers .mid .blck").css({marginRight: (11 - diff)});
		}
	}
	return;
}
$(document).ready(function()
{
	$(".iepng").ifixpng();
	correct_teasers();
	$(window).bind("resize", function()
		{
			correct_teasers();
		}
	);
});
