function search(text) {
	var found = false;
	for (i = 0; i < keywords.length; i++) {
		if (keywords[i].toUpperCase().indexOf(text.toUpperCase()) == 0) {
			text = keywords[i];
			found = true;
			break;
		}
	}
	if (found) {location = '#' + text;}
	else {alert('\"' + text + '\"' + ' not found')}
}

function searchglob(text) {
	var found = false;
	for (i = 0; i < keywords.length; i++) {
		if (keywords[i].toUpperCase().indexOf(text.toUpperCase()) == 0) {
			text = keywords[i];
			found = true;
			break;
		}
	}
	if (found) {location = text.charAt(0) + '.htm#' + text;}
	else {alert('\"' + text + '\"' + ' not found')}
}

function changefind(text) {
	var found = false;

	if (document.getElementById) // IE5+, NS6+, Mozilla/Gecko
		{ var el = document.getElementById('matchlabel'); }
	else if (document.all)	 // IE4+
		{ var el = document.all[aDiv]; }

	for (i = 0; i < keywords.length; i++) {
		if (keywords[i].toUpperCase().indexOf(text.toUpperCase()) == 0) {
			text = keywords[i];
			found = true;
			break;
		}
	}
	if (found) {el.innerHTML = text;}
	else {el.innerHTML = '\"' + text + '\"' + ' not found';}

}

