function hide_show(id)
{
	obj = fetch_object('obj_' + id);
	img = fetch_object('img_' + id);
	if (!obj)
	{
		if (img)
		{
			// hide the clicky image if there is one
			img.style.display = 'none';
		}
		return false;
	}

	if (obj.style.display == 'none')
	{
		obj.style.display = '';
		if (img)
		{
			img_re = new RegExp("_show$");
			img.src = img.src.replace(img_re, '');
			img_re = new RegExp("^Показать");
			img.title = img.title.replace(img_re, 'Скрыть');
			img.alt = img.title;
		}
	}
	else
	{
		obj.style.display = 'none';
		if (img)
		{
			img.src = img.src + '_show';
			img_re = new RegExp("^Скрыть");
			img.title = img.title.replace(img_re, 'Показать');
			img.alt = img.title;
		}
	}
	return false;
}