Added function hideShowByIdName to hide or diplay onjects