public int search(String value) {
		if (reversed) {
			reverse();
		}
		int i = 1;
		Element tmp = firstElement;
		while (tmp != null) {
			if (tmp.getValue().toString().equals(value)) {
				return i;
			}
			tmp = tmp.getNextElement();
			i++;
		}
		return -1;
	}