public Timenode getnode(int id, ArrayList<Object> list) {
		Timenode node = new Timenode();
		for (Object tmp : list) {
			node = (Timenode) tmp;
			if (node.getId() == id)
				return node;
		}
		return node;
	}