function show_options(user_entered_string){

	var xmlhttp;
	
	if(user_entered_string == 0){
		document.getElementById("text_hint").innerHTML = "";
		return;
	}
	
	if(window.XMLHttpRequest){
		xmlhttp = new XMLHttpRequest();
	}else{
		xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
	}
	
	xmlhttp.onreadystatechange = function(){
		if(xmlhttp.readyState == 4 && xmlhttp.status == 200){
			document.getElementById("text_hint").innerHTML = xmlhttp.responseText;
		}
	}

	xmlhttp.open("GET", "AJAX/search/search.php?search_query="+user_entered_string, true);
	xmlhttp.send();
}
