	var showTimer		= 0.5;
	var hideTimer		= 2;
	var currentlyShowing = true;

	var ButtonsTimer	= '';

	function searchButton()
	{
		//this.ButtonsTimer	= window.setInterval("top.showSearch()",showTimer*1000);
		window.setTimeout("top.showSearch()",showTimer*1000);
	}

	function showSearch()
	{
		try
		{
			var ab		= document.getElementById('afisha_button').style.visibility;
			var abtext	= document.getElementById('afisha_button_text').style.visibility;

			document.getElementById('afisha_button').style.visibility		= (ab == 'visible' ? 'hidden' : 'visible');
			document.getElementById('afisha_button_text').style.visibility	= (abtext == 'visible' ? 'hidden' : 'visible');
		}
		catch(e)
		{

		}

		try
		{
			var sb		= document.getElementById('search_button').style.visibility;
			var sbtext	= document.getElementById('search_button_text').style.visibility;

			document.getElementById('search_button').style.visibility		= (sb == 'visible' ? 'hidden' : 'visible');
			document.getElementById('search_button_text').style.visibility	= (sbtext == 'visible' ? 'hidden' : 'visible');
		}
		catch(e)
		{

		}

		try
		{
			var sale		= document.getElementById('sale').style.visibility;
			document.getElementById('sale').style.visibility		= ((sale == 'visible' || sale == false) ? 'hidden' : 'visible');
		}
		catch(e)
		{
			//alert(e)
		}
		try
		{
			var top12		= document.getElementById('top12_name').style.visibility;
			document.getElementById('top12_name').style.visibility = ((top12 == 'visible' || top12 == false) ? 'hidden' : 'visible');
		}
		catch(e)
		{}


		if (currentlyShowing)
		{
			window.setTimeout("top.showSearch()",showTimer*1000);
		}
		else
		{
			window.setTimeout("top.showSearch()",hideTimer*1000);
		}


		currentlyShowing	= !currentlyShowing;
	}



