	function showManager(x)
	{
		pos = Number(x.sub('manager-', '')) % 4;
		posImage = $(x).viewportOffset();
		switch(pos)
		{
			case 0 : $('managerinfo').setStyle({top: posImage[1]+'px', left: posImage[0] - 236+'px'}); break;
			case 1 : $('managerinfo').setStyle({top: posImage[1]+'px', left: 118 + posImage[0]+'px'}); break;
			case 2 : $('managerinfo').setStyle({top: posImage[1]+'px', left: 118 + posImage[0]+'px'}); break;
			case 3 : $('managerinfo').setStyle({top: posImage[1]+'px', left: posImage[0] - 236+'px'}); break;
		}
		hideAll();
		passiv = $(x).src;
		active = passiv.replace(/\b-soft\.jpg\b/,".jpg");
		$(x).src = active;
		mtext = getManagerText(Number(x.sub('manager-', '')));
		$('managerinfo').update(mtext); 		
		$('managerinfo').show();
	}

	function hideAll()
	{
		manager = $('managerbord').childElements();
		for (i = 1; i <= manager.size(); i++)
		{
			active = $('manager-'+i).src;
			passiv = active.replace(/\b\.jpg\b/,"-soft.jpg");
			$('manager-'+i).src = passiv;
		}
	}

	function showAll()
	{
		$('managerinfo').hide();
		manager = $('managerbord').childElements();
		for (i = 1; i <= manager.size(); i++)
		{
			passiv = $('manager-'+i).src;
			active = passiv.replace(/\b-soft\.jpg\b/,".jpg");
			$('manager-'+i).src = active;
		}
	}