function control(objmenu, sTypemenu) 
{
	var menuDiv  = document.getElementById("apDiv_"+objmenu);
	var mshowDiv = document.getElementById("menu_"+objmenu);
	var ashowDIv = document.getElementById("a_"+objmenu);

	if(sTypemenu == 'show'){ 
		menuDiv.style.display = 'block';
		mshowDiv.style.backgroundColor="#efefef";
		ashowDIv.style.color="#333333";
	}
	if(sTypemenu == 'hide'){ 
		menuDiv.style.display = 'none';
		mshowDiv.style.backgroundColor="";
		ashowDIv.style.color="#ffffff";
	}
}
