public static Bookmark getResData(List<Bookmark> lines, int userID, int resID) {
		Bookmark returnData = null;
		for (Bookmark data : lines) {
			if (data.resID == resID) {
				returnData = data; // old
				if (userID != -1 && data.userID == userID) {
					returnData = data;
					return returnData;
				}
			}
		}
		return returnData;
	}