var act_o;
var comp = 0;
function show_menu (mainitem)
{
	var item = 'sm_'+mainitem;
	o = new getObj(item);
	o.style.display = 'block';
	if (act_o!=undefined && comp!=item) act_o.style.display = 'none';
	comp = item;
	act_o = o;
}

function hide_menu (mainitem, actItem)
{
	var item = 'sm_'+mainitem;
	o = new getObj(item);
	o.style.display = 'none';

	item = 'sm_'+actItem;
	p = new getObj(item);
	p.style.display = 'block';
	comp = item;
	act_o = p;
}