function rotYearLeft()
{
	var block = $('.newsRight .dataGod .block');
	var left = parseInt(block.css('margin-left'));
	
	var block2 = $('.newsRight .boxMonth .block');
	var left2 = parseInt(block2.css('margin-left'));
	block.animate({marginLeft: left + 80}, 500);
	block2.animate({marginLeft: left2 + 240}, 500);
	
	if (left >= -80) 
	{
		$('.newsRight .tadaL').hide();
	}
	$('.newsRight .tadaR:hidden').show();//покажем стрелку, если была спрятана
	return false;
}

function rotYearRight()
{
	var block = $('.newsRight .dataGod .block');
	var left = parseInt(block.css('margin-left'));
	
	var block2 = $('.newsRight .boxMonth .block');
	var left2 = parseInt(block2.css('margin-left'));
	
	block.animate({marginLeft: left - 80}, 500);
	block2.animate({marginLeft: left2 - 240}, 500);
	
	var len = ($('.newsRight .dataGod .block div').length - 1) * 80;
	
	if (left <= len) 
	{
		$('.newsRight .tadaR').hide();
	}
	
	$('.newsRight .tadaL:hidden').show();//покажем стрелку, если была спрятана
	return false;
}

$(function(){
	
});
