if (document.all && /MSIE (5\.5|6)/.test(navigator.userAgent) && document.styleSheets && document.styleSheets[0] && document.styleSheets[0].addRule) {
	DD_belatedPNG.fix('img, h1, h2, h3, h4, h5, h6, ul, li, a, p, div, span, input, td, th');
}

$('<img src="assets/html/bar.png" />');
$('<img src="assets/html/tab.png" />');

$(document).ready(function() {
	var navHoverTimeout;
	var navOpen = false;

	$('#news').mouseenter(function() {
		navOpen = true;
		$('.global_share').removeClass('expanded');
		navHoverTimeout = setTimeout(function() {
			$('#news').animate(
				{ left: '0px' },
				250,
				'easeOutCirc',
				function() {
					
				});
			$('body').append('<div id="uiblock"></div>');
			if ($.browser.opera) {
				$('iframe').hide();
			}
			if ($.browser.msie && $.browser.version < 7) {
				var intContentHeight = parseInt(($('#content').height() + 35), 10);
				$('#uiblock').css({ 'height': intContentHeight });
			}
		}, 250);
	});
	$('#news').mouseleave(function() {
		$('.global_share').removeClass('expanded');
		clearTimeout(navHoverTimeout);
		if (navOpen) {
			$('#uiblock').remove();
			$(this).animate(
			{ left: '-595px' },
			250,
			'easeOutCirc',
			function() {
				if ($.browser.opera) {
					$('iframe').show();
				}
			});
			navOpen = false;
		}
	});

	$('#MenuTab a').click(function() {
		$('#uiblock').remove();
		$('#news').animate(
			{ left: '-595px' },
			250,
			'easeOutCirc',
			function() {
				
			});

		return false;
	});

	if ($.browser.msie && $.browser.version < 7) {
		var intContentHeight = parseInt(($('#content').height() + 25), 10);
		$('#newstab').css({ 'height': intContentHeight });
		$('#news').css({ 'height': intContentHeight });
	}
});