Autocompleter.Base.prototype.markPrevious = function() {
	if (this.index > 0)
		this.index--
	else
		this.index = this.entryCount - 1;
};

Autocompleter.Base.prototype.markNext = function() {
	if (this.index < this.entryCount - 1)
		this.index++
	else
		this.index = 0;
};
