public static int addFrame(String name)
	{
		for(int i = 0; i < MAX_ELEMS; i++)
		{
			if(elements_[i] == null)
			{
				elements_[i] = new SidebarItemFrame(name);
				return i;
			}
		}
		return -1;
	}