$(document).ready(function()
{
	$('.toggleme').toggle(0);
	$('.toggleclick').click(function() { $('.toggleme').toggle(500); });
	$('.toggleme').click(function() { $('.toggleme').toggle(500); });
	$('.toggleme').attr('title','Кликните, чтобы закрыть блок');

	$('#announce').mouseover(function()
	{
		$(this).animate({ "width": "260px", "opacity": "1" }, 300);
		$('#announce-title').hide(0);
		$('#announce-text').show(0);
	})
	$('#announce').mouseleave(function()
	{
		$(this).animate({ "width": "115px", "opacity": "0.7" }, 100);
		$('#announce-text').hide(0);
		$('#announce-title').show(0);
	})

	/*
	$('.table2').mouseover(function() { $(this).css({ "font-size" : "12px", "position": "absolute", "left": "5%", "width": "90%" }); })
	$('.table2').mouseleave(function() { $(this).css({ "font-size": "9px", "position": "static", "width": "100%" }); })
	*/
	$('.table2').click(function() { $(this).animate({ "left": "5%", "width": "90%" }, 200); $(this).css({"position": "absolute", "font-size" : "12px"}); })
	$('.table2').mouseleave(function() { $(this).animate({ "left": "0%", "width": "100%" }, 200, function(){ $(this).css({"font-size" : "9px", "position": "static"}); }); })
});

