doranjo.langvars = {
	'list': []
	,'set': function(k,v) {
		// --- First check if the key is already in the list,
		//     because then we have to update its value
		isUpdated = false;
		for(var i=0; i<this.list.length; i++) {
			if (this.list[i].key.toLowerCase() == k.toLowerCase()) {
				this.list[i].value = v;
				isUpdated = true;
				}
			}
		if (!isUpdated) {
			// --- This is a new key
			this.list[this.list.length] = {
				'key': k
				,'value': v
				};
			}
		}
	,'get': function(k) {
		for(var i=0; i<this.list.length; i++) {
			if (this.list[i].key.toLowerCase() == k.toLowerCase()) {
				return(this.list[i].value);
				}
			}
		// --- The key has not been found, add an error to the debug message list
		doranjo.debug.add({
					'type': 'error'
					,'lib': 'langvars'
					,'func': 'get'
					,'text': 'The langvar key \'' + escape(k) + '\' has not been found'
					});
		return '';
		}
	}